| Summary: | Okular crashes while opening some PDF files | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Michal Šmahel <ceskyDJ> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | aacid, nate, yurchor |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 20.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
attachment-21904-0.html
vypis_102748423_2250_2021-02-01_2021-02-28.pdf |
||
|
Description
Michal Šmahel
2021-03-03 12:30:10 UTC
Does it happen for every file? If not, does it happen for other poppler-based PDF viewers (Evince, qpdfview)? Can you share the file that crashes Okular for testing? Thanks in advance for your answers. Created attachment 136370 [details] attachment-21904-0.html Hello, Does it happen for every file?No, only for a few files. Most files are open correctly. If not, does it happen for other poppler-based PDF viewers (Evince, qpdfview)?The last file that caused the reported crash has a problem only in Okular. I tried opening it in Google Chrome and it was successful. Can you share the file that crashes Okular for testing?Unfortunatelly I can't. It was document with some bank information. Thanks for reading my response. Have a nice day. Greetings, Michal ŠMAHEL --------------------------------- E-mail: ceskyDJ@seznam.cz (mailto:ceskyDJ@seznam.cz) March 3, 2021 1:35 PM, "Yuri Chornoivan" <bugzilla_noreply@kde.org (mailto:bugzilla_noreply@kde.org)> wrote: https://bugs.kde.org/show_bug.cgi?id=433909 (https://bugs.kde.org/show_bug.cgi?id=433909) Yuri Chornoivan <yurchor@ukr.net (mailto:yurchor@ukr.net)> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WAITINGFORINFO CC| |yurchor@ukr.net (mailto:%7Cyurchor@ukr.net) Status|REPORTED |NEEDSINFO --- Comment #1 from Yuri Chornoivan <yurchor@ukr.net (mailto:yurchor@ukr.net)> --- Does it happen for every file? If not, does it happen for other poppler-based PDF viewers (Evince, qpdfview)? Can you share the file that crashes Okular for testing? Thanks in advance for your answers. -- You are receiving this mail because: You reported the bug. Change the status. Change the status. Without a file to test on, this is basically unfixable, the reason of the crash is clear by looking at the crash information, but what is not clear is what we should do, if it's the document that is malformed or we're misunderstanding something in the signature handling, so really we need a file that reproduces this crash to be able to understand what is wrong and fix it properly. Do you have another test file which does not contain private information? Or perhaps Okular developers can provide a secure way (e.g. email with PGP encryption, Keybase...) for bug reporter to submit the file privately? Hello, I only have a problem with sharing it to wide public (on forum). If there is some option to send the file directly to developers, I'll send it. Something like this happened some time ago but I haven't the problematic file from that time. Only file I actually have is the last private one. Thanks for reading a possible reply. Have a nice day. Greetings, Michal ŠMAHEL --------------------------------- E-mail: ceskyDJ@seznam.cz You can send it to me at aacid@kde.org but understand that given the fact that the file is not public it may be harder to convince other people a change i propose to the code is the correct fix. Created attachment 136497 [details] vypis_102748423_2250_2021-02-01_2021-02-28.pdf Hi, I have a good message for you! I found document from bank, which doesn't contain too much information and can be published to the forum. It's account statement for my secondary bank account which is just for occasional transactions. It cause the same issue and it is from the same author (my bank) like the first problematic document. I hope it'll help you. If you need more assistance, just contact me, please. Greetings, Michal ŠMAHEL --------------------------------- E-mail: ceskyDJ@seznam.cz I'll try to make it work, but the PDF file is badly formed, it says <</Type /Annot /SubType /Widget When it should say <</Type /Annot /Subtype /Widget yes casing is important. I'll think whether to special case this and try it twice or what It's not an Okular bug but a poppler bug (well it's actually a bug of the file being malformed, but poppler should not crash on malformed files) Will be fixed in next poppler release https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/825 Hello, thanks for your help and your time spent by solving this issue. Have a nice day. Greetings, Michal ŠMAHEL --------------------------------- E-mail: ceskyDJ@seznam.cz Telefon: +420 774 912 670 |