Bug#482431: gnome-power-manager: crashes when UPS critically low
Avery Fay
avery at shadypixel.com
Thu May 22 18:09:15 UTC 2008
Package: gnome-power-manager
Version: 2.22.1-1
Severity: critical
Justification: causes serious data loss
gnome-power-manager crashes when it hits the critical battery threshold
(this is monitoring a UPS with nut-hal-drivers). This is 100%
reproduceable on my machine, although sort of risky because I have to
plug the UPS back in as soon as it crashes. Results from running it in
gdb with --no-daemon command line option:
<snip>
*** glibc detected *** /usr/bin/gnome-power-manager: double free or
corruption (out): 0x0000000000439d70 ***
======= Backtrace: =========
/lib/libc.so.6[0x2ae905fc101d]
/lib/libc.so.6(cfree+0x76)[0x2ae905fc2d26]
/usr/bin/gnome-power-manager[0x41dfb8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x2ae905842b5f]
/usr/lib/libgobject-2.0.so.0[0x2ae9058565ec]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x2ae905858005]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x2ae9058583b3]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x2ae905842b5f]
/usr/lib/libgobject-2.0.so.0[0x2ae9058565ec]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x2ae905858005]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x2ae9058583b3]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x2ae905842b5f]
/usr/lib/libgobject-2.0.so.0[0x2ae9058565ec]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x2ae905858005]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x2ae9058583b3]
/usr/bin/gnome-power-manager[0x40e4ed]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x2ae905842b5f]
/usr/lib/libgobject-2.0.so.0[0x2ae9058565ec]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x2ae905858005]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x2ae9058583b3]
/usr/bin/gnome-power-manager[0x42b1fe]
/usr/lib/libdbus-glib-1.so.2[0x2ae9032d969c]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f)[0x2ae905842b5f]
/usr/lib/libgobject-2.0.so.0[0x2ae9058565ec]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875)[0x2ae905858005]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x2ae9058583b3]
/usr/lib/libdbus-glib-1.so.2[0x2ae9032da59a]
/usr/lib/libdbus-1.so.3(dbus_connection_dispatch+0x32c)[0x2ae905607f5c]
/usr/lib/libdbus-glib-1.so.2[0x2ae9032d1fb5]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x2ae905ab00f2]
/usr/lib/libglib-2.0.so.0[0x2ae905ab3396]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0x2ae905ab3657]
/usr/bin/gnome-power-manager[0x41c5da]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2ae905f701c4]
/usr/bin/gnome-power-manager[0x407f39]
======= Memory map: ========
00400000-00448000 r-xp 00000000 fe:00 2187285
/usr/bin/gnome-power-manager
00647000-00649000 rw-p 00047000 fe:00 2187285
/usr/bin/gnome-power-manager
00649000-00aa8000 rw-p 00649000 00:00 0
[heap]
40000000-40001000 ---p 40000000 00:00 0
40001000-40801000 rw-p 40001000 00:00 0
40801000-40802000 ---p 40801000 00:00 0
40802000-41002000 rw-p 40802000 00:00 0
41002000-41003000 ---p 41002000 00:00 0
41003000-41803000 rw-p 41003000 00:00 0
41803000-41804000 ---p 41803000 00:00 0
41804000-42004000 rw-p 41804000 00:00 0
2aaaaaaab000-2aaaaaab9000 r-xp 00000000 fe:00 4230004
/usr/lib/gstreamer-0.10/libgstaudioconvert.so
2aaaaaab9000-2aaaaacb8000 ---p 0000e000 fe:00 4230004
/usr/lib/gstreamer-0.10/libgstaudioconvert.so
2aaaaacb8000-2aaaaacb9000 rw-p 0000d000 fe:00 4230004
/usr/lib/gstreamer-0.10/libgstaudioconvert.so
2aaaaacb9000-2aaaaacc3000 r-xp 00000000 fe:00 4229985
/usr/lib/gstreamer-0.10/libgstaudioresample.so
2aaaaacc3000-2aaaaaec2000 ---p 0000a000 fe:00 4229985
/usr/lib/gstreamer-0.10/libgstaudioresample.so
2aaaaaec2000-2aaaaaec3000 rw-p 00009000 fe:00 4229985
/usr/lib/gstreamer-0.10/libgstaudioresample.so
2aaaaaec3000-2aaaaaf33000 r-xp 00000000 fe:00 2383975
/usr/lib/liboil-0.3.so.0.2.0
2aaaaaf33000-2aaaab132000 ---p 00070000 fe:00 2383975
/usr/lib/liboil-0.3.so.0.2.0
2aaaab132000-2aaaab14e000 rw-p 0006f000 fe:00 2383975
/usr/lib/liboil-0.3.so.0.2.0
2aaaab14e000-2aaaab150000 rw-p 2aaaab14e000 00:00 0
2aaaab150000-2aaaab154000 r-xp 00000000 fe:00 4229992
/usr/lib/gstreamer-0.10/libgstvolume.so
2aaaab154000-2aaaab353000 ---p 00004000 fe:00 4229992
/usr/lib/gstreamer-0.10/libgstvolume.so
2aaaab353000-2aaaab354000 rw-p 00003000 fe:00 4229992
/usr/lib/gstreamer-0.10/libgstvolume.so
2aaaab354000-2aaaab378000 r-xp 00000000 fe:00 4167492
/usr/lib/libgstcontroller-0.10.so.0.16.0
2aaaab378000-2aaaab578000 ---p 00024000 fe:00 4167492
/usr/lib/libgstcontroller-0.10.so.0.16.0
2aaaab578000-2aaaab579000 rw-p 00024000 fe:00 4167492
/usr/lib/libgstcontroller-0.10.so.0.16.0
2aaaab579000-2aaaab57f000 r-xp 00000000 fe:00 4229902
/usr/lib/gstreamer-0.10/libgstautodetect.so
2aaaab57f000-2aaaab77e000 ---p 00006000 fe:00 4229902
/usr/lib/gstreamer-0.10/libgstautodetect.so
2aaaab77e000-2aaaab77f000 rw-p 00005000 fe:00 4229902
/usr/lib/gstreamer-0.10/libgstautodetect.so
2aaaab77f000-2aaaab796000 r-xp 00000000 fe:00 4229854
/usr/lib/gstreamer-0.10/libgstalsa.so
2aaaab796000-2aaaab995000 ---p 00017000 fe:00 4229854
/usr/lib/gstreamer-0.10/libgstalsa.so
2aaaab995000-2aaaab996000 rw-p 00016000 fe:00 4229854
/usr/lib/gstreamer-0.10/libgstalsa.so
2aaaab996000-2aaaaba6b000 r-xp 00000000 fe:00 4168037
/usr/lib/libasound.so.2.0.0
2aaaaba6b000-2aaaabc6a000 ---p 000d5000 fe:00 4168037
/usr/lib/libasound.so.2.0.0
2aaaabc6a000-2aaaabc72000 rw-p 000d4000 fe:00 4168037
/usr/lib/libasound.so.2.0.0
2aaaabc72000-2aaaabc73000 rw-s 00000000 00:08 3178512
/SYSV0056a4d5 (deleted)
2aaaabc73000-2aaaabc74000 r--s 80000000 00:0e 5165
/dev/snd/pcmC0D0p
2aaaabc74000-2aaaabc75000 rw-s 81000000 00:0e 5165
/dev/snd/pcmC0D0p
2aaaabc75000-2aaaabc85000 rw-s 00000000 00:0e 5165
/dev/snd/pcmC0D0p
2aaaabc85000-2aaaabc95000 rw-s 00000000 00:08 3211281
/SYSV0056a4d6 (deleted)
2ae8febb8000-2ae8febd3000 r-xp 00000000 fe:00 1015810
/lib/ld-2.7.so
2ae8febd3000-2ae8febd6000 rw-p 2ae8febd3000 00:00 0
2ae8fedd2000-2ae8fedd4000 rw-p 0001a000 fe:00 1015810
/lib/ld-2.7.so
2ae8fedd4000-2ae8fee88000 r-xp 00000000 fe:00 4167489
/usr/lib/libgstreamer-0.10.so.0.16.0
2ae8fee88000-2ae8ff088000 ---p 000b4000 fe:00 4167489
/usr/lib/libgstreamer-0.10.so.0.16.0
2ae8ff088000-2ae8ff08f000 rw-p 000b4000 fe:00 4167489
/usr/lib/libgstreamer-0.10.so.0.16.0
2ae8ff08f000-2ae8ff090000 rw-p 2ae8ff08f000 00:00 0
2ae8ff090000-2ae8ff0a9000 r-xp 00000000 fe:00 4166677
/usr/lib/libglade-2.0.so.0.0.7
2ae8ff0a9000-2ae8ff2a8000 ---p 00019000 fe:00 4166677
/usr/lib/libglade-2.0.so.0.0.7
2ae8ff2a8000-2ae8ff2aa000 rw-p 00018000 fe:00 4166677
/usr/lib/libglade-2.0.so.0.0.7
2ae8ff2aa000-2ae8ff3e2000 r-xp 00000000 fe:00 4165408
/usr/lib/libxml2.so.2.6.32
2ae8ff3e2000-2ae8ff5e1000 ---p 00138000 fe:00 4165408
/usr/lib/libxml2.so.2.6.32
2ae8ff5e1000-2ae8ff5eb000 rw-p 00137000 fe:00 4165408
/usr/lib/libxml2.so.2.6.32
2ae8ff5eb000-2ae8ff5ed000 rw-p 2ae8ff5eb000 00:00 0
2ae8ff5ed000-2ae8ff628000 r-xp 00000000 fe:00 4167983
/usr/lib/libwnck-1.so.22.3.7
2ae8ff628000-2ae8ff828000 ---p 0003b000 fe:00 4167983
/usr/lib/libwnck-1.so.22.3.7
2ae8ff828000-2ae8ff82a000 rw-p 0003b000 fe:00 4167983
/usr/lib/libwnck-1.so.22.3.7
2ae8ff82a000-2ae8ff83c000 r-xp 00000000 fe:00 4167149
/usr/lib/libgnome-keyring.so.0.1.1
2ae8ff83c000-2ae8ffa3b000 ---p 00012000 fe:00 4167149
/usr/lib/libgnome-keyring.so.0.1.1
2ae8ffa3b000-2ae8ffa3c000 rw-p 00011000 fe:00 4167149
/usr/lib/libgnome-keyring.so.0.1.1
2ae8ffa3c000-2ae8ffa4b000 r-xp 00000000 fe:00 4167436
/usr/lib/libpanel-applet-2.so.0.2.27
2ae8ffa4b000-2ae8ffc4a000 ---p 0000f000 fe:00 4167436
/usr/lib/libpanel-applet-2.so.0.2.27
2ae8ffc4a000-2ae8ffc4c000 rw-p 0000e000 fe:00 4167436
/usr/lib/libpanel-applet-2.so.0.2.27
2ae8ffc4c000-2ae8ffc4d000 rw-p 2ae8ffc4c000
Program received signal SIGABRT, Aborted.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 0x2ae908df5e60 (LWP 3657)]
0x00002ae905f831d5 in raise () from /lib/libc.so.6
(gdb) q
The program is running. Exit anyway? (y or n) y
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnome-power-manager depends on:
ii gconf2 2.22.0-1 GNOME configuration database syste
ii hal 0.5.11~rc2-1 Hardware Abstraction Layer
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.22.0-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.22.0-1 The Bonobo UI library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.6.4-1+b1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.74-2 simple interprocess messaging syst
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgconf2-4 2.22.0-1 GNOME configuration database syste
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii libgnome-keyring0 2.22.1-1 GNOME keyring services library
ii libgnome2-0 2.20.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgnomeui-0 2.20.1.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 1:2.22.0-2 GNOME Virtual File System (runtime
ii libgstreamer0.10-0 0.10.19-3 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.12.9-3 The GTK+ graphical user interface
ii libhal1 0.5.11~rc2-1 Hardware Abstraction Layer - share
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libnotify1 [libnotify1 0.4.4-3 sends desktop notifications to a n
ii liborbit2 1:2.14.12-0.1 libraries for ORBit2 - a CORBA ORB
ii libpanel-applet2-0 2.20.3-3 library for GNOME Panel applets
ii libpango1.0-0 1.20.2-2 Layout and rendering of internatio
ii libpng12-0 1.2.27-1 PNG library - runtime
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libwnck22 2.22.1-1 Window Navigator Construction Kit
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 2:1.0.3-1 X11 Xinerama extension library
ii libxml2 2.6.32.dfsg-2 GNOME XML library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii notification-daemon 0.3.7-1+b1 a daemon that displays passive pop
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
gnome-power-manager recommends no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list