Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2020, 05:37 PM   #226
dekani
Member
dekani began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2020
Location: France
Device: Tea Inkpad 3
I have now a full strace log file if it can be useful (strace -o log.txt -f koreader.app), its size is ~40kb in gz format. (I have tried to analyze it but it contains too much information..)

Can I send it in a private message? (especially if this file contains personal/sensitive information about my device)
dekani is offline   Reply With Quote
Old 02-12-2020, 06:01 PM   #227
dekani
Member
dekani began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2020
Location: France
Device: Tea Inkpad 3
If I launch your strace command in koreader applications folder:
strace -fitv -e trace=file ./reader.lua .

KOReader is sucessfully launched (file browser is displayed) and if I select an epub file an error message is displayed : 'no render engine is available or file is invalid'
dekani is offline   Reply With Quote
Advert
Old 02-12-2020, 06:48 PM   #228
dekani
Member
dekani began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2020
Location: France
Device: Tea Inkpad 3
I don't know if it can help, but here is the segfault from first strace log file:
Code:
1607  open("common/ssl/core.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("rocks/share/lua/5.1/ssl/core.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("frontend/ssl/core.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("./ssl/core.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("/usr/local/share/luajit-2.1.0-beta3/ssl/core.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("/usr/local/share/lua/5.1/ssl/core.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("/usr/local/share/lua/5.1/ssl/core/init.lua", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("common/ssl/core.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("common/ssl/core.dll", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("/usr/lib/lua/ssl/core.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("rocks/lib/lua/5.1/ssl/core.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("./ssl/core.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("/usr/local/lib/lua/5.1/ssl/core.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  open("/usr/local/lib/lua/5.1/loadall.so", O_RDONLY|O_LARGEFILE <unfinished ...>
...
1607  open("/usr/local/ssl/openssl.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
1607  futex(0xa63e8644, FUTEX_WAKE_PRIVATE, 2147483647) = 0
1607  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
1607  statfs("/dev/shm", {f_type=0x1021994, f_bsize=4096, f_blocks=127514, f_bfree=127512, f_bavail=127510, f_files=0, f_ffree=4096, f_fsid={0, 0}, f_namelen=0, f_frsize=0}) = 0
1607  futex(0xa6b6c1ac, FUTEX_WAKE_PRIVATE, 2147483647) = 0
1607  gettimeofday({1581546021, 283282}, NULL) = 0
1607  lstat64("/dev/shm/sem.0VRo9s", 0xaeb30fb8) = -1 ENOENT (No such file or directory)
1607  open("/dev/shm/sem.0VRo9s", O_RDWR|O_CREAT|O_EXCL, 017777777757) = 8
1607  write(8, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
1607  mmap2(NULL, 16, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0) = 0xa6f8c000
1607  link("/dev/shm/sem.0VRo9s", "/dev/shm/sem.LAUS_1607_Crash") = 0
1607  fstat64(8, {st_mode=S_IFREG|S_ISVTX|0757, st_size=16, ...}) = 0
1607  unlink("/dev/shm/sem.0VRo9s")     = 0
1607  close(8)                          = 0
1607  munmap(0xa6f8c000, 16)            = 0
1607  unlink("/dev/shm/sem.LAUS_1607_Crash") = 0
1607  write(1, "Process has been terminated by s"..., 61) = 61
1607  rt_sigreturn(0x3d)                = 0
1607  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
1608  +++ killed by SIGSEGV +++
1611  +++ killed by SIGSEGV +++
1601  <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 1607
1601  --- SIGCHLD (Child exited) @ 0 (0) ---
1601  write(2, "Segmentation fault\n", 19) = 19
dekani is offline   Reply With Quote
Old 02-13-2020, 12:39 AM   #229
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,982
Karma: 17701002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Yep, if you can upload it somewhere, I'd be happy to take a look at the full log (we unfortunately can't attach files to PMs :/).

You could also attach it to a new issue on GitHub, that'd work, too .

----

The fact that it doesn't crash when tracing is, err, weird and/or interesting .

I'm not familiar with how stuff is setup on PB, but does the same thing happen when running it manually *without* strace? (i.e., ./reader.lua .).
NiLuJe is offline   Reply With Quote
Old 02-13-2020, 01:21 AM   #230
dekani
Member
dekani began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2020
Location: France
Device: Tea Inkpad 3
Yes, it works but only because sub dependencies/libraries aren't loaded. (I haven't see it in strace content and it explains error message)
If I add koreader libs subfolder (and only this one, export LD_LIBRARY_PATH=/mnt/ext1/applications/koreader/libs/) before calling ./reader.lua, same segfault occurs.
I will create a GitHub ticket and add log file.
dekani is offline   Reply With Quote
Advert
Old 02-13-2020, 11:29 AM   #231
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,982
Karma: 17701002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
Yep, makes sense. I was under the mistaken impression that we'd stopped doing that (tweaking LD_LIBRARY_PATH) since the move to sane-ish rpaths all around, but, nope .
NiLuJe is offline   Reply With Quote
Old 02-18-2020, 09:37 AM   #232
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 522
Karma: 1907441
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 4
I've just installed the latest nightly v2020.02-11-g5724884_2020-02-18 on both my Touch HD 3 and my InkPad 3 and it seems to be working fine.
LucyOne is offline   Reply With Quote
Old 02-18-2020, 11:19 AM   #233
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 391
Karma: 422487
Join Date: Apr 2014
Device: BQ Cervantes 4
Yeah. A big thank you to @dekani for the bug report and continuous feedback. And of course to @NiLuJe for his awesome job, including a new - modern - toolchain for PB users instead of the old obrey one.

The bug, described in https://github.com/koreader/koreader/issues/5861, is still affecting 2020.02 release but new nightlies work as intended.
pazos is offline   Reply With Quote
Reply

Tags
calibre, epub, koreader, pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1140 03-22-2020 01:11 AM
CBZ plugin interaction with FB2/DjVu plugins - First try at pinpointing MrWarper iRex 2 12-11-2011 05:46 AM
Raccoon Reader - reads ePub, fb2, fb2.zip, txt on WP7 for free Andrei_Shvydryk Reading and Management 0 10-31-2011 03:17 PM
v3 vs. v3+ as a pdf/DjVu reader hedonism_bot HanLin eBook 7 11-02-2010 08:16 PM
New PDF to LRF Tool (for DJVU and CBZ files too) RWood Sony Reader 0 08-29-2007 02:13 PM


All times are GMT -4. The time now is 05:05 PM.


MobileRead.com is a privately owned, operated and funded community.