GNOME Bugzilla – Bug 549772
g-p-m daemon crashes when battery %age changes
Last modified: 2008-09-02 04:21:54 UTC
Running Ubuntu Intrepid, with GNOME 2.23.90, gnome-power-manager version 2.23.6. Linking from: https://bugs.edge.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/260597 Gnome power manager crashes very frequently, apparently each time the percentage battery charge changes. Sometimes, but not always, it'll spit out """ ** (gnome-power-manager:8551): CRITICAL **: gpm_cell_array_get_cell: assertion `GPM_IS_CELL_ARRAY (cell_array)' failed ** (gnome-power-manager:8551): CRITICAL **: gpm_cell_get_unit: assertion `cell != NULL' failed """ just before crashing. Backtrace follows: GNU gdb 6.8-debian Copyright (C) 2008 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"... (no debugging symbols found) (gdb) set pagination 0 (gdb) run --no-daemon Starting program: /usr/bin/gnome-power-manager --no-daemon (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0x7fc8f8c0f770 (LWP 22236)] Program received signal SIGSEGV, Segmentation fault.
+ Trace 205824
Thread 140501143582576 (LWP 22236)
Thread 1 (Thread 0x7fc8f8c0f770 (LWP 22236))
(gdb) cont Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) quit
Hm, I can't see any g-p-m function involved in that stacktrace, probably due to missing debug symbols. Could you get us a stacktrace with symbols please? Also, a stacktrace could be of help, when running g-p-m with the environment variable G_DEBUG set to "fatal_criticals". TIA
Created attachment 117816 [details] gdb session with G_DEBUG set to 'fatal_criticals' Ha. Silly me. I'd installed all the debug symbols for g-p-m's dependencies, but not for g-p-m itself! Here's a backtrace with g-p-m debug symbols, and G_DEBUG set to fatal_criticals.
This looks to be the same as the (resolved) bug 547766. *** This bug has been marked as a duplicate of 547766 ***