The following patch fixes the crash for me, at the cost of probably
introducing a memory leak:

--- panels/online-accounts/cc-online-accounts-panel.c.orig      2020-04-27 
17:07:18.366421418 +0200
+++ panels/online-accounts/cc-online-accounts-panel.c   2020-04-27 
17:08:12.634932818 +0200
@@ -874,7 +874,7 @@
                       GAsyncResult *res,
                       gpointer      user_data)
 {
-  g_autoptr(CcGoaPanel) self = user_data;
+  CcGoaPanel *self = CC_GOA_PANEL (user_data);
   GList *providers;
   GList *l;

As suggested by seb128, a minor leak is preferable than a crash (I fully
agree), so we should probably apply this as a distro-patch while we
request feedback from upstream on the proper way to fix the problem
without a leak.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1862553

Title:
  gnome-control-center crashed with SIGSEGV in
  cc_panel_get_title_widget()

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/1862553/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to