$ sudo gdb /usr/sbin/NetworkManager GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run --no-daemon Starting program: /usr/sbin/NetworkManager --no-daemon Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1212319552 (LWP 31522)] NetworkManager: starting... *** glibc detected *** /usr/sbin/NetworkManager: munmap_chunk(): invalid pointer: 0x080b0fd2 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7c60d20] /usr/sbin/NetworkManager(nm_system_device_get_system_config+0x196)[0x807be66] /usr/sbin/NetworkManager(nm_device_new+0x227)[0x80560a7] /usr/sbin/NetworkManager(nm_create_device_and_add_to_list+0x138)[0x8067308] /usr/sbin/NetworkManager(nm_add_initial_devices+0xb0)[0x80674e0] /usr/sbin/NetworkManager(nm_hal_init+0x222)[0x8067782] /usr/sbin/NetworkManager(main+0x9ae)[0x806833e] /lib/libc.so.6(__libc_start_main+0xd8)[0xb7c13808] /usr/sbin/NetworkManager[0x8053011] ======= Memory map: ======== 08048000-0808b000 r-xp 00000000 03:03 806160 /usr/sbin/NetworkManager 0808b000-0808c000 rw-p 00043000 03:03 806160 /usr/sbin/NetworkManager 0808c000-080ce000 rw-p 0808c000 00:00 0 [heap] b7bd7000-b7bd8000 rw-p b7bd7000 00:00 0 b7bd8000-b7bfb000 r-xp 00000000 03:03 295131 /lib/libm-2.4.so b7bfb000-b7bfd000 rw-p 00022000 03:03 295131 /lib/libm-2.4.so b7bfd000-b7bfe000 rw-p b7bfd000 00:00 0 b7bfe000-b7d16000 r-xp 00000000 03:03 295129 /lib/libc-2.4.so b7d16000-b7d18000 r--p 00117000 03:03 295129 /lib/libc-2.4.so b7d18000-b7d1a000 rw-p 00119000 03:03 295129 /lib/libc-2.4.so b7d1a000-b7d1d000 rw-p b7d1a000 00:00 0 b7d1d000-b7d20000 r-xp 00000000 03:03 677022 /usr/lib/libgpg-error.so.0.2.1 b7d20000-b7d21000 rw-p 00002000 03:03 677022 /usr/lib/libgpg-error.so.0.2.1 b7d21000-b7d32000 r-xp 00000000 03:03 295612 /lib/libnsl-2.4.so b7d32000-b7d34000 rw-p 00010000 03:03 295612 /lib/libnsl-2.4.so b7d34000-b7d36000 rw-p b7d34000 00:00 0 b7d36000-b7d81000 r-xp 00000000 03:03 365703 /usr/lib/libgcrypt.so.11.2.1 b7d81000-b7d86000 rw-p 0004a000 03:03 365703 /usr/lib/libgcrypt.so.11.2.1 b7d86000-b7e16000 r-xp 00000000 03:03 361748 /usr/lib/libglib-2.0.so.0.1200.0 b7e16000-b7e17000 rw-p 0008f000 03:03 361748 /usr/lib/libglib-2.0.so.0.1200.0 b7e17000-b7e45000 r-xp 00000000 03:03 676619 /usr/lib/libdbus-1.so.2.0.0 b7e45000-b7e46000 rw-p 0002d000 03:03 676619 /usr/lib/libdbus-1.so.2.0.0 b7e46000-b7e47000 rw-p b7e46000 00:00 0 b7e47000-b7e7f000 r-xp 00000000 03:03 361756 /usr/lib/libgobject-2.0.so.0.1200.0 b7e7f000-b7e80000 rw-p 00038000 03:03 361756 /usr/lib/libgobject-2.0.so.0.1200.0 b7e80000-b7e9a000 r-xp 00000000 03:03 673141 /usr/lib/libdbus-glib-1.so.2.0.0 b7e9a000-b7e9b000 rw-p 00019000 03:03 673141 /usr/lib/libdbus-glib-1.so.2.0.0 b7e9b000-b7ea3000 r-xp 00000000 03:03 673406 /usr/lib/libnm-util.so.0.0.0 b7ea3000-b7ea4000 rw-p 00007000 03:03 673406 /usr/lib/libnm-util.so.0.0.0 b7ea4000-b7eb3000 r-xp 00000000 03:03 295154 /lib/libpthread-2.4.so b7eb3000-b7eb5000 rw-p 0000e000 03:03 295154 /lib/libpthread-2.4.so b7eb5000-b7eb7000 rw-p b7eb5000 00:00 0 b7eb7000-b7eba000 r-xp 00000000 03:03 898027 /usr/lib/libgthread-2.0.so.0.1200.0 b7eba000-b7ebb000 rw-p 00003000 03:03 898027 /usr/lib/libgthread-2.0.so.0.1200.0 b7ebb000-b7ebd000 r-xp 00000000 03:03 294769 /lib/libfwutil.so.0.6.3 b7ebd000-b7ebe000 rw-p 00001000 03:03 294769 /lib/libfwutil.so.0.6.3 b7ebe000-b7ebf000 rw-p b7ebe000 00:00 0 b7ebf000-b7ec4000 r-xp 00000000 03:03 294901 /lib/libfwnetconfig.so.0.6.3 b7ec4000-b7ec5000 rw-p 00004000 03:03 294901 /lib/libfwnetconfig.so.0.6.3 b7ec5000-b7eef000 r-xp 00000000 03:03 364410 /usr/lib/libnl.so.1.0-pre5 b7eef000-b7ef1000 rw-p 0002a000 03:03 364410 /usr/lib/libnl.so.1.0-pre5 b7ef1000-b7ef6000 r-xp 00000000 03:03 359563 /usr/lib/libiw.so.28 b7ef6000-b7ef7000 rw-p 00004000 03:03 359563 /usr/lib/libiw.so.28 b7ef7000-b7eff000 r-xp 00000000 03:03 676743 /usr/lib/libhal.so.1.0.0 b7eff000-b7f00000 rw-p 00007000 03:03 676743 /usr/lib/libhal.so.1.0.0 b7f1d000-b7f27000 r-xp 00000000 03:03 368974 /usr/lib/libgcc_s.so.1 b7f27000-b7f28000 rw-p 00009000 03:03 368974 /usr/lib/libgcc_s.so.1 b7f28000-b7f2a000 r-xp 00000000 03:03 440628 /usr/lib/gconv/ISO8859-2.so b7f2a000-b7f2c000 rw-p 00001000 03:03 440628 /usr/lib/gconv/ISO8859-2.so b7f2c000-b7f2d000 rw-p b7f2c000 00:00 0 b7f2d00 Program received signal SIGABRT, Aborted. [Switching to Thread -1212319552 (LWP 31522)] 0xb7f2d410 in ?? () (gdb) bt full #0 0xb7f2d410 in ?? () No symbol table info available. #1 0xbff56e24 in ?? () No symbol table info available. #2 0x00000006 in ?? () No symbol table info available. #3 0x00007b22 in ?? () No symbol table info available. #4 0xb7c26591 in raise () from /lib/libc.so.6 No symbol table info available. #5 0xb7c27bf9 in abort () from /lib/libc.so.6 No symbol table info available. #6 0xb7c5b38b in __libc_message () from /lib/libc.so.6 No symbol table info available. #7 0xb7c60d20 in malloc_printerr () from /lib/libc.so.6 No symbol table info available. #8 0x0807be66 in nm_system_device_get_system_config (dev=0x80b1030, app_data=0x8092fb8) at NetworkManagerFrugalware.c:516 __r1 = __r2 = profile = interface = (fwnet_interface_t *) 0x80b7e80 dhcp = i = buf = 0x2
data = 0x80b0fda "gcc_s.so.1" __PRETTY_FUNCTION__ = "nm_system_device_get_system_config" #9 0x080560a7 in nm_device_new (iface=0x80affc8 "eth1", udi=0x8096700 "/org/freedesktop/Hal/devices/net_00_90_f5_3d_c5_6f", test_dev=0, test_dev_type=DEVICE_TYPE_UNKNOWN, app_data=0x8092fb8) at nm-device.c:186 dev = (NMDevice *) 0x80b1030 type = DEVICE_TYPE_802_3_ETHERNET args = {0xbff576a8, 0xb7c62354, 0xb7d1a140, 0x80af5c8, 0xb7eff67c, 0x80affc8, 0x80af5c8, 0xbff576b8} __PRETTY_FUNCTION__ = "nm_device_new" #10 0x08067308 in nm_create_device_and_add_to_list (data=0x8092fb8, udi=0x8096700 "/org/freedesktop/Hal/devices/net_00_90_f5_3d_c5_6f", iface=0x80affc8 "eth1", test_device=0, test_device_type=DEVICE_TYPE_UNKNOWN) at NetworkManager.c:132 dev = __FUNCTION__ = "nm_create_device_and_add_to_list" __PRETTY_FUNCTION__ = "nm_create_device_and_add_to_list" ---Type to continue, or q to quit--- #11 0x080674e0 in nm_add_initial_devices (data=0x8092fb8) at NetworkManager.c:334 iface = 0x80affc8 "eth1" net_devices = (char **) 0x80af5d8 num_net_devices = 3 error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 0, padding1 = 0x8092fb8} __PRETTY_FUNCTION__ = "nm_add_initial_devices" #12 0x08067782 in nm_hal_init (data=0x8092fb8) at NetworkManager.c:649 __PRETTY_FUNCTION__ = "nm_hal_init" #13 0x0806833e in main (argc=Cannot access memory at address 0x0 ) at NetworkManager.c:832 become_daemon = 0 enable_test_devices = 0 show_usage = 0 owner = pidfile = 0x0 user_pidfile = 0x0 __PRETTY_FUNCTION__ = "main"