09-01-2020, 05:02 PM | #1 |
Groupie
Posts: 169
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
which KOreader has chances on PB631?
Motivated by this post, I had a new go on KOreader. I tried both the "stable" version mentioned there and the most recent 2020.8.1 from https://github.com/koreader/koreader/releases.
I have to say that coming from "just" cr3, I'm impressed. For one, Koreader is the only one handling correctly mixed LTR-RTL text, which not even the stock pbreader does. However neither of the two versions I have tried holds. I've found uncountable ways for crashing the program, by turning just a few pages, by entering the settings menus, by sketching some gesture on the touchscreen (not even knowing what their effect should be - never got that far in the settings). Unless that is really a feature for reminding me that no single book deserves more than a cursive attention to a couple of its pages, and to stay away from the vane and addicting illusion of fine-tuning the configuration, has someone had better experiences than mine? Is KR demanding too much from the resources of PB631? If I log in with ssh, I for example see with top that the process Code:
{reader.lua} ./luajit ./reader.lua ETA: seen this thread, but it's old Last edited by EastEriq; 09-01-2020 at 05:18 PM. |
09-01-2020, 05:29 PM | #2 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
These changes affect all pocketbook devices and prevent some long-time wonky behaviour (like not repurposing the same instance when launched from PB library, that could explain the resources displayed on top) Sadly, there's still one issue that doesn't happen on most devices but does(did?) happens on yours: https://github.com/koreader/koreader/issues/6000 Short answer: try tomorrow nightly (or wait for the next stable). If you hit a SIGSEGV::SEGV_MAPERR error then I'm afraid you'll need to wait until somebody figures out what happens. If you don't hit that error there's a chance of everything working (mostly) fine |
|
Advert | |
|
09-01-2020, 06:07 PM | #3 |
Groupie
Posts: 169
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
I'll try.
Now that you say, I went searching for /mnt/ext1/applications/koreader/crash.log. All my last 14 logs (since I swapped to 2020.8.1) end with a {SIGSEGV::SEGV_MAPERR} |
09-02-2020, 02:09 PM | #4 |
Groupie
Posts: 169
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
Tried the current nightly, crashed it very quickly four times with plain inexpressive "Segmentation fault" in crash.log.
How can I help in troubleshooting, without getting too deep into? |
09-02-2020, 04:03 PM | #5 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
In case you still want to help you need ezdiy's tools from the thread: https://www.mobileread.com/forums/sh...d.php?t=325185 and follow the instructions given in https://github.com/koreader/koreader/issues/6000 |
|
Advert | |
|
09-02-2020, 04:41 PM | #6 | |
Zealot
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
|
Quote:
Also, does the nightly crash straight away during startup (ie bug on my end), or after doing a bit of stuff for a while (= out of memory)? As for how to debug, indeed there's useable gdb inside. ssh in, set up your environment by pasting the following: Code:
export LC_ALL="en_US.UTF-8" export KOREADER_DIR=/mnt/ext1/applications/koreader export LD_LIBRARY_PATH=${KOREADER_DIR}/libs export KO_EXIT_CODE="/tmp/.koreader.exit" export TESSDATA_PREFIX="data" export STARDICT_DATA_DIR="data/dict" cd $KOREADER_DIR Code:
$ gdb ./luajit ... (gdb) handle SIGILL pass nostop noprint (gdb) r reader.lua -d |
|
09-03-2020, 03:45 PM | #7 | |
Groupie
Posts: 169
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
Quote:
However (at least not with the nightly build, which I tried only cursively, but with 8.1), I've seen such crashes also when opening one-page .txt files, or smaller epubs, with smaller memory footprint. I'll see in the following if manage to setup debugging as both of you instructed, and provide further feedback. |
|
09-09-2020, 11:38 AM | #8 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Any news here? The PB631 is one of the best readers Pocketbook produced and I would really love to use Koreader on this device.
|
09-09-2020, 11:53 AM | #9 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
It doesn't seem an OOM error to me, but I might be wrong. In android it happened too on the past and the solution was to restrict JIT engine on most parts of the code and just allocate a "big" chunk of memory (64K) for mcode at init. NiLuJe suggested than the error on Pocketbook might be different and caused by ffi.load or relatives trying to load dependencies for inkview shared library and clashing with our own libraries. We need a gdb backtrace or a coredump. FWIW KOReader should run on a machine with 128MB of RAM for epubs without too much trouble, but the bare minimum for PDF's is 256MB. |
|
09-09-2020, 12:34 PM | #10 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Don't think it is the size of RAM, PB631 has 512MB RAM, my PB626 has only 256 MB RAM and is not experiencing those problems. I'll wait one day for EastEriq in case he has allready done the gdb backtrace, if not, I'll try my luck.
Thanks for the quick response, I really appreciate your commitment here! |
09-09-2020, 03:59 PM | #11 |
Groupie
Posts: 169
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
So far I only managed to install yesterday's build, which still just crashes. I understood (correct me if I'm wrong) that in order to provide useful information for the developers, I should generate a gdb trace from a debug version, instead of just submitting uninformative crash.logs. This means getting the build chain to work, and I haven't yet gone round to it. Will try when I have a bit of time.
|
09-09-2020, 04:24 PM | #12 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
You can build one with Code:
./kodev release --debug pocketbook Here's a debug version to avoid all that: https://www.dropbox.com/s/e30fg6f5ll...08-22.zip?dl=0. |
|
09-10-2020, 02:39 AM | #13 | |
Groupie
Posts: 169
Karma: 100516
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
Quote:
|
|
09-10-2020, 05:26 AM | #14 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
@pazos: Thanks for the debug version, that spared some time.
Did it with gdb, took some time since I'm on Windows. Crash was logged the last from line 664 (trying to open a menu in Koreader, previous page turning was working without problems). |
09-10-2020, 06:57 AM | #15 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Could you run it again until it crash and type Code:
where Code:
bt |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pocketbook Touch HD PB631 - PDF Reflow bug with fw 5.20 | BluePiaf | PocketBook | 2 | 07-18-2020 06:32 PM |
Touch HD(PB631) ePub3 series management | sirtao | PocketBook | 3 | 02-13-2019 07:57 AM |
My new PB Touch HD 2 ( PB631 ) | Noto | PocketBook Developer's Corner | 7 | 10-19-2018 03:17 PM |
Themes for Touch HD2 (PB631)? | x01 | PocketBook | 1 | 08-14-2018 11:59 AM |
PRS-600 So what are the chances... | 44Dave | Sony Reader | 4 | 05-24-2010 04:58 AM |