Bug 408000

Summary: okular crashes when opening a large epub file
Product: [Applications] okular Reporter: LiTuX <LiTuX>
Component: EPub backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aacid
Priority: NOR    
Version: 1.7.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Output of okular when opening KritaManual.epub
Okular window with Krita manual

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 ***