Bug 612341 - gnome-settings-daemon crashed with SIGSEGV in g_object_unref()
gnome-settings-daemon crashed with SIGSEGV in g_object_unref()
Status: RESOLVED FIXED
Product: libgnomekbd
Classification: Core
Component: Indicator
2.29.x
Other Linux
: Normal critical
: ---
Assigned To: libgnomekbd maintainers
Sergey V. Udaltsov
:
: 613807 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-03-09 21:19 UTC by Sebastien Bacher
Modified: 2010-03-28 12:15 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
don't unref the gtkstyle since it's owned by gtk (464 bytes, patch)
2010-03-09 21:19 UTC, Sebastien Bacher
none Details | Diff | Review

Description Sebastien Bacher 2010-03-09 21:19:07 UTC
Created attachment 155681 [details] [review]
don't unref the gtkstyle since it's owned by gtk

The bug has is described on https://bugs.launchpad.net/ubuntu/+source/libgnomekbd/+bug/535143

"g-s-d crashed while changing theme in appearance settings."

libgnomekbd 2.29.92

The issue is due to the g_object_unref() call on the style, where the gtk_rc_get_style_by_paths() api states "The returned value is owned by GTK+ as part of an internal cache"
Comment 1 Sergey V. Udaltsov 2010-03-09 21:26:49 UTC
Thanks, committed!
Comment 2 Jan de Groot 2010-03-28 12:15:38 UTC
*** Bug 613807 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.