LibreraReader icon indicating copy to clipboard operation
LibreraReader copied to clipboard

Crash when opening epub file

Open nyanpasu64 opened this issue 6 years ago • 5 comments

When I open an epub file, I get a segfault in mupdf (which shouldn't even be loaded for epub files).

Instructions:

  • Download http://epubtest.org/books/Fundamental-Accessibility-Tests-Basic-Functionality-v1.0.0.epub
  • Open in Librera.

Result:

  • After I pick a pagination mode, Librera displays Page 1 instead of document contents, then crashes.

Logcat shows that the segfault is in mupdf, which shouldn't even be loaded for epub files? logcat.txt

Librera Pro 8.2.29-fdroid, Android 8.1.0, Moto G5 plus.

nyanpasu64 avatar Feb 26 '20 00:02 nyanpasu64

For the last couple of releases I've been getting immediate crashes when I ry to open any epub doc in scroll mode. Paged mode works fine. Also crashes when changing already openned epub to scroll mode. Is this related or does it ned its own ticket?

mutaunt avatar Mar 01 '20 19:03 mutaunt

Something similar happens to me, I use scroll mode with custom font size and with epub:

Librera PRO 8.2.43 Fdroid: Works but then crashes past some point in the file, then crashes instantly why I reopen it. Librera PRO 8.2.29 Fdroid: Crashes instantly while opening an epub (no verified if is actually the same as 8.2.43) Librera PRO 8.2.11 Fdroid: It works OK

GDXN avatar Mar 02 '20 20:03 GDXN

I have added some fixed in beta.librera.mobi could you please verify

foobnix avatar Mar 05 '20 12:03 foobnix

Using Librera Betar-8.3.6-arm.apk with no issues openning scroll or page mode, or toggling between modes. Only the normal not fast enough / jittery scrolling moans :-)

mutaunt avatar Mar 08 '20 06:03 mutaunt

I've just tried 8.3.112 (beta-111) on my favourite book. Librera did not crash but show nothing at all. Please test on this file The_7_Habits_of_Highly_Effectiv(z-lib.org).epub.zip

eugene-bright avatar Jun 06 '21 09:06 eugene-bright