Re: [gpm] Debugging gnome-power-manager
- From: "Nathan R. Yergler" <nathan yergler net>
- To: richard hughsie com
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] Debugging gnome-power-manager
- Date: Fri, 29 Sep 2006 09:39:46 -0400
On a possibly related note, I have found that while 2.17.1 works great
for my battery, it only works with --verbose --no-daemon. Otherwise it
crashes and Bug Buddy collects the attached report. It looks like it
has something to do with threading... anyway, for what it's worth.
NRY
On Tue, 2006-09-26 at 17:29 +0100, Richard Hughes wrote:
> On Tue, 2006-09-26 at 12:00 -0400, Nathan R. Yergler wrote:
> > On Mon, 2006-09-25 at 21:28 +0100, Richard Hughes wrote:
> > > This is the line to pay attention to. You might want to try 2.17.1 as
> > > I've been working on a better fix with HEAD. If it works okay, I'll
> > > backport into 2.16.1.
> >
> > I built and started running 2.17.1 this morning. So far it's been
> > accurately reporting my battery information, and I haven't seen the
> > problem line again, so I think that contains the fix.
>
> Brilliant, thanks. That's what I needed to know.
>
> Richard.
>
>
Memory status: size: 29261824 vsize: 0 resident: 29261824 share: 0 rss: 4444160 rss_rlim: 0
CPU usage: start_time: 1159532174 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0
Backtrace was generated from '/usr/local/bin/gnome-power-manager'
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1225668944 (LWP 5353)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79a1313 in __waitpid_nocancel ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7ef51b6 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0xb70b3688 in strcmp () from /lib/tls/i686/cmov/libc.so.6
#5 0xb71c95ce in g_slist_find_custom () from /usr/lib/libglib-2.0.so.0
#6 0x0804fa78 in gpm_debug_real (func=0x806862c "gpm_proxy_connect",
file=0x8068412 "gpm-proxy.c", line=99,
format=0x8068534 "emitting proxy-status TRUE: %s") at gpm-debug.c:106
#7 0x08050efe in gpm_proxy_connect (gproxy=0x80b7380) at gpm-proxy.c:99
#8 0x08051045 in gpm_proxy_assign (gproxy=0x80b7380,
bus_type=GPM_PROXY_SYSTEM, service=0x80689d8 "org.freedesktop.Hal",
path=0x806e694 "/org/freedesktop/Hal/Manager",
interface=0x806e678 "org.freedesktop.Hal.Manager") at gpm-proxy.c:181
#9 0x08060a43 in gpm_hal_init (hal=0x80c9900) at gpm-hal.c:1005
#10 0xb727994a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#11 0xb7260a02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#12 0xb725ec7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#13 0xb725f7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb725f9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#15 0x0805ee25 in gpm_hal_new () at gpm-hal.c:1088
#16 0x0805c21e in gpm_power_init (power=0x80b7350) at gpm-power.c:1823
#17 0xb727994a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#18 0xb7260a02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#19 0xb725ec7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#20 0xb725f7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#21 0xb725f9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#22 0x0805b765 in gpm_power_new () at gpm-power.c:1893
#23 0x080572a8 in gpm_manager_init (manager=0x813f000) at gpm-manager.c:2740
#24 0xb727994a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#25 0xb7260a02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#26 0xb725ec7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#27 0xb725f7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#28 0xb725f9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#29 0x0805631c in gpm_manager_new () at gpm-manager.c:2985
#30 0x08054805 in main (argc=) at gpm-main.c:223
Thread 1 (Thread -1225668944 (LWP 5353)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb79a1313 in __waitpid_nocancel ()
from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7ef51b6 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0xb70b3688 in strcmp () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5 0xb71c95ce in g_slist_find_custom () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6 0x0804fa78 in gpm_debug_real (func=0x806862c "gpm_proxy_connect",
file=0x8068412 "gpm-proxy.c", line=99,
format=0x8068534 "emitting proxy-status TRUE: %s") at gpm-debug.c:106
args = <value optimized out>
buffer = "\000x�a�\bO\f\b0t$�\210�37u#�0t$�\200N\f\b��\"�\200N\f\b\000\000\000\000��n�0t$�", '\0' <repeats 12 times>, "0t$�\200N\f\b�23\b���x\003\000\000p\001\000\0000�\026����Ou#�0t$�\200N\f\b�\231�,�a�0w$��23\b�'a�\210!\n\b0t$�\b�\231�(�232�\b\000\000\000\030�237\232�\002\000\000\000��X�\231�(�232�\001\000\000\0008�\231�("...
#7 0x08050efe in gpm_proxy_connect (gproxy=0x80b7380) at gpm-proxy.c:99
error = (GError *) 0x0
__FUNCTION__ = "gpm_proxy_connect"
__PRETTY_FUNCTION__ = "gpm_proxy_connect"
#8 0x08051045 in gpm_proxy_assign (gproxy=0x80b7380,
bus_type=GPM_PROXY_SYSTEM, service=0x80689d8 "org.freedesktop.Hal",
path=0x806e694 "/org/freedesktop/Hal/Manager",
interface=0x806e678 "org.freedesktop.Hal.Manager") at gpm-proxy.c:181
error = (GError *) 0x0
__FUNCTION__ = "gpm_proxy_assign"
__PRETTY_FUNCTION__ = "gpm_proxy_assign"
#9 0x08060a43 in gpm_hal_init (hal=0x80c9900) at gpm-hal.c:1005
error = (GError *) 0x0
__FUNCTION__ = "gpm_hal_init"
#10 0xb727994a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0xb7260a02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0xb725ec7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0xb725f7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0xb725f9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0x0805ee25 in gpm_hal_new () at gpm-hal.c:1088
No locals.
#16 0x0805c21e in gpm_power_init (power=0x80b7350) at gpm-power.c:1823
on_ac = <value optimized out>
client = (GConfClient *) 0x807c560
#17 0xb727994a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0xb7260a02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0xb725ec7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0xb725f7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0xb725f9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x0805b765 in gpm_power_new () at gpm-power.c:1893
No locals.
#23 0x080572a8 in gpm_manager_init (manager=0x813f000) at gpm-manager.c:2740
on_ac = -1214657319
use_time = <value optimized out>
check_type_cpu = <value optimized out>
enabled = 0
allowed_in_menu = <value optimized out>
lcd_dim_brightness = <value optimized out>
connection = <value optimized out>
error = (GError *) 0x0
__FUNCTION__ = "gpm_manager_init"
#24 0xb727994a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0xb7260a02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#26 0xb725ec7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#27 0xb725f7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#28 0xb725f9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#29 0x0805631c in gpm_manager_new () at gpm-manager.c:2985
No locals.
#30 0x08054805 in main (argc=) at gpm-main.c:223
loop = <value optimized out>
master = <value optimized out>
flags = 29295
session_connection = (DBusGConnection *) 0x80c6dcc
verbose = 0
no_daemon = 0
timed_exit = 0
manager = <value optimized out>
error = (GError *) 0x0
context = (GOptionContext *) 0x8076078
program = (GnomeProgram *) 0x807e028
debugoptions = (char **) 0xb7166574
options = {{long_name = 0x8069715 "no-daemon", short_name = 0 '\0',
flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbfaa08e0,
description = 0x806971f "Do not daemonize", arg_description = 0x0}, {
long_name = 0x8069730 "verbose", short_name = 0 '\0', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0xbfaa08e4,
description = 0x80698cc "Show extra debugging information",
arg_description = 0x0}, {long_name = 0x8069738 "timed-exit",
short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE,
arg_data = 0xbfaa08dc,
description = 0x80698f0 "Exit after a small delay (for debugging)",
arg_description = 0x0}, {long_name = 0x8069743 "debug",
short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_STRING_ARRAY,
arg_data = 0xbfaa08d4,
description = 0x806991c "Debug specific files, e.g. power",
arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\0', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0,
arg_descri
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]