Bug 408000 - okular crashes when opening a large epub file
Summary: okular crashes when opening a large epub file
Status: RESOLVED DUPLICATE of bug 406738
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 1.7.1
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-27 15:27 UTC by LiTuX
Modified: 2019-05-27 22:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Output of okular when opening KritaManual.epub (292.37 KB, text/x-log)
2019-05-27 15:27 UTC, LiTuX
Details
Okular window with Krita manual (157.93 KB, image/png)
2019-05-27 15:42 UTC, Yuri Chornoivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LiTuX 2019-05-27 15:27:35 UTC
Created attachment 120344 [details]
Output of okular when opening KritaManual.epub

SUMMARY
I've noticed that there are several similar bugs. I can confirm that some of them have been fixed and some are not. Now I've download a large epub file (about 74M, the krita manual), and okular always crash when I try to open it.

STEPS TO REPRODUCE
1. wget https://docs.krita.org/en/epub/KritaManual.epub
2. okular KritaManual.epub

OBSERVED RESULT
libepub (II): opening 'KritaManual.epub'
...
Error: no block found for  "file_formats/file_exr.xhtml"
Error: no block found for  "colors/linear_and_gamma.xhtml"
Error: no block found for  "blending_modes/mix.xhtml#bm-erase"
Error: no block found for  "projection/axonometric.xhtml"
libepub (II): 	../_images/Krita_2_9_brushengine_colorrate_04.png - No such file
libepub (II): 	../_images/Krita_2_9_brushengine_colorrate_04.png - No such file
libepub (II): 	../_images/Krita_2_9_brushengine_colorrate_04.png - No such file
libepub (II): 	../_images/Krita_2_9_brushengine_colorrate_04.png - No such file

[1]    2534 segmentation fault (core dumped)  okular KritaManual.epub > okular-kritamanual.log 2>&1

See attachment for detailed output of okular

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro Linux, kernel 4.19.45-1-MANJARO
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
On my computer, the attached epub file in bug #406738 also crashed okuar.
Comment 1 Yuri Chornoivan 2019-05-27 15:42:15 UTC
Created attachment 120345 [details]
Okular window with Krita manual

Works fine in Okular 1.6.2, libepub 0.2.3.
Comment 2 Albert Astals Cid 2019-05-27 22:13:42 UTC

*** This bug has been marked as a duplicate of bug 406738 ***