[Bug 707127] New: xfce4-power-manager segfaults after suspend / resume
https://bugzilla.novell.com/show_bug.cgi?id=707127 https://bugzilla.novell.com/show_bug.cgi?id=707127#c0 Summary: xfce4-power-manager segfaults after suspend / resume Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Xfce AssignedTo: bnc-team-xfce@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: qa@suse.de Found By: Third Party Developer/Partner Blocker: --- recently, I noticed that very often (but not always) after a suspend / resume cycle, the xfce4-power-manager was gone. Today, I started it from GDB in order to get some information... (gdb) bt #0 0x000000000040e72f in xfpm_battery_get_message_from_battery_state (battery=0x69acf0) at xfpm-battery.c:204 #1 xfpm_battery_notify (battery=0x69acf0) at xfpm-battery.c:339 #2 0x000000000040effc in xfpm_battery_notify_idle (data=0x69acf0) at xfpm-battery.c:361 #3 0x00007ffff5c6d8ad in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #4 0x00007ffff5c6e0a8 in ?? () from /usr/lib64/libglib-2.0.so.0 #5 0x00007ffff5c6e5e2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 #6 0x00007ffff76cf167 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0 #7 0x0000000000409009 in xfpm_start (bus=<optimized out>, client_id=0x0, dump=<optimized out>) at xfpm-main.c:235 #8 0x0000000000409623 in main (argc=1, argv=0x7fffffffdd68) at xfpm-main.c:423 (gdb) bt full #0 0x000000000040e72f in xfpm_battery_get_message_from_battery_state (battery=0x69acf0) at xfpm-battery.c:204 msg = 0x0 #1 xfpm_battery_notify (battery=0x69acf0) at xfpm-battery.c:339 message = 0x0 #2 0x000000000040effc in xfpm_battery_notify_idle (data=0x69acf0) at xfpm-battery.c:361 battery = <optimized out> #3 0x00007ffff5c6d8ad in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #4 0x00007ffff5c6e0a8 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x00007ffff5c6e5e2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #6 0x00007ffff76cf167 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #7 0x0000000000409009 in xfpm_start (bus=<optimized out>, client_id=0x0, dump=<optimized out>) at xfpm-main.c:235 manager = 0x66b860 error = 0x0 __func__ = "xfpm_start" #8 0x0000000000409623 in main (argc=1, argv=0x7fffffffdd68) at xfpm-main.c:423 bus = 0x667c78 error = 0x0 proxy = <optimized out> run = 0 quit = 0 config = 0 version = 0 reload = 0 no_daemon = 1 debug = 0 dump = 0 client_id = 0x0 option_entries = {{long_name = 0x41aee6 "run", short_name = 114 'r', flags = 1, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc50, description = 0x0, arg_description = 0x0}, {long_name = 0x41aeea "no-daemon", short_name = 0 '\000', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc64, description = 0x41aef4 "Do not daemonize", arg_description = 0x0}, {long_name = 0x41af05 "debug", short_name = 0 '\000', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc68, description = 0x41af0b "Enable debugging", arg_description = 0x0}, {long_name = 0x41af1c "dump", short_name = 0 '\000', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc6c, description = 0x41af21 "Dump all information", arg_description = 0x0}, {long_name = 0x41b574 "restart", short_name = 0 '\000', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc60, description = 0x41b1d0 "Restart the running instance of Xfce power manager", arg_description = 0x0}, {long_name = 0x41af36 "customize", short_name = 99 'c', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc58, description = 0x41af40 "Show the configuration dialog", arg_description = 0x0}, {long_name = 0x41bffe "quit", short_name = 113 'q', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc54, description = 0x41b208 "Quit any running xfce power manager", arg_description = 0x0}, {long_name = 0x41af5e "version", short_name = 86 'V', flags = 2, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdc5c, description = 0x41af66 "Version information", arg_description = 0x0}, {long_name = 0x41af7a "sm-client-id", short_name = 0 '\000', flags = 1, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffdc38, description = 0x0, arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}} (gdb) Hope this helps :-) I also have a core file available, but it is ~50MB compressed, so I'd only upload it if it will be of use for someone. This is with FACTORY, last change in xfce4-power-manager was quite some time ago: seife@susi:~> rpm -qa --last |grep xfce4-power-manager xfce4-power-manager-debuginfo-1.0.10-13.1 Mi 20 Jul 2011 08:19:37 CEST xfce4-power-manager-1.0.10-13.1 Mi 18 Mai 2011 13:20:57 CEST It definitely started failing only recently (maybe a week ago?), so I guess the change in something else (libnotify?) triggered this problem. -- 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=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c1
--- Comment #1 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c2
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c3
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c4
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c5
--- Comment #5 from Stefan Seyfried
Am Montag, 25. Juli 2011 schrieb Stefan Seyfried:
My question is: does this 0xaaaaaaaaaaaaaaaa ring a bell for somebody? Is this some magic value or does libnotify use this for something?
Yes, that's the magic value of $MALLOC_PERTURB_ in factory. This is what glibc sets freed memory to. So someone freed your battery's priv, but it still has a pointer to it.
Actually someone freed "battery", so battery->priv is 0xaaaaaaaaaaaaaaaaaa. ;) Ciao, Marcus --- So it's clear where this 0xaa comes from. -- 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=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c6
--- Comment #6 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c7
--- Comment #7 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c8
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c9
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c10
--- Comment #10 from Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c11
--- Comment #11 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c12
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c13
--- Comment #13 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c15
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=707127
https://bugzilla.novell.com/show_bug.cgi?id=707127#c16
--- Comment #16 from Stefan Seyfried
participants (1)
-
bugzilla_noreply@novell.com