GNOME Bugzilla – Bug 698047
Evince crashes in Gtk code when clicking on a bookmarks
Last modified: 2014-12-09 04:37:44 UTC
While trying to click on a bookmark in a PDF file in Evince, I get this crash:
+ Trace 231792
Software versions: - Gtk+ 3.8.0 - GLib 2.36.0 - Evince 3.8.0 - Debian GNU/Linux
While trying to reproduce this, I got a different crash when I was performing the same action (this time in Evince code) — reported as bug 698048.
Crashes under g_slice_* are usually caused by earlier memory corruption; can you run evince under valgrind to see if there's anything? See https://live.gnome.org/Valgrind for details.
Here it is: ==10955== Invalid read of size 4 ==10955== at 0x50C6FF9: recompute_visible_regions_internal (gdkwindow.c:973) ==10955== by 0x50C70F6: recompute_visible_regions_internal (gdkwindow.c:1122) ==10955== by 0x50C7467: recompute_visible_regions (gdkwindow.c:1162) ==10955== by 0x50CD7B1: gdk_window_hide (gdkwindow.c:5807) ==10955== by 0x4E9A9A4: update_grip_visibility (gtkwindow.c:5799) ==10955== by 0x4E9B66A: _gtk_window_set_allocation (gtkwindow.c:5538) ==10955== Address 0x7802d10 is not stack'd, malloc'd or (recently) free'd ==10955== ==10955== Invalid read of size 4 ==10955== at 0x50C7007: recompute_visible_regions_internal (gdkwindow.c:976) ==10955== by 0x50C70F6: recompute_visible_regions_internal (gdkwindow.c:1122) ==10955== by 0x50C7467: recompute_visible_regions (gdkwindow.c:1162) ==10955== by 0x50CD7B1: gdk_window_hide (gdkwindow.c:5807) ==10955== by 0x4E9A9A4: update_grip_visibility (gtkwindow.c:5799) ==10955== by 0x4E9B66A: _gtk_window_set_allocation (gtkwindow.c:5538) ==10955== Address 0x7802d04 is 12 bytes after a block of size 248 alloc'd ==10955== at 0x4826464: memalign (vg_replace_malloc.c:727) ==10955== by 0x482657E: posix_memalign (vg_replace_malloc.c:876) ==10955== by 0x552A5F0: slab_allocator_alloc_chunk (gslice.c:1381) ==10955== by 0x5579BEE: g_slice_alloc (gslice.c:724) ==10955== by 0x5559129: g_list_copy_deep (glist.c:636) ==10955== by 0x55591AA: g_list_copy (glist.c:585) ==10955== by 0x50CFBBA: _gdk_window_process_updates_recurse (gdkwindow.c:4024) ==10955== by 0x50F0BF2: gdk_x11_window_process_updates_recurse (gdkwindow-x11.c:5203) ==10955== by 0x50CB048: gdk_window_process_updates_internal (gdkwindow.c:4187) ==10955== by 0x50CB2AF: gdk_window_process_updates_with_mode (gdkwindow.c:4367) ==10955== by 0x50CB259: gdk_window_process_updates_with_mode (gdkwindow.c:4388) ==10955== by 0x54D22A6: g_cclosure_marshal_VOID__VOIDv (gmarshal.c:115) Full log: http://paste.debian.net/249919/
In the full log, there are some invalid *writes* as well, I just pasted the top two errors.
==10955== by 0x4E9A9A4: update_grip_visibility (gtkwindow.c:5799) this code no longer exists