gnome-settings-daemon crashed with SIGSEGV in ubuntu_osd_do_notification()

Bug #959874 reported by Seth Forshee
154
This bug affects 19 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Fix Released
High
Iain Lane
Precise
Fix Released
High
Iain Lane

Bug Description

I started seeing this problem after updating today (2012-03-19). g-s-d crashes every time I try to use the hotkeys to adjust the keyboard backlight brightness. I see lines like the following in syslog:

Mar 19 20:55:17 ubuntu-mba kernel: [ 250.180733] gnome-settings-[4019]: segfault at f0 ip 00007f9dc774235b sp 00007fff0cedffe0 error 4 in libmedia-keys.so[7f9dc7735000+25000]
Mar 19 20:55:17 ubuntu-mba gnome-session[3722]: WARNING: App 'gnome-settings-daemon.desktop' respawning too quickly
Mar 19 20:55:17 ubuntu-mba gnome-session[3722]: CRITICAL: We failed, but the fail whale is dead. Sorry....

The machine is a MacBook Air 4,1.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gnome-settings-daemon 3.3.92-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
Uname: Linux 3.2.0-19-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Mon Mar 19 20:50:21 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20111208)
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f19aa61235b: cmpq $0x0,(%rdi)
 PC (0x7f19aa61235b) ok
 source "$0x0" ok
 destination "(%rdi)" (0x000000f0) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: gnome-settings-daemon
StacktraceTop:
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
 g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Title: gnome-settings-daemon crashed with SIGSEGV in g_simple_async_result_complete()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
Seth Forshee (sforshee) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ubuntu_osd_do_notification (notification=0xf0, hint=0x7f19aa622018 "keyboard", value=85, muted=0, icon_names=0x7f19aa82bc00) at gsd-media-keys-manager.c:268
 update_keyboard_cb (source_object=<optimized out>, res=<optimized out>, user_data=<optimized out>) at gsd-media-keys-manager.c:1872
 g_simple_async_result_complete (simple=0x7f19b8025b30) at /build/buildd/glib2.0-2.31.20/./gio/gsimpleasyncresult.c:767
 reply_cb (connection=<optimized out>, res=0x1069e40, user_data=<optimized out>) at /build/buildd/glib2.0-2.31.20/./gio/gdbusproxy.c:2614
 g_simple_async_result_complete (simple=0x1069e40) at /build/buildd/glib2.0-2.31.20/./gio/gsimpleasyncresult.c:767

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: gnome-settings-daemon crashed with SIGSEGV in
- g_simple_async_result_complete()
+ ubuntu_osd_do_notification()
tags: removed: need-amd64-retrace
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
visibility: private → public
Revision history for this message
Xavier G (xavier-g) wrote :

Same problem with a Asus G53SX

Revision history for this message
KaKuY (pazalejandro) wrote :

Same problem with Macbook Pro 8.1

Changed in gnome-settings-daemon (Ubuntu):
importance: Medium → High
Revision history for this message
Steve Magoun (smagoun) wrote :

Reliably reproducible on a MacbookPro 3,1

Revision history for this message
Rainer Rohde (rainer-rohde) wrote :

Same here on a MacBook Pro 5,2

Revision history for this message
Ezio de Mauro (pancro) wrote :

Reproduced on MacBookAir4,2

Revision history for this message
Eric Williams (eric-canonical) wrote :

Got the following on a MacBook Air 4,1
gnome-settings-daemon 3.3.92-0ubuntu2

---
gdb -d dev/gsd/gnome-settings-daemon-3.3.92/plugins/media-keys/ /usr/lib/gnome-settings-daemon/gnome-settings-daemon core

Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/lib/gnome-settings-daemon/gnome-settings-daemon...Reading symbols from /usr/lib/debug/usr/lib/gnome-settings-daemon/gnome-settings-daemon...done.
done.

warning: core file may not match specified executable file.
[New LWP 16476]
[New LWP 16497]
[New LWP 16478]
[New LWP 16480]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gnome-settings-daemon --debug'.
Program terminated with signal 11, Segmentation fault.
#0 dialog_init (manager=0x15a7330) at gsd-media-keys-manager.c:409

warning: Source file is more recent than executable.
409 if (manager->priv->dialog != NULL
(gdb) bt
#0 dialog_init (manager=0x15a7330) at gsd-media-keys-manager.c:409
#1 0x00007f11ead56d07 in update_keyboard_cb (source_object=<optimized out>, res=<optimized out>, user_data=<optimized out>)
    at gsd-media-keys-manager.c:1873
#2 0x00007f120c43b97d in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3 0x00007f120c499166 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f120c43b97d in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007f120c48f1ea in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007f120c43b97d in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007f120c43baac in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007f120becbd8a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007f120becc150 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f120becc54a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f120c8bbd8d in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#12 0x0000000000403801 in main (argc=1, argv=0x7fffdcb3f328) at main.c:464
(gdb)

Iain Lane (laney)
Changed in gnome-settings-daemon (Ubuntu Precise):
status: Confirmed → In Progress
assignee: nobody → Iain Lane (laney)
Iain Lane (laney)
Changed in gnome-settings-daemon (Ubuntu Precise):
status: In Progress → Triaged
Iain Lane (laney)
Changed in gnome-settings-daemon (Ubuntu Precise):
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Iain for looking at that, apparently the "quilt applied changes with fuzzy" in the previous update turned out weirdly, I noticed there was something weird but and fixed some issues but overlooked that one!

Revision history for this message
Pedro Nariyoshi (pedro-nariyoshi) wrote :

I am wondering if this affects only macbooks. Same here in MBP 8.1
Still present in 3.4.0-0ubuntu1

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
gnome-settings-daemon (3.4.0-0ubuntu2) precise; urgency=low

  * debian/patches/10_smaller_syndaemon_timeout.patch:
    - don't change delay, use -t option to block the clicks (lp: #962958)
  * debian/patches/61_unity_use_application_indicator.patch:
    - small tweaks to be consistant with other indicators,
      change the order and label from the two bottom items (lp: #964178)
  * debian/patches/bugzilla_segfault_dpms.patch:
    - upstream fix for a segfault (lp: #956824)

  [ Iain Lane ]
  * debian/patches/16_use_synchronous_notifications.patch: Fix invalid cast
    causing segfault when using keyboard backlight keys. (LP: #959874)
 -- Sebastien Bacher <email address hidden> Thu, 29 Mar 2012 21:43:49 +0200

Changed in gnome-settings-daemon (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
funicorn (funicorn) wrote :

No, It affects my Acer laptop too. Gnome-settings-daemon crashes when pressing Fn+left/right arrows, which in my case is the XFree86 key to control LCD brightness. However Fn+up/down arrows which is for volume control works normally. I'm working on Ubuntu 12.10, amd64.

By the way, why do I see a lot of bugs marked as "Fix Released" which actually are still there ?

Revision history for this message
Pedro Nariyoshi (pedro-nariyoshi) wrote : Re: [Bug 959874] Re: gnome-settings-daemon crashed with SIGSEGV in ubuntu_osd_do_notification()
Download full text (3.3 KiB)

It was fixed for me. (But I didn't change the tag)

Pedro Nariyoshi

On Tue, Oct 2, 2012 at 1:17 AM, funicorn <email address hidden> wrote:

> No, It affects my Acer laptop too. Gnome-settings-daemon crashes when
> pressing Fn+left/right arrows, which in my case is the XFree86 key to
> control LCD brightness. However Fn+up/down arrows which is for volume
> control works normally. I'm working on Ubuntu 12.10, amd64.
>
> By the way, why do I see a lot of bugs marked as "Fix Released" which
> actually are still there ?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (967894).
> https://bugs.launchpad.net/bugs/959874
>
> Title:
> gnome-settings-daemon crashed with SIGSEGV in
> ubuntu_osd_do_notification()
>
> Status in “gnome-settings-daemon” package in Ubuntu:
> Fix Released
> Status in “gnome-settings-daemon” source package in Precise:
> Fix Released
>
> Bug description:
> I started seeing this problem after updating today (2012-03-19). g-s-d
> crashes every time I try to use the hotkeys to adjust the keyboard
> backlight brightness. I see lines like the following in syslog:
>
> Mar 19 20:55:17 ubuntu-mba kernel: [ 250.180733] gnome-settings-[4019]:
> segfault at f0 ip 00007f9dc774235b sp 00007fff0cedffe0 error 4 in
> libmedia-keys.so[7f9dc7735000+25000]
> Mar 19 20:55:17 ubuntu-mba gnome-session[3722]: WARNING: App
> 'gnome-settings-daemon.desktop' respawning too quickly
> Mar 19 20:55:17 ubuntu-mba gnome-session[3722]: CRITICAL: We failed, but
> the fail whale is dead. Sorry....
>
> The machine is a MacBook Air 4,1.
>
> ProblemType: Crash
> DistroRelease: Ubuntu 12.04
> Package: gnome-settings-daemon 3.3.92-0ubuntu1
> ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
> Uname: Linux 3.2.0-19-generic x86_64
> ApportVersion: 1.94.1-0ubuntu2
> Architecture: amd64
> CrashCounter: 1
> Date: Mon Mar 19 20:50:21 2012
> EcryptfsInUse: Yes
> ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac
> (20111208)
> ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
> ProcEnviron:
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SegvAnalysis:
> Segfault happened at: 0x7f19aa61235b: cmpq $0x0,(%rdi)
> PC (0x7f19aa61235b) ok
> source "$0x0" ok
> destination "(%rdi)" (0x000000f0) not located in a known VMA region
> (needed writable region)!
> SegvReason: writing NULL VMA
> Signal: 11
> SourcePackage: gnome-settings-daemon
> StacktraceTop:
> ?? () from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
> ?? () from /usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so
> g_simple_async_result_complete () from
> /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
> ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
> g_simple_async_result_complete () from
> /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
> Title: gnome-settings-daemon crashed with SIGSEGV in
> g_simple_async_result_complete()
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin p...

Read more...

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.