GNOME Bugzilla – Bug 514318
gnome-terminal crashed with SIGSEGV
Last modified: 2008-02-05 18:03:23 UTC
This bug has been reported here: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/188565 "#0 0x0806e5f1 in terminal_widget_set_cursor_blinks (widget=0x842fd00, setting=1) at terminal-widget-vte.c:300 __t = <value optimized out> __PRETTY_FUNCTION__ = "terminal_widget_set_cursor_blinks"
+ Trace 188055
line 300 in terminal-widget-vte.c is: g_return_if_fail(VTE_IS_TERMINAL(widget)); so maybe the TerminalScreen was already destroyed and thus priv->term invalid ? The following patch might fix it in that case. Behdad?
Created attachment 104419 [details] [review] disconnect from settings changes on dispose instead of finalize
Looks good to me.
* src/terminal-screen.c: (terminal_screen_class_init), (terminal_screen_dispose), (terminal_screen_finalize): Disconnect from the settings notify on dispose instead of finalise. Possibly fixes the crash in bug #514318. I'll consider this FIXED unless and until we get the same crash again with the version that contains this fix (will be in 2.21.92).