← Back to team overview

desktop-packages team mailing list archive

[Bug 832603] Re: gnome-settings-daemon crashed with SIGSEGV in g_simple_async_result_complete()

 

I got this as well, and gave the resulting CoreDump an analysis.

In on_bus_gotten, manager->priv->introspection_data is NULL. This can
happen if gsd_xrandr_manager_stop/gsd_media_keys_manager_stop/etc is
called between register_manager and on_bus_gotten.

As I'm not a gnome expert, please review the attached patch before
applying - and if you think it makes sense, extend it to do
media_keys_manager, power_manager, etc as well. It also adds an explicit
ref/unref to make sure the manager is not a dangling pointer at this
point, but I doubt this is needed.


** Patch added: "50_fix_on_bus_gotten_crash.patch"
   https://bugs.launchpad.net/gnome-settings-daemon/+bug/832603/+attachment/2474275/+files/50_fix_on_bus_gotten_crash.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/832603

Title:
  gnome-settings-daemon crashed with SIGSEGV in
  g_simple_async_result_complete()

Status in Gnome Settings Daemon:
  Incomplete
Status in “gnome-settings-daemon” package in Ubuntu:
  Triaged
Status in “gnome-settings-daemon” source package in Oneiric:
  Triaged

Bug description:
  random rash after upgrade

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: gnome-settings-daemon 3.1.4-0ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
  Uname: Linux 3.0.0-9-generic i686
  Architecture: i386
  Date: Wed Aug 24 13:41:30 2011
  ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110817)
  ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
  ProcEnviron:
   SHELL=/bin/false
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SegvAnalysis:
   Segfault happened at: 0x81ebf6d:	mov    0x8(%edx),%edx
   PC (0x081ebf6d) ok
   source "0x8(%edx)" (0x00000008) not located in a known VMA region (needed readable region)!
   destination "%edx" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: gnome-settings-daemon
  StacktraceTop:
   ?? () from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
   g_simple_async_result_complete () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
   ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
   ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
   g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
  Title: gnome-settings-daemon crashed with SIGSEGV in g_simple_async_result_complete()
  UpgradeStatus: Upgraded to oneiric on 2011-08-24 (0 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/832603/+subscriptions