[Bug 861365] New: Gnome3: Immediate system hibernation/poweroff due to crash in libpower.so
https://bugzilla.novell.com/show_bug.cgi?id=861365 https://bugzilla.novell.com/show_bug.cgi?id=861365#c0 Summary: Gnome3: Immediate system hibernation/poweroff due to crash in libpower.so Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: mgorse@suse.com ReportedBy: lpechacek@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- After update the system started to hibernate right after start up, rendering the laptop unusable. The symptoms were - no battery indicator in the top right corner, message "Battery is critically low, hibernating". There was the following message in kernel log: 2014-01-29T20:12:58.469488+01:00 fmn kernel: [11487.642458] gnome-settings-[1172]: segfault at 8 ip 00007f2382be3921 sp 00007fff43014a40 error 4 in libpower.so[7f2382bd9000+18000] libpower.so is part of gnome-settings-daemon. Renaming the library so that gnome-settings-daemon cannot load the shared object makes the hibernation problem go away. 'upower --dump' shows correct battery information as well as the Gnome power settings dialog in the control center. The malfunction seems related to the following changelog entry: * Wed Dec 11 2013 mgorse@suse.com - Add gnome-power-manager-new-upower-api.patch: port to UPower 0.99. Please investigate. gnome-settings-daemon update history on my system: 2013-12-26 20:37:40|install|gnome-settings-daemon|3.10.2-2.1|x86_64||repo-oss|b84365138c440195045fe80de6e4df54291b89003c74f4ff250f3f5701c7c672| 2014-01-29 11:35:38|install|gnome-settings-daemon|3.10.2-3.1|x86_64||repo-oss|f1130ad1dd0fced2f476395f57dfc34ece01185417b2fe9cadf828c8fbae1ffc| -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c1
Michael Gorse
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c2
--- Comment #2 from Libor Pecháček
Thanks for the report. Can you get a backtrace? I haven't been able to reproduce so far.
The segfault was a red herring. The true problem lies in the power plugin not being able to determine remaining battery charge: ... n:1321): power-plugin-DEBUG: time zero, falling back to percentage for battery n:1321): GLib-GObject-WARNING **: g_object_get_valist: object class 'UpDevice' has no property named 'recall-notice' n:1321): power-plugin-DEBUG: adding /org/freedesktop/UPower/devices/battery_BAT0 with state discharging n:1321): power-plugin-DEBUG: updating because we added a device n:1321): power-plugin-DEBUG: printing composite device n:1321): GLib-GIO-CRITICAL **: g_dbus_proxy_get_object_path: assertion 'G_IS_DBUS_PROXY (proxy)' failed n:1321): power-plugin-DEBUG: updating because (null) changed n:1321): power-plugin-DEBUG: printing composite device n:1321): GLib-GIO-CRITICAL **: g_dbus_proxy_get_object_path: assertion 'G_IS_DBUS_PROXY (proxy)' failed n:1321): power-plugin-DEBUG: (null) state is now unknown n:1321): power-plugin-DEBUG: time zero, falling back to percentage for battery n:1321): power-plugin-DEBUG: charge-action n:1321): power-plugin-WARNING **: ignoring critically low message as we are not on battery power ... In this case the system didn't hibernate as it was on AC power.
Have you modified any of your power-related settings?
To eliminate the influence of custom settings I also tested with a clean account. The behavior was basically the same.
... I've prepared a gnome-settings-daemon package with that change in home:mgorse:branches:GNOME:Factory,
I gave it a spin and the debug log is the same as the current Factory version. I'll try reverting gnome-settings-daemon-upower-backport.patch and will update this bug with test results. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c3
--- Comment #3 from Libor Pecháček
I'll try reverting gnome-settings-daemon-upower-backport.patch and will update this bug with test results.
It turned out not to be that simple as the patch contains adaptation to the new Upower API. ;) I currently won't be able to dig much deeper into the code, yet, feel free to propose more tests. I'll do my best to provide relevant information here. FTR - upstream tracking bug for the GSD adaptation patches: https://bugzilla.gnome.org/show_bug.cgi?id=709736 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c
Libor Pecháček
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c4
--- Comment #4 from Libor Pecháček
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=861365
https://bugzilla.novell.com/show_bug.cgi?id=861365#c7
--- Comment #7 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com