Frequent crashes in latest git
@grawity
Submitted by Mantas Mikulėnas Link to original bug (#706349)
Description
In current gnome-terminal git (3.9.90.r24.g9f2ba3d5), various actions (especially closing a terminal or clicking a link) frequently (but not always) trigger a segfault in gnome-terminal-server.
However, if I downgrade to the previous commit (3.9.90.r23.g398a6257), there are no crashes at all.
I have maybe a dozen backtraces, all different.
| Program terminated with signal 11, Segmentation fault.
| #0
delete_outdated_error_traps (display_x11=display_x11@entry=0x24d2090)
| at gdkdisplay-x11.c:2554
| 2554 if (trap->end_sequence != 0 &&
| Program terminated with signal 11, Segmentation fault.
| #0
magazine_cache_trim (allocator=0x7ff7fb863300 <allocator>
, stamp=2395177502, ix=0)
| at gslice.c:655
| 655 magazine_chain_next (prev) = next;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007f4959780ef4 in magazine_cache_trim (allocator=0x7f4959a1d300 <allocator>
,
| stamp=2476265695, ix=0) at gslice.c:659
| 659 magazine_chain_count (current) = NULL;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007fe5681f7c47 in g_object_dispatch_properties_changed (object=0x2681d10,
| n_pspecs=0, pspecs=0x21c9e00) at gobject.c:1047
| 1047 g_signal_emit (object, gobject_signals[NOTIFY], g_quark_from_string (pspecs[i]->name), pspecs[i]);
| Program terminated with signal 11, Segmentation fault.
| #0
_gtk_key_hash_lookup (key_hash=key_hash@entry=0x910910,
| hardware_keycode=<optimized out>
, state=20, mask=469762125, group=group@entry=0)
| at gtkkeyhash.c:441
| 441 modifiers = entry->modifiers;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007ffc1ea41ef4 in magazine_cache_trim (allocator=0x7ffc1ecde300 <allocator>
,
| stamp=2399014033, ix=0) at gslice.c:659
| 659 magazine_chain_count (current) = NULL;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007ff0602d41db in g_object_unref (_object=0x22fe790) at gobject.c:3151
| 3151 weak_ref_location->priv.p = NULL;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007f9c59ce5c47 in g_object_dispatch_properties_changed (object=0x20bc9e0,
| n_pspecs=0, pspecs=0x18fce00) at gobject.c:1047
| 1047 g_signal_emit (object, gobject_signals[NOTIFY], g_quark_from_string (pspecs[i]->name), pspecs[i]);
| Program terminated with signal 11, Segmentation fault.
| #0
clipboard_owner_destroyed (data=0x1695a10) at gtkclipboard.c:549
| 549 clipboard->get_func = NULL;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007f0ecde32065 in magazine_chain_pop_head (magazine_chunks=<synthetic pointer>
)
| at gslice.c:550
| 550 *magazine_chunks = chunk->next;
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007fd6fe366c47 in g_object_dispatch_properties_changed (object=0xc07980,
| n_pspecs=0, pspecs=0xb01e00) at gobject.c:1047
| 1047 g_signal_emit (object, gobject_signals[NOTIFY], g_quark_from_string (pspecs[i]->name), pspecs[i]);
| Program terminated with signal 11, Segmentation fault.
| #0
magazine_cache_pop_magazine (countp=0x1493668, ix=0) at gslice.c:750
| 750 ChunkLink *next = magazine_chain_next (current);
| Program terminated with signal 11, Segmentation fault.
| #0
0x00007f44942451db in g_object_unref (_object=0xe88340) at gobject.c:3151
| 3151 weak_ref_location->priv.p = NULL;
gtk 3.9.10.r138.g624ec0f glib 2.37.5.r38.g5cd1698 gnome-terminal 3.9.90.r24.g9f2ba3d5 vte 0.34.7
Version: git master
Resolution: RESOLVED FIXED