GNOME Bugzilla – Bug 574865
gnome-display-properties crashed with SIGSEGV in strcmp()
Last modified: 2009-03-11 15:17:33 UTC
the bug has been opened on https://bugs.launchpad.net/bugs/340386 "I switched the screen, the confirm dialog appeared and at the same time gnome-display-properties crashed. gnome-control-center 1:2.25.92-0ubuntu3
+ Trace 213346
Created attachment 130442 [details] [review] gnome-control-center-bgo574865-current-output-dangling-pointer.diff Oops. We were leaving a dangling pointer in app->current_output. This is pending approval from the release team.
This bug is also https://bugzilla.novell.com/show_bug.cgi?id=457772
Committed to trunk (r9339). 2009-03-11 Federico Mena Quintero <federico@novell.com> http://bugzilla.gnome.org/show_bug.cgi?id=574865 - Crash when refreshing the RANDR configuration. * xrandr-capplet.c (select_current_output_from_dialog_position): Always set app->current_output; otherwise we could be left with a dangling pointer to the old current_output (which is invalid after refreshing the current_configuration). (on_screen_changed): Null out the current_output when we get a new RANDR configuration, as it will become obsolete as soon as we free the old configuration.