GNOME Bugzilla – Bug 715048
Segfault when evince creates the thumbnail of PDF (only when thumbnail pane is visible)
Last modified: 2015-10-16 16:18:21 UTC
Created attachment 261280 [details] The PDF file managing to get the crash done. Out of a 30 page PDF document provided to me that reliably crashed evince, I managed to strip it down to one single page, with the same result (easier test) The segfault happens when evince loads the file and prepares the thumbnail to be shown; the crash does not happen if the sidebar is disabled (no thumbnails shown); then the page renders perfect on the screen. Environment: * Evince 3.10.2 * Poppler 0.24.3 * Cairo 1.12.16
Addon: also just verified with Evince 3.10.3 => equal
And a stack trace looks like: (gdb) bt
+ Trace 232820
Thanks for the report and the narrowed test case. I can also get the same stacktrace with Evince/Poppler/Cairo master. I can't reproduce it with poppler-glib-cairo (likely for the lack of thumbnail view), so I keeping this bug here at this moment. It seems there is some garbage in the text (encoding issue or something), not sure whether it is related with the bug, though.
Got a similar stack trace with <http://spacecowboys.fr/elysium/files/Rules_Elysium_US.pdf>. Only crashes when the side pane with thumbnails is active. Probably crashes when trying to render the thumbnail for page 2. Tested with evince 3.10.3 and libcairo2 1.13.0. Also confirmed with evince 3.14.1. Backtrace:
+ Trace 234569
Thaknks, now I can reproduce it with master. Indeed, it is only reproducible with the thumbnails pane opened. However, Evince can render every page if the pane is closed.
Steps to reproduce it: 1. Open the document. 2. Press F9 to show the sidebar 3. It renders the thumbnail for the first page, then it crashes. Here a traceback that includes poppler-glib and evince:
+ Trace 234571
*** Bug 746074 has been marked as a duplicate of this bug. ***
*** Bug 725984 has been marked as a duplicate of this bug. ***
*** Bug 721756 has been marked as a duplicate of this bug. ***
*** Bug 737836 has been marked as a duplicate of this bug. ***
*** Bug 745302 has been marked as a duplicate of this bug. ***
This seems an issue in Cairo, which was fixed. https://bugs.freedesktop.org/show_bug.cgi?id=74779