NetworkManager being killed getting AP properties by dbus



Hi People,
I am experiencing a bug in NetworkManager using rhel6:
As I saw a message asking me to report bugs in the mailing list I came here. =)
uname -a
Linux localhost.localdomain 2.6.32-44.1.el6.x86_64 #1 SMP Wed Jul 14 18:51:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
hugo REDHAT ~$:rpm -q NetworkManager dbus
NetworkManager-0.8.1-2.el6.x86_64
dbus-1.2.24-1.el6.x86_64

Here is the backtrace. Unfortunately I don't have the debuginfo packages.. After the bt I describe how to reproduce.

Jul 22 17:07:12 localhost NetworkManager[4632]: <warn> caught signal 11. Generating backtrace...                                                                                
Jul 22 17:07:12 localhost NetworkManager: ******************* START **********************************                                                                          
Jul 22 17:07:13 localhost NetworkManager: [Thread debugging using libthread_db enabled]                                                                                         
Jul 22 17:07:13 localhost NetworkManager: [New Thread 0x7ffff4a07710 (LWP 4635)]                                                                                                
Jul 22 17:07:13 localhost NetworkManager: 0x00007ffff6dbe05d in waitpid () from /lib64/libpthread.so.0                                                                          
Jul 22 17:07:13 localhost NetworkManager: #0  0x00007ffff6dbe05d in waitpid () from /lib64/libpthread.so.0                                                                      
Jul 22 17:07:13 localhost NetworkManager: #1  0x000000000045673b in nm_logging_backtrace ()                                                                                     
Jul 22 17:07:13 localhost NetworkManager: #2  0x000000000043e779 in ?? ()                                                                                                       
Jul 22 17:07:13 localhost NetworkManager: #3  <signal handler called>                                                                                                           
Jul 22 17:07:13 localhost NetworkManager: #4  0x0000003fcce0b064 in ?? () from /usr/lib64/libdbus-glib-1.so.2                                                                   
Jul 22 17:07:13 localhost NetworkManager: #5  0x0000003fc822a7a3 in g_hash_table_foreach () from /lib64/libglib-2.0.so.0                                                        
Jul 22 17:07:13 localhost NetworkManager: #6  0x0000003fcce0d903 in ?? () from /usr/lib64/libdbus-glib-1.so.2                                                                   
Jul 22 17:07:13 localhost NetworkManager: #7  0x0000003fcaa1ccde in ?? () from /lib64/libdbus-1.so.3                                                                            
Jul 22 17:07:13 localhost NetworkManager: #8  0x0000003fcaa10a2c in dbus_connection_dispatch () from /lib64/libdbus-1.so.3                                                      
Jul 22 17:07:13 localhost NetworkManager: #9  0x0000003fcce09a55 in ?? () from /usr/lib64/libdbus-glib-1.so.2                                                                   
Jul 22 17:07:13 localhost NetworkManager: #10 0x0000003fc8238eee in g_main_context_dispatch () from /lib64/libglib-2.0.so.0                                                     
Jul 22 17:07:13 localhost NetworkManager: #11 0x0000003fc823c918 in ?? () from /lib64/libglib-2.0.so.0                                                                          
Jul 22 17:07:13 localhost NetworkManager: #12 0x0000003fc823cd35 in g_main_loop_run () from /lib64/libglib-2.0.so.0                                                             
Jul 22 17:07:13 localhost NetworkManager: #13 0x000000000043fa9b in main ()                                                                                                     
Jul 22 17:07:13 localhost NetworkManager:                                                                                                                                       
Jul 22 17:07:13 localhost NetworkManager: Thread 2 (Thread 0x7ffff4a07710 (LWP 4635)):                                                                                          
Jul 22 17:07:13 localhost NetworkManager: #0  0x00007ffff6dbd50d in read () from /lib64/libpthread.so.0                                                                         
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #1  0x0000003fc8239fbb in ?? () from /lib64/libglib-2.0.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #2  0x0000003fc8262044 in ?? () from /lib64/libglib-2.0.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #3  0x00007ffff6db67e1 in start_thread () from /lib64/libpthread.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #4  0x00007ffff605851d in clone () from /lib64/libc.so.6
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager:
Jul 22 17:07:13 localhost NetworkManager: Thread 1 (Thread 0x7ffff7fce7e0 (LWP 4632)):
Jul 22 17:07:13 localhost NetworkManager: #0  0x00007ffff6dbe05d in waitpid () from /lib64/libpthread.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #1  0x000000000045673b in nm_logging_backtrace ()
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #2  0x000000000043e779 in ?? ()
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #3  <signal handler called>
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #4  0x0000003fcce0b064 in ?? () from /usr/lib64/libdbus-glib-1.so.2
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #5  0x0000003fc822a7a3 in g_hash_table_foreach () from /lib64/libglib-2.0.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #6  0x0000003fcce0d903 in ?? () from /usr/lib64/libdbus-glib-1.so.2
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #7  0x0000003fcaa1ccde in ?? () from /lib64/libdbus-1.so.3
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #8  0x0000003fcaa10a2c in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #9  0x0000003fcce09a55 in ?? () from /usr/lib64/libdbus-glib-1.so.2
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #10 0x0000003fc8238eee in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #11 0x0000003fc823c918 in ?? () from /lib64/libglib-2.0.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #12 0x0000003fc823cd35 in g_main_loop_run () from /lib64/libglib-2.0.so.0
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: #13 0x000000000043fa9b in main ()
Jul 22 17:07:13 localhost NetworkManager: No symbol table info available.
Jul 22 17:07:13 localhost NetworkManager: A debugging session is active.
Jul 22 17:07:13 localhost NetworkManager:
Jul 22 17:07:13 localhost NetworkManager: #011Inferior 1 [process 4632] will be detached.
Jul 22 17:07:13 localhost NetworkManager:
Jul 22 17:07:13 localhost NetworkManager: Quit anyway? (y or n) [answered Y; input not from terminal]
Jul 22 17:07:13 localhost NetworkManager: ******************* END **********************************


The code I used for getting access point information using python was:

 import dbus
sys_bus = dbus.SystemBus()
nm = sys_bus.get_object('org.freedesktop.NetworkManager', '/org/freedesktop/NetworkManager')
devices = nm.GetDevices(dbus_interface='org.freedesktop.NetworkManager')
device = sys_bus.get_object('org.freedesktop.NetworkManager', devices[1])
access = device.GetAccessPoints(dbus_interface='org.freedesktop.NetworkManager.Device.Wireless')
ap = sys_bus.get_object('org.freedesktop.NetworkManager', access[0])
ap_props = dbus.Interface(ap, 'org.freedesktop.DBus.Properties')
props  = ap_props.GetAll('org.freedesktop.NetworkManager.AccessPoint', byte_arrays=True)

The error message it receives is:
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.88 was not provided by any .service files

If I print ap_props I get:
>>> str(ap_props)
 "<Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x1865cb0> :1.88 /org/freedesktop/NetworkManager/AccessPoint/1 at 0x199a190> implementing 'org.freedesktop.DBus.Properties' at 0x199a1d0>"

Is there any other information I can give you?
Thanks!

--
-- Hugo Melo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]