GNOME Bugzilla – Bug 701040
evince-3.8.2 crashes with a segmentation fault, while playing with a zoom of a pdf document
Last modified: 2013-06-08 05:44:02 UTC
steps to reproduce: 1. open a pdf document 2. set zoom on 125% 3. set zoom on 150% 4. set zoom on 125% and observe a segmentation fault: $ evince (evince:16574): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:16574): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:16574): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (evince:16574): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:16574): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed Segmentation fault
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Created attachment 245346 [details] backtrace
Reading symbols from /usr/bin/evince...Reading symbols from /usr/lib64/debug/usr/bin/evince.debug...done. done. (gdb) run Starting program: /usr/bin/evince 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 "/lib64/libthread_db.so.1". [New Thread 0x7fffebe68700 (LWP 32704)] [New Thread 0x7fffea3c7700 (LWP 32705)] [New Thread 0x7fffe8f91700 (LWP 32706)] [New Thread 0x7fffe133b700 (LWP 32707)] [Thread 0x7fffe133b700 (LWP 32707) exited] set logging file backtrace.log [Thread 0x7fffea3c7700 (LWP 32705) exited] set logging on [New Thread 0x7fffea3c7700 (LWP 32711)] [New Thread 0x7fffe133b700 (LWP 32712)] (evince:32700): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:32700): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:32700): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (evince:32700): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:32700): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5befb7e in g_list_copy_deep () from /usr/lib64/libglib-2.0.so.0 (gdb) set logging file backtrace.log (gdb) set logging on Copying output to backtrace.log. (gdb) thread apply all bt
+ Trace 231988
Thread 1 (Thread 0x7ffff7fa9900 (LWP 32700))
Done logging to backtrace.log. (gdb) quit
This might be a problem with a specific PDF. Can you reproduce it with any PDF? If not, may you attach the one that causes the problem?
here is a more detailed one: $ gdb evince GNU gdb (Gentoo 7.5.1 p2) 7.5.1 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 "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/evince...Reading symbols from /usr/lib64/debug/usr/bin/evince.debug...done. done. (gdb) run Starting program: /usr/bin/evince 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 "/lib64/libthread_db.so.1". [New Thread 0x7fffebe70700 (LWP 1601)] [New Thread 0x7fffea3cf700 (LWP 1602)] [New Thread 0x7fffe8f99700 (LWP 1603)] [New Thread 0x7fffe133b700 (LWP 1604)] [Thread 0x7fffea3cf700 (LWP 1602) exited] [New Thread 0x7fffea3cf700 (LWP 1620)] (evince:1597): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:1597): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed Program received signal SIGSEGV, Segmentation fault. g_list_find_custom (list=0xe2216acd, data=data@entry=0x7fffc8004af0, func=func@entry=0x423ee0 <compare_link>) at glist.c:787 787 glist.c: No such file or directory. (gdb) thread apply all bt
+ Trace 231989
Thread 1 (Thread 0x7ffff7fa9900 (LWP 1597))
sadly, I does not happen with every pdf file, with some I can not share in public almost immediately and with some, it does not happen at all, so it will not be easy to track down, right? and from the last trace, it does not seem to be a bug in libpoppler right?
*** This bug has been marked as a duplicate of bug 697397 ***
what makes you think by the way that this bug report could be duplicate?
(In reply to comment #8) > what makes you think by the way that this bug report could be duplicate? They share the same stacktrace for the latest functions called.