GNOME Bugzilla – Bug 738846
Crashed while opening PDF document
Last modified: 2016-03-03 19:39:21 UTC
Created attachment 288887 [details] evince gdb backtrace I open the PDF it displays correctly the 3-4 first pages then crash. You don't even have to scroll to make it crash, just wait for it. I trust the document is correct: it's from my university professor. I run under ArchLinux, with the default evince (3.14.1-1) package, and I get the gdb backtrace with the following options for configure: --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib/evince \ --disable-static --enable-nautilus \ --enable-pdf --enable-tiff \ --enable-djvu --enable-dvi \ --enable-t1lib --enable-comics \ --disable-scrollkeeper --disable-schemas-compile \ --enable-introspection --enable-debug \ CFLAGS="-g -O" CXXFLAGS="-g" You can find the PDF there: https://drive.google.com/file/d/0Bzn74X0uGlc4MzltWUpzeFh5MUE/view?usp=sharing Regards, Thibault
$ gdb evince GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from evince...done. (gdb) r Starting program: /usr/bin/evince Got object file from memory but can't read symbols: File truncated. warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffec12e700 (LWP 16509)] [New Thread 0x7fffeb92d700 (LWP 16510)] [New Thread 0x7fffeb12c700 (LWP 16511)] [New Thread 0x7fffea63d700 (LWP 16512)] [New Thread 0x7fffe9dbc700 (LWP 16513)] [New Thread 0x7fffe8ac6700 (LWP 16514)] [New Thread 0x7fffd3fff700 (LWP 16515)] [New Thread 0x7fffd37fe700 (LWP 16516)] [New Thread 0x7fffd2ffd700 (LWP 16517)] [New Thread 0x7fffd27fc700 (LWP 16518)] [New Thread 0x7fffd1ffb700 (LWP 16519)] [New Thread 0x7fffd17fa700 (LWP 16520)] [New Thread 0x7fffd0ff9700 (LWP 16521)] [New Thread 0x7fffb7fff700 (LWP 16522)] (evince:16505): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version. [Thread 0x7fffd3fff700 (LWP 16515) exited] [Thread 0x7fffeb92d700 (LWP 16510) exited] [Thread 0x7fffe9dbc700 (LWP 16513) exited] [Thread 0x7fffd1ffb700 (LWP 16519) exited] [Thread 0x7fffd17fa700 (LWP 16520) exited] [Thread 0x7fffd27fc700 (LWP 16518) exited] [Thread 0x7fffd37fe700 (LWP 16516) exited] [Thread 0x7fffd0ff9700 (LWP 16521) exited] [Thread 0x7fffd2ffd700 (LWP 16517) exited] [New Thread 0x7fffd2ffd700 (LWP 16526)] [New Thread 0x7fffd0ff9700 (LWP 16527)] [New Thread 0x7fffd37fe700 (LWP 16528)] Program received signal SIGSEGV, Segmentation fault.
+ Trace 234239
Thread 140736280393472 (LWP 16522)
I have the same issue, even with different PDF files. Also using evince 3.14.1-1 on Arch.
*** Bug 739103 has been marked as a duplicate of this bug. ***
This is another PDF that produces the same backtrace with Evince 3.14.1-2 on Arch (copied from duplicate Bug 739103): http://cp.literature.agilent.com/litweb/pdf/34401-90004.pdf The segfault occurs on page 21.
This crash seems to be either a cairo bug or a poppler bug. Please file the bug in the corresponding bugzilla (bugs.freedesktop.org) Germán did you test with poppler-glib-demo?
José, I cannot reproduce it. Otherwise I would have chimed in with that. I think this bug is narrowed to Arch Linux users. Arch Linux folks: can you reproduce the bug if you try with pdftocairo?
I would try something like (taking as example the document in #c4 : $ pdftocairo -png <problematic-file> You can narrow the pages using the options -f and -l (first/initial page, and last page).
Created attachment 289555 [details] pdftocairo gdb backtrace Hi, Good news: both of the pdf don't crash evince anymore! It is worth noting that a new build of evince is available: 3.14.1-2. Although I doubt this modification did the tric: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/evince&id=fea980ecf689e4a182e56c92b1da5b49d1e03022 (Less) good news: both pdf crash pdftocairo. The pdf from the #c4 seems to crash on page 11, whereas my pdf crash on page 52. The backtrace is similar in both cases, see "pdftocairo gdb backtrace" attachment.
Please file a new bug in bugs.freedesktop.org on poppler product. If it's a cairo problem, it can be reassigned. Also add to the bug information on poppler version and cairo version.
*** Bug 739315 has been marked as a duplicate of this bug. ***
It turns out the problem came from cairo and was fixed upstream. The Archlinux maintainer of the cairo package included the upstream patch and now everything works well. For curious: bug report on poppler: https://bugs.freedesktop.org/show_bug.cgi?id=85151 patch on cairo: http://cgit.freedesktop.org/cairo/commit/?id=2de69581c28bf115852037ca41eba13cb7335976
Thank you. I confirm that the bug has magically disappeared from my system after the latest update.
*** Bug 763053 has been marked as a duplicate of this bug. ***