Summary: | Okular crashes on corrupted pdf | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Francesco Presel <f.presel> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | aacid |
Priority: | NOR | Keywords: | drkonqi |
Version: | 0.16.5 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Example of corrupted file |
Description
Francesco Presel
2013-08-19 13:42:37 UTC
Attach the file Created attachment 81787 [details]
Example of corrupted file
As I said, this file is actually completely empty; it is not a pdf at all (a part from the extension).
You can create such a file from terminal by using
dd if=/dev/zero of=zero.pdf bs=[size of file to create (any)] count=1
Works fine here (i.e. i get a can't open file dialog), and your backtrace seems to imply it's crashing somewhere else totally unrelated, does it crash for you every time you open this file? Can you open any other pdf file? It does open valid pdf files correctly. I've discovered that it also crashes if I launch okular without any file as argument, like if I launch it with an invalid file. If I open a valid file and then, from the File menu, I "open" an invalid file, I first get the expected "can't open file" message, and then a crash. In case it's unrelated, whom should I file this against? hmmm, so just opening okular without any file gets you a crash? That's really weird. Is the backtrace of the crash the same as the one you attached in the report? Also can you run "valgrind okular" and attach its output? Francesco, if you can provide the information requested in comment #5, please add it. (In reply to comment #6) > Francesco, if you can provide the information requested in comment #5, > please add it. I'm sorry, I won't have access to that computer for a few more days I'm not able to reproduce this crash any more. Perhaps some update has solved the problem. All my test-cases (okular without document, invalid document) now work as expected Thanks for your assistance. Thanks for the update. If you see this bug again, please reopen or add a comment. |