gnome-settings-daemon crashed with SIGFPE in backlight_get_percentage()

Bug #833595 reported by Pit(er) Ralon
634
This bug affects 112 people
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Fix Released
Critical
gnome-settings-daemon (Ubuntu)
Fix Released
High
Rodrigo Moya
Oneiric
Fix Released
High
Rodrigo Moya

Bug Description

System Settings - then Screen Background - then crash report is starting

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gnome-settings-daemon 3.1.5-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Thu Aug 25 10:14:27 2011
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110701)
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 LANGUAGE=de_CH:de
 PATH=(custom, no user)
 LANG=de_CH.UTF-8
 SHELL=/bin/bash
Signal: 8
SourcePackage: gnome-settings-daemon
StacktraceTop:
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libpower.so
 ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: gnome-settings-daemon crashed with SIGFPE in g_main_context_dispatch()
UpgradeStatus: Upgraded to oneiric on 2011-08-24 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Pit(er) Ralon (pitralon) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 backlight_get_percentage (error=0x7fffdaf485d8, manager=0x2021240) at gsd-power-manager.c:2354
 handle_method_call_screen (invocation=0x7fa318018580, parameters=0x237ba00, method_name=0x2396740 "GetPercentage", manager=0x2021240) at gsd-power-manager.c:3406
 handle_method_call (connection=<optimized out>, sender=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>, method_name=0x2396740 "GetPercentage", parameters=0x237ba00, invocation=0x7fa318018580, user_data=0x2021240) at gsd-power-manager.c:3561
 call_in_idle_cb (user_data=<optimized out>) at /build/buildd/glib2.0-2.29.16/./gio/gdbusconnection.c:4440
 g_main_dispatch (context=0x20257e0) at /build/buildd/glib2.0-2.29.16/./glib/gmain.c:2439

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
tags: removed: need-amd64-retrace
Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Francesco Muriana (f-muriana) wrote : Re: gnome-settings-daemon crashed with SIGFPE in g_main_context_dispatch()

This affects me too

Revision history for this message
Pedro Villavicencio (pedro) wrote :

This report has been sent upstream at https://bugzilla.gnome.org/show_bug.cgi?id=657364 ; thanks for it.

Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-settings-daemon:
importance: Unknown → Critical
status: Unknown → New
summary: - gnome-settings-daemon crashed with SIGFPE in g_main_context_dispatch()
+ gnome-settings-daemon crashed with SIGFPE in backlight_get_percentage()
Changed in gnome-settings-daemon:
status: New → Fix Released
Revision history for this message
DaeHyun Ego Sung (sungdh86) wrote :

I command "sudo apt-get install gir1.2-gtk-3.0 libgtk-3-0 libgtk-3-0-dbg libwebkitgtk-3.0-0 libwebkitgtk-3.0-0-dbg libwebkitgtk-3.0-common libwebkitgtk-3.0-dev" in terminal.
After installed Gtk3, This error has been occurred.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

this is still happening with latest, targeting to Oneiric.

Changed in gnome-settings-daemon (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Changed in gnome-settings-daemon (Ubuntu Oneiric):
importance: Medium → High
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Can anyone experiencing this error run on a terminal the following commands:

$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness

and

$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness

and paste the output here?

Revision history for this message
Paulo Lopes (jetdrone) wrote :

You listed twice the same comman, maybe a typo? anyway this is the output for me:

No backlights were found on your system

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

sorry, the 2nd one is:

$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

jetdrone, if you get that, I guess it's because you're on a desktop PC, not a laptop, right? If so, can someone try it on a laptop?

Revision history for this message
Chad Dunlap (cldunlap1) wrote : Re: [Bug 833595] Re: gnome-settings-daemon crashed with SIGFPE in backlight_get_percentage()

On Wednesday, September 07, 2011 07:32:30 AM you wrote:
> jetdrone, if you get that, I guess it's because you're on a desktop PC,
> not a laptop, right? If so, can someone try it on a laptop?

I did this on a laptop (Dell E6420) and I got 'No backlights were found on
your system'. I got this answer for both commands.

I use the 11.10 beta in a virtualbox guest, I am not sure if that matters but
I wanted to let you know.

--

Thank You,
Chad Dunlap

Revision history for this message
florin (florin-arjocu) wrote :

I'm on a laptop and I run Oneiric in a Virtualbox machine. Fn+F6/F7 changes the screen lightness but without any visual (like the main OS, Natty has).
I get this on running that command:
No backlights were found on your system

I am not sure I still experience this bug as I run the machine for short times and I haven't seen it recently.

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

I think Rodrigo was asking for someone to run those commands on real hardware. If you run in a VM it is unlikely that a backlight will be present - afaik VirtualBox/QEMU do not emulate a backlight. It would be poor isolation if a guest VM going to LCD standby took down the host LCD.

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Yes, need the output of the commands on real hardware, not a VM

Revision history for this message
Eugene Lazutkin (eugene-lazutkin-gmail) wrote :

$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-max-brightness
No backlights were found on your system
$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness
No backlights were found on your system

This is a real hardware, desktop with two LCD monitors and NVIDIA card.

Revision history for this message
Gustavo Guidorizzi (gguido) wrote :

On real hardware:

'No backlights were found on your system' for both.

Revision history for this message
Fabrizio Fischer (fabrizio-fischer) wrote :

If I go to Screen-Settings i see a checkbox "Turn off Screen after..." for 1 second, then it disappears and i get a fallback theme and also gnome-settings-manager crash. Guess that is related to the problem reported by this bug.

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

This bug was fixed in the package gnome-settings-daemon - 3.1.91-0ubuntu3

---------------
gnome-settings-daemon (3.1.91-0ubuntu3) oneiric; urgency=low

  * debian/control:
    - Build depend on libgnome-desktop3-dev >= 3.1.5, which is what upstream
      asks for
  * debian/patches/00git_guard_against_division_by_0.patch:
    - Guard against dividing by 0 in ABS_TO_PERCENTAGE macro (LP: #833595)
  * debian/patches/00git_dont_crash_if_session_not_ready.patch:
    - Don't crash if we try to calculate the idle state before connected to
      the session (LP: #836014)
 -- Rodrigo Moya <email address hidden> Wed, 07 Sep 2011 12:07:45 +0200

Changed in gnome-settings-daemon (Ubuntu Oneiric):
status: Triaged → Fix Released
To post a comment you must log in.