After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675048 - libpower.so crashes on Toshiba notebooks
libpower.so crashes on Toshiba notebooks
Status: RESOLVED INVALID
Product: gnome-settings-daemon
Classification: Core
Component: power
3.2.x
Other Linux
: Normal major
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-29 01:03 UTC by arnoques
Modified: 2012-04-30 12:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description arnoques 2012-04-29 01:03:31 UTC
gnome-settings-daemon segfaults when it receives a negative value for the backlight. Unfortunately, this seems to happen at least in some Toshiba notebooks.

There's a workaround in
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/918421/comments/6
This doesn't solve the underlying problem (backlight is -5) but at least prevents the crash.

I checked the latest code at
http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/power/gsd-power-manager.c#n2512
and it seems that the problem will still happen in the 3.4 series.

Thanks,
  Arnoques
Comment 1 Richard Hughes 2012-04-30 09:30:02 UTC
I don't see why this can happen without the patches at Ubuntu adds to gnome-settings-daemon. If you can reproduce this bug with gnome-settings-daemon from gnome.org then please re-open this bug with a stacktrace. I'm certainly not going to look through a 11Mb patch file to see how Ubuntu has changed the behaviour compared to upstream. Sorry.
Comment 2 Chris Coulson 2012-04-30 12:26:59 UTC
This was nothing to do with an Ubuntu patch, and was fixed by http://git.gnome.org/browse/gnome-settings-daemon/commit?id=0fc947c590ec40f492af16cef5e3de7775ba08ab

The stacktrace from the downstream bug is:

  • #0 idle_set_mode
    at gsd-power-manager.c line 2675
  • #1 idle_evaluate
    at gsd-power-manager.c line 2918
  • #2 idle_evaluate
    at gsd-power-manager.c line 2876
  • #3 g_closure_invoke
    at /build/buildd/glib2.0-2.31.10/./gobject/gclosure.c line 774
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.31.10/./gobject/gsignal.c line 3302
  • #5 g_signal_emit_valist
    at /build/buildd/glib2.0-2.31.10/./gobject/gsignal.c line 3033
  • #6 g_signal_emit
    at /build/buildd/glib2.0-2.31.10/./gobject/gsignal.c line 3090
  • #7 gpm_idletime_event_filter_cb
    at gpm-idletime.c line 281
  • #8 gpm_idletime_event_filter_cb
    at gpm-idletime.c line 254
  • #9 gdk_event_source_dispatch
    at /build/buildd/gtk+3.0-3.3.8/./gdk/x11/gdkeventsource.c line 356
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??