GNOME Bugzilla – Bug 697471
Evince crashes when opening US Census map, cairo_set_dash()
Last modified: 2016-03-21 17:39:33 UTC
Originally reported here (w/ auto stacktrace/coredump): https://bugs.launchpad.net/ubuntu-gnome/+bug/1165290 Causes crash opening PDF with Evince from git, with Ubuntu 12.04's Evince, and Evince 3.7. PDF is available here: http://www2.census.gov/geo/maps/blk2000/st34_NewJersey/CountySubdivision/3476220_Voorhees/CBS3476220_002.pdf
"ThreadStacktrace.txt" does not have any debug symbols. Please attach a stacktrace here with debug symbols. https://live.gnome.org/GettingTraces
Created attachment 240903 [details] stacktrace Sorry, about that. Attached stacktrace.
bryan@bryan-desktop:~/git$ gdb /usr/bin/evince GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 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 "i686-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/evince...Reading symbols from /usr/lib/debug/usr/bin/evince...done. done. (gdb) run Starting program: /usr/bin/evince [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [New Thread 0xb4c61b40 (LWP 31480)] [New Thread 0xb42ffb40 (LWP 31481)] [New Thread 0xb37f0b40 (LWP 31482)] [New Thread 0xadec3b40 (LWP 31484)] [New Thread 0xad6c2b40 (LWP 31485)] [New Thread 0xacaffb40 (LWP 31486)] [New Thread 0xac2feb40 (LWP 31487)] [New Thread 0xabafdb40 (LWP 31488)] [New Thread 0xab2fcb40 (LWP 31489)] [Thread 0xab2fcb40 (LWP 31489) exited] [Thread 0xb37f0b40 (LWP 31482) exited] [Thread 0xadec3b40 (LWP 31484) exited] [Thread 0xacaffb40 (LWP 31486) exited] [Thread 0xac2feb40 (LWP 31487) exited] [New Thread 0xac2feb40 (LWP 31493)] [New Thread 0xacaffb40 (LWP 31494)] [Thread 0xabafdb40 (LWP 31488) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xac2feb40 (LWP 31493)] _cairo_gstate_set_dash (gstate=0xaa963e38, dash=0x0, num_dashes=8, offset=-1.116309331254949e-103) at /build/buildd/cairo-1.12.14/src/cairo-gstate.c:542 542 /build/buildd/cairo-1.12.14/src/cairo-gstate.c: No such file or directory. (gdb) thread apply all bt
+ Trace 231749
Thread 11 (Thread 0xac2feb40 (LWP 31493))
The trace says that popppler is calling cairo_set_dash with a null pointer array of length 8, that is clearly wrong... So this is a bug in poppler. Could you please forward the bug to poppler's bugzilla? http://bugs.freedesktop.org Thanks for reporting.
I think I have found the poppler bug at: https://bugs.freedesktop.org/show_bug.cgi?id=62905
*** Bug 761380 has been marked as a duplicate of this bug. ***
*** Bug 761643 has been marked as a duplicate of this bug. ***
Still not working March 2016, using Ubuntu LTS 15.04 Can't open US Census maps in evince (https://bugzilla.gnome.org/show_bug.cgi?id=697471) Poppler looks like they may have a patch ready for their next release, but I'm Looking for suggestions for an immediate work-around, can't wait years for this to get into Debian/Ubuntu stable.
(In reply to Lance Haverkamp from comment #8) > Still not working March 2016, using Ubuntu LTS 15.04 Can't open US Census > maps in evince (https://bugzilla.gnome.org/show_bug.cgi?id=697471) > > Poppler looks like they may have a patch ready for their next release, but > I'm Looking for suggestions for an immediate work-around, can't wait years > for this to get into Debian/Ubuntu stable. You build and run evince/poppler in your home directory. And you can apply that patch locally. However, bugzilla is not the appropriate channel to guide you if need help for that. I run Evince and poppler from master by default, regardless I have then installed on my system from packages.