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 Desktop
Packages, 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()

Status in gnome-control-center:
  Unknown
Status in gnome-control-center package in Ubuntu:
  Triaged

Bug description:
  https://errors.ubuntu.com/problem/cfae777005d1d918049ddbf3ad3977adc2e272b0

  ---

  problem with Ubuntu software centre ver.3.35.2

  ProblemType: Crash
  DistroRelease: Ubuntu 20.04
  Package: gnome-control-center 1:3.35.90-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Feb 10 00:28:42 2020
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationDate: Installed on 2020-02-06 (3 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
  ProcCmdline: gnome-control-center
  SegvAnalysis:
   Segfault happened at: 0x55db27c2df87 <cc_panel_get_title_widget+7>:  mov    
0x3f8(%rax),%rax
   PC (0x55db27c2df87) ok
   source "0x3f8(%rax)" (0x000003f8) not located in a known VMA region (needed 
readable region)!
   destination "%rax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: gnome-control-center
  StacktraceTop:
   cc_panel_get_title_widget ()
   ?? ()
   ?? ()
   g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
   ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
  Title: gnome-control-center crashed with SIGSEGV in 
cc_panel_get_title_widget()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  separator:

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to