GNOME Bugzilla – Bug 700376
segfault on changing languages quickly
Last modified: 2013-05-20 15:27:01 UTC
Due to all the pages being disposed/created and various race conditions being created here if you change the language quickly you'll end up with a segfault. Reproduce by going to languages page and changing between multiple languages quickly. Not worth attaching a backtrace as it's just a time dependant thing.
Created attachment 244822 [details] [review] account: Fix two segfaults in dispose (when changing languages quickly) Crash 1 (g_clear of libaccountservice objects which are transfer-none) Program received signal SIGSEGV, Segmentation fault. 0x00007fffed0cd193 in g_object_unref (_object=0xa32510) at gobject.c:3081 3081 g_return_if_fail (G_IS_OBJECT (object)); (gdb) bt
+ Trace 231973
Bugzilla ate my other crash bt! Crash 2 (fixed by g_bus_unwatch_name) Program received signal SIGSEGV, Segmentation fault. on_realmd_disappeared (unused1=0x7ca840, unused2=0xe81b30 "org.freedesktop.realmd", user_data=0x930be0) at gis-account-page.c:858 858 if (priv->realm_manager != NULL) { (gdb) bt
+ Trace 231974
Review of attachment 244822 [details] [review]: OK.
pushed as a2a6d134ad6b3a36c36e038e296cab3d0e4d2e59 Seems I was a bit hasty with the initial bug report, this does fix the crashes.