Summary: | Okular crashes when I try to open a specific epub file | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Patrick Silva <bugseforuns> |
Component: | EPub backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, kde, kdebugs, LiTuX, shlomochoina |
Priority: | NOR | ||
Version: | 1.7.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/okular/9f98c010691ed73d11c83a1694823aba60b12e32 | Version Fixed In: | |
Attachments: | epub file that makes okular to crash |
Description
Patrick Silva
2019-04-21 17:51:51 UTC
Can we have the file? Created attachment 119547 [details]
epub file that makes okular to crash
yep For future people investigating, there's something weird going on in the if(dom.setContent(htmlContent)) { branch of Epub::Converter::convert if you comment that whole branch out it works out fine :/ It's crashing for me too since the latest TW upgrade Operating System: openSUSE Tumbleweed 20190426 KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.3 Kernel Version: 5.0.9-1-default OS Type: 64-bit Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor Memory: 31,4 GiB What's interesting is that the files in question used to just throw an error before, now they cause Okular to crash (still valid epubs of course). *** Bug 407836 has been marked as a duplicate of this bug. *** Git commit 9f98c010691ed73d11c83a1694823aba60b12e32 by Albert Astals Cid, on behalf of Stefan Brüns. Committed on 22/05/2019 at 22:24. Pushed by aacid into branch 'Applications/19.04'. [EPubGenerator] Avoid crashes due to bogus wrapping of content in table Summary: QTextDocument chokes badly when a some documents are wrapped inside a table, returning e.g. a pagecount of -41292 afterwards. On the downside, this removes any padding from the page. On the upside, it removes any padding from the page. Related: bug 407140, bug 406116 Reviewers: #okular Subscribers: okular-devel Tags: #okular Differential Revision: https://phabricator.kde.org/D20949 M +1 -7 generators/epub/converter.cpp https://commits.kde.org/okular/9f98c010691ed73d11c83a1694823aba60b12e32 *** Bug 407961 has been marked as a duplicate of this bug. *** *** Bug 408000 has been marked as a duplicate of this bug. *** |