[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 <mgorse@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mgorse@suse.com --- Comment #1 from Michael Gorse <mgorse@suse.com> 2014-02-01 19:50:11 UTC --- Thanks for the report. Can you get a backtrace? I haven't been able to reproduce so far. Have you modified any of your power-related settings? Also, I noticed that gnome-settings-daemon has removed the code to perform an action when the battery is critically low, since it should now be handled by upower, so I've prepared a gnome-settings-daemon package with that change in home:mgorse:branches:GNOME:Factory, but I want to be sure it doesn't introduce any regressions before I submit it. Also, I'm guessing that it isn't related to your bug, going by the other symptoms you're seeing, although it might be worth trying it. -- 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#c2 --- Comment #2 from Libor Pecháček <lpechacek@suse.com> 2014-02-05 13:45:13 CET --- (In reply to comment #1)
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 <lpechacek@suse.com> 2014-02-05 16:16:28 CET ---
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 <lpechacek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Gnome3: Immediate system |Gnome3: Immediate system |hibernation/poweroff due to |hibernation/poweroff due to |crash in libpower.so |gnome settings daemon | |incapable of determining | |battery charge -- 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#c4 --- Comment #4 from Libor Pecháček <lpechacek@suse.com> 2014-02-06 15:54:01 CET --- Created an attachment (id=577464) --> (http://bugzilla.novell.com/attachment.cgi?id=577464) proposed fix I could not resist and took a look at the problem. The thing is that power plugin keeps notion of the composite power device. The trouble is that my laptop battery does not get included in the composite power source list. Upstream have removed composite power device code from the plugin as it's reportedly handled by Upower now. -- 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#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-02-06 23:00:13 CET --- This is an autogenerated message for OBS integration: This bug (861365) was mentioned in https://build.opensuse.org/request/show/221186 Factory / gnome-settings-daemon -- 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#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2014-09-09 10:06:09 UTC --- openSUSE-RU-2014:1097-1: An update that has 12 recommended fixes can now be installed. Category: recommended (low) Bug References: 832386,839089,842730,849913,852362,861076,861365,869685,871232,888442,888787,893775 CVE References: Sources used: openSUSE 13.1 (src): NetworkManager-0.9.8.8-10.1, accountsservice-0.6.35-2.16.1, brasero-3.10.0-3.6.3, empathy-3.10.3-42.2, epiphany-3.10.3-39.4, evince-3.10.3-60.2, evolution-3.10.4-24.1, evolution-data-server-3.10.4-38.1, evolution-ews-3.10.4-36.1, file-roller-3.10.2.1-22.2, geary-0.6.1-3.6.2, gedit-3.10.4-23.2, gedit-plugins-3.10.1-6.4, ghex-3.10.1-6.3, gnome-chess-3.10.3-14.3, gnome-control-center-3.10.3-18.2, gnome-devel-docs-3.10.3-14.1, gnome-documents-3.10.2-15.1, gnome-music-3.10.4-6.2, gnome-online-accounts-3.10.5-14.7, gnome-online-miners-3.10.3-7.1, gnome-packagekit-3.10.1-7.3, gnome-robots-3.10.2-6.3, gnome-screenshot-3.10.1-6.3, gnome-settings-daemon-3.10.3-20.2, gnome-shell-3.10.4-22.1, gnome-sudoku-3.10.3-14.1, gnome-user-docs-3.10.3-14.1, gnome-user-share-3.10.2-14.3, gnote-3.10.3-6.2, gthumb-3.2.7-7.4, gtk2-2.24.23-7.1, gtk2-branding-SLED-13.1-6.3, gtk2-branding-openSUSE-13.1-6.3, gtk2-engines-2.20.2-16.6.3, gtk3-3.10.9-18.1, gtk3-branding-SLED-13.1-2.14.3, gtk3-branding-openSUSE-13.1-2.14.3, gvfs-1.18.3-15.1, libgweather-3.10.2-6.1, mutter-3.10.4-26.1, orca-3.10.3-14.1, seahorse-3.10.2-10.1, system-config-printer-1.4.4-2.10.1, telepathy-gabble-0.18.2-2.6.2, telepathy-glib-0.22.1-6.1, totem-pl-parser-3.10.1-10.1, webkitgtk-2.2.7-10.1, webkitgtk3-2.2.7-10.1, yelp-3.10.2-6.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com