Re: NetworkManager crashing upon dbus call: getNetworks()
- From: Dan Williams <dcbw redhat com>
- To: Ole Martin <nmlist olemartin org>
- Cc: networkmanager-list gnome org
- Subject: Re: NetworkManager crashing upon dbus call: getNetworks()
- Date: Tue, 08 Apr 2008 12:16:06 -0400
On Mon, 2008-04-07 at 22:45 +0200, Ole Martin wrote:
> Hi!
>
> I'm writing a python application/script which is using the
> NetworkManager dbus API. I have done this successfully before, but now
> things suddenly starting acting wierd.
>
> Whenever i call <wireless device>.getNetworks(), dbus throws an
> exception with these details:
>
> org.freedesktop.DBus.Error.NoReply: Message did not receive a reply
> (timeout by message bus)
>
>
> Although it says it's a timeout, i don't really think so:
> root # time python script.py
> org.freedesktop.DBus.Error.NoReply: Message did not receive a reply
> (timeout by message bus)
>
> real 0m0.134s
> user 0m0.060s
> sys 0m0.008s
>
>
> As i said, this worked well before, and i don't think there should be
> any of the changes i did to the code which could raise this..
>
> Code:
> try:
> for network in self.device_wlan.getNetworks():
> netObj = self.bus.get_object('org.freedesktop.NetworkManager',
> network)
> networks.append(<boring details about netObj>)
> except Exception, details: # Catch the exception, just to make it
> pretty for you..
> print str(details)
>
>
> Any input on this is appreciated! :-)
Are there perhaps any APs around whose SSIDs have a '/' in them or
aren't UTF-8 safe? There was a bug in NM versions before 0.6.6 which
could cause crashes in certain circumstances. This could happen when NM
would try to push the network object paths back through D-Bus in reply
to your getNetworks() call. I'd give 0.6.6 a shot because that would
most likely fix your issue.
Dan
> Thanks,
> Ole Martin
>
> And, at last, the latest additions to my log file:
>
> <info> Activation (wlan0) Finish handler scheduled.
> <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit)
> complete.
> <info> Activation (wlan0) successful, device activated.
> <WARN> nm_signal_handler(): Caught signal 11. Generating
> backtrace...
> ******************* START **********************************
> (no debugging symbols found)
> Using host libthread_db library "/lib/libthread_db.so.1".
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb7b376c0 (LWP 11615)]
> [New Thread 0xb69ffb90 (LWP 11665)]
> [New Thread 0xb7335b90 (LWP 11622)]
> [New Thread 0xb7b36b90 (LWP 11619)]
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> 0xffffe410 in __kernel_vsyscall ()
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0xb7e85fab in waitpid () from /lib/libpthread.so.0
> #2 0x0806e53e in ?? ()
> #3 0x00002db4 in ?? ()
> #4 0xbfcbf3d8 in ?? ()
> #5 0x00000000 in ?? ()
>
> Thread 4 (Thread 0xb7b36b90 (LWP 11619)):
> #0 0xffffe410 in __kernel_vsyscall ()
> No symbol table info available.
> #1 0xb7c16e63 in poll () from /lib/libc.so.6
> No symbol table info available.
> #2 0xb7d36413 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #3 0x0809ed88 in ?? ()
> No symbol table info available.
> #4 0x00000002 in ?? ()
> No symbol table info available.
> #5 0x000007d0 in ?? ()
> No symbol table info available.
> #6 0x0809ed88 in ?? ()
> No symbol table info available.
> #7 0x00000002 in ?? ()
> No symbol table info available.
> #8 0xb7dc1214 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #9 0x0809e490 in ?? ()
> No symbol table info available.
> #10 0xb7b36324 in ?? ()
> No symbol table info available.
> #11 0x00000001 in ?? ()
> No symbol table info available.
> #12 0x00000001 in ?? ()
> No symbol table info available.
> #13 0x0809e490 in ?? ()
> No symbol table info available.
> #14 0x0809ed88 in ?? ()
> No symbol table info available.
> #15 0xb7c16df0 in ?? () from /lib/libc.so.6
> No symbol table info available.
> #16 0xb7e81b90 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #17 0xb7e80420 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #18 0xb7d56243 in g_thread_self () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #19 0xb7d36797 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #20 0x08057f1e in ?? ()
> No symbol table info available.
> #21 0x0809d6d0 in ?? ()
> No symbol table info available.
> #22 0x0809bfb8 in ?? ()
> No symbol table info available.
> #23 0x0809ef70 in ?? ()
> No symbol table info available.
> #24 0xb7e81b90 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #25 0xb7b36388 in ?? ()
> No symbol table info available.
> #26 0xb7dc1214 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #27 0xb7b363b8 in ?? ()
> No symbol table info available.
> #28 0xb7d567bf in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #29 0x0809f108 in ?? ()
> No symbol table info available.
> #30 0x0809ef70 in ?? ()
> No symbol table info available.
> #31 0xb7e79000 in ?? ()
> No symbol table info available.
> #32 0x00014084 in ?? ()
> No symbol table info available.
> #33 0xb7b66a70 in ?? () from /lib/libc.so.6
> No symbol table info available.
> #34 0xb7e8cff4 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #35 0xb7e80420 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #36 0xb7e8cff4 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #37 0x00000000 in ?? ()
> No symbol table info available.
>
> Thread 3 (Thread 0xb7335b90 (LWP 11622)):
> #0 0xffffe410 in __kernel_vsyscall ()
> No symbol table info available.
> #1 0xb7c16e63 in poll () from /lib/libc.so.6
> No symbol table info available.
> #2 0xb7d36413 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #3 0x080a01f8 in ?? ()
> No symbol table info available.
> #4 0x00000001 in ?? ()
> No symbol table info available.
> #5 0xffffffff in ?? ()
> No symbol table info available.
> #6 0x080a01f8 in ?? ()
> No symbol table info available.
> #7 0x00000001 in ?? ()
> No symbol table info available.
> #8 0xb7dc1214 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #9 0x080a1160 in ?? ()
> No symbol table info available.
> #10 0xb7335324 in ?? ()
> No symbol table info available.
> #11 0x00000001 in ?? ()
> No symbol table info available.
> #12 0x00000001 in ?? ()
> No symbol table info available.
> #13 0x080a1160 in ?? ()
> No symbol table info available.
> #14 0x080a01f8 in ?? ()
> No symbol table info available.
> #15 0xb7c16df0 in ?? () from /lib/libc.so.6
> No symbol table info available.
> #16 0xb7e81b90 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #17 0xb7e80420 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #18 0xb7d56243 in g_thread_self () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #19 0xb7d36797 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #20 0x08057f1e in ?? ()
> No symbol table info available.
> #21 0x0809efc8 in ?? ()
> No symbol table info available.
> #22 0x0809bfb8 in ?? ()
> No symbol table info available.
> #23 0x080a01d0 in ?? ()
> No symbol table info available.
> #24 0xb7e81b90 in ?? () from /lib/libpthread.so.0
> No symbol table info available.
> #25 0xb7335388 in ?? ()
> No symbol table info available.
> #26 0xb7dc1214 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #27 0xb73353b8 in ?? ()
> No symbol table info available.
> #28 0xb7d567bf in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #29 0x080a1800 in ?? ()
> No symbol table info available.
> #30 0x080a01d0 in ?? ()
> No symbol table info available.
> #31 0x00000000 in ?? ()
> No symbol table info available.
>
> Thread 2 (Thread 0xb69ffb90 (LWP 11665)):
> #0 0xffffe410 in __kernel_vsyscall ()
> No symbol table info available.
> #1 0xb7e8500b in read () from /lib/libpthread.so.0
> No symbol table info available.
> #2 0xb7d33e8e in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #3 0x00000010 in ?? ()
> No symbol table info available.
> #4 0xb69ff368 in ?? ()
> No symbol table info available.
> #5 0x00000014 in ?? ()
> No symbol table info available.
> #6 0xb7e84d41 in __lll_mutex_unlock_wake () from /lib/libpthread.so.0
> No symbol table info available.
> #7 0xb7e81ba9 in _L_mutex_unlock_60 () from /lib/libpthread.so.0
> No symbol table info available.
> #8 0xb7e8183e in __pthread_mutex_unlock_usercnt ()
> from /lib/libpthread.so.0
> No symbol table info available.
> #9 0xb7d567bf in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #10 0x00000000 in ?? ()
> No symbol table info available.
>
> Thread 1 (Thread 0xb7b376c0 (LWP 11615)):
> #0 0xffffe410 in __kernel_vsyscall ()
> No symbol table info available.
> #1 0xb7e85fab in waitpid () from /lib/libpthread.so.0
> No symbol table info available.
> #2 0x0806e53e in ?? ()
> No symbol table info available.
> #3 0x00002db4 in ?? ()
> No symbol table info available.
> #4 0xbfcbf3d8 in ?? ()
> No symbol table info available.
> #5 0x00000000 in ?? ()
> No symbol table info available.
> #0 0xffffe410 in __kernel_vsyscall ()
> The program is running. Quit anyway (and detach it)? (y or n)
> [answered Y; input not from terminal]
> ******************* END **********************************
>
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]