[xsettings]: gnome-settings-daemon crashed with SIGSEGV in cond_setting_changed()

Bug #946295 reported by Jungle Boy
86
This bug affects 11 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

Impact: The new version fixes some issues and update translation, a segfault issue is fixed as well
Development Fix: https://launchpad.net/ubuntu/+source/gnome-settings-daemon/3.4.2-0ubuntu2
Stable Fix: the update is an update of the upstream stable serie with a segfault fix included
Test Case: the segfault seems to be happening on logout, no specific test, just make sure things keep working
Regression Potential: the new version includes 6 commits, one which was already backported in the package and one being a translation fix, the other fixes should be trivial and safe

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gnome-settings-daemon 3.3.90-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Sun Mar 4 17:49:35 2012
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 SHELL=/bin/false
 PATH=(custom, no user)
 LANGUAGE=en_IN:en
 LANG=en_IN
SegvAnalysis:
 Segfault happened at: 0x7f23c612924c: mov 0x8(%rax),%rdi
 PC (0x7f23c612924c) ok
 source "0x8(%rax)" (0xaaaaaaaaaaaaaab2) not located in a known VMA region (needed readable region)!
 destination "%rdi" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gnome-settings-daemon
StacktraceTop:
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libxsettings.so
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: [xsettings]: gnome-settings-daemon crashed with SIGSEGV in g_closure_invoke()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Jungle Boy (mowgli80) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 cond_setting_changed (settings=0x1bbec50, key=0x1a61aa7 "toolkit-accessibility", gtk=0x1bb9d40) at gsd-xsettings-gtk.c:82
 g_closure_invoke (closure=0x1b74370, return_value=0x0, n_param_values=2, param_values=0x7f23d40062a0, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.31.18/./gobject/gclosure.c:774
 signal_emit_unlocked_R (node=<optimized out>, detail=1247, instance=<optimized out>, emission_return=0x0, instance_and_params=0x7f23d40062a0) at /build/buildd/glib2.0-2.31.18/./gobject/gsignal.c:3302
 g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=0x7fff4ffacdc8) at /build/buildd/glib2.0-2.31.18/./gobject/gsignal.c:3033
 g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.31.18/./gobject/gsignal.c:3090

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Medium
summary: [xsettings]: gnome-settings-daemon crashed with SIGSEGV in
- g_closure_invoke()
+ cond_setting_changed()
tags: removed: need-amd64-retrace
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Changed in gnome-settings-daemon (Ubuntu):
importance: Medium → High
Revision history for this message
Robert Ancell (robert-ancell) wrote :

The stack trace seems to indicate this has happened when accessibility support has been enabled/disabled. I tried doing this on my box and it doesn't seem to cause any crash.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

The test I did was System Settings > Universal Access > Screen Reader and toggled it on/off.

Changed in gnome-settings-daemon (Ubuntu Precise):
status: New → Fix Committed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.4.2-0ubuntu2

---------------
gnome-settings-daemon (3.4.2-0ubuntu2) quantal; urgency=low

  * debian/patches/xsettings_signal_handling.patch:
    - upstream bugzilla patch, fix segfaults in the xsettings code which
      seem to happen at logout
      (lp: #946295, #948347, #963704)
 -- Sebastien Bacher <email address hidden> Wed, 23 May 2012 21:50:41 +0200

Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hello! This bug is attached to an upload in the queue for precise-proposed. However, it does not contain the requisite fields for the SRU team to process the upload. Please add them per the process outlined here. To be more succinct, make sure the bug description lists these fields: "Impact, Dev Fix, Stable Fix, Regression Potential, Test case".

https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

The upload will likely not be looked at by the SRU team until these fields are present.

Thank you!

description: updated
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello Jungle, or anyone else affected,

Accepted gnome-settings-daemon into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jungle Boy (mowgli80) wrote :

Not sure how I came across this earlier. However, enabled proposed and followed steps suggested by Robert in #7 and its now working fine.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.4.2-0ubuntu0.1

---------------
gnome-settings-daemon (3.4.2-0ubuntu0.1) precise-proposed; urgency=low

  * New upstream version
  * debian/patches/git_keyring_environment.patch:
    - dropped, the fix is in the new version
  * debian/patches/xsettings_signal_handling.patch:
    - upstream bugzilla patch, fix segfaults in the xsettings code which
      seem to happen at logout (lp: #946295, #948347, #963704)
 -- Sebastien Bacher <email address hidden> Wed, 23 May 2012 21:41:42 +0200

Changed in gnome-settings-daemon (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.