GNOME Bugzilla – Bug 701703
Random segfault when browsing the index
Last modified: 2013-06-08 17:53:55 UTC
Created attachment 246131 [details] valgrind log When using evince I got few random crash. unfortunately I did not find a way to always reproduce the bug. Most of the time it happens when I click on a paragraph in the index view of the side pane. Note: I am using debian sid/experimental but I think it does not count as there is a also a report for fedora (https://bugzilla.redhat.com/show_bug.cgi?id=965626).
Created attachment 246132 [details] backtrace
Created attachment 246141 [details] another valgrind log Another valgrind log produced with same steps (browsing page and click on index) which look likes the bug https://bugzilla.redhat.com/show_bug.cgi?id=965626).
Created attachment 246142 [details] associated backtrace of another valgrind log
Step to reproduce: 1. download a pdf which contains index (e.g: http://people.gnome.org/~mccann/shell/design/GNOME_Shell-20090705.pdf) 2. open it with evince 3. in evince side pane select the index view 4. click on paragraph in the index view (so you have the focus on the index view) 5. press key up/down repeatedly 6. segfault Unfortunately with valgrind the above steps does not necessarily produce the bug because of the big overhead introduced by valgrind.
This is what I get with 3.8.2: (evince:14071): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:14071): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:14071): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Program received signal SIGSEGV, Segmentation fault. magazine_chain_pop_head (magazine_chunks=0x80ac6d8) at gslice.c:532 532 (*magazine_chunks)->data = chunk->next;
+ Trace 232024
This is the output I get with master, but it seems a different one. Anyhow, the output in the screen is: (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_get_action: assertion `EV_IS_LINK (self)' failed (evince:4101): EvinceDocument-CRITICAL **: ev_link_action_equal: assertion `EV_IS_LINK_ACTION (a)' failed (evince:4101): Gdk-WARNING **: losing last reference to undestroyed window evince: cairo-region.c:423: cairo_region_destroy: Assertion `((*&(®ion->ref_count)->ref_count) > 0)' failed. Program received signal SIGABRT, Aborted. 0xb7fdd424 in __kernel_vsyscall () The bt full is:
+ Trace 232025
Because of the previous warnings, I ran --g-fatal-warnings. This bt is the bt.
+ Trace 232026
The stack traces are similar, so I am closing this one as duplicated. *** This bug has been marked as a duplicate of bug 697397 ***