Bug 134178 - NetworkManager segfaults when ejecting a pcmcia card
Summary: NetworkManager segfaults when ejecting a pcmcia card
Status: RESOLVED FIXED
: 136432 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Alpha 3
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Robert Love
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 14:09 UTC by Stefan Scheler
Modified: 2005-12-01 22:03 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
last few lines of a strace while segfaulting (1.33 KB, text/plain)
2005-11-17 15:02 UTC, Timo Hoenig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Scheler 2005-11-17 14:09:01 UTC
NetworkManager segfaults reliably when ejecting a pcmcia card or removing a wlan driver module.
Comment 1 Timo Hoenig 2005-11-17 14:18:05 UTC
Stefan, can you please try with the updated packages which can be found at [1] and report if you still see NetworkManager segfaulting.

[1] http://primates.ximian.com/~rml/networkmanager/RPMS/i386/
Comment 2 Stefan Scheler 2005-11-17 14:44:22 UTC
can't install these because of dependency issues, but it is also segfaulting in STABLE.
Comment 3 Timo Hoenig 2005-11-17 14:52:00 UTC
You can neglect the dependency regarding dhcpd. 
Comment 4 Timo Hoenig 2005-11-17 14:52:18 UTC
NetworkManager does not segfault with a 10.0 and the RPMS mentioned above.
Comment 5 Timo Hoenig 2005-11-17 14:59:05 UTC
Attaching a log of NetworkManager segfaulting on a box with an EDGE snapshop close to Alpha3.  Looks like some netlink issue.
Comment 6 Timo Hoenig 2005-11-17 15:02:07 UTC
Created attachment 57649 [details]
last few lines of a strace while segfaulting
Comment 7 Timo Hoenig 2005-11-17 15:04:03 UTC
Rober, do you have an idea what triggers this one?
Comment 8 Timo Hoenig 2005-11-17 15:44:54 UTC
(In reply to comment #4)
> NetworkManager does not segfault with a 10.0 and the RPMS mentioned above.

This is wrong. HAL crashed and remained in state D. With a sane HAL, NM does crash on 10.0, too.

Comment 9 Robert Love 2005-11-17 17:04:05 UTC
No, unsure.  This is the first I have heard of this bug.

I can try to reproduce.
Comment 10 Robert Love 2005-11-17 19:01:51 UTC
It is a bug in libnl:

        Thread 1081232304 (LWP 30646) exited]
        
        Program received signal SIGSEGV, Segmentation fault.
        [Switching to Thread 1077037344 (LWP 30554)]
        0x4004a43d in rtnl_link_build_change_request (old=0x0, tmpl=0x80887f0, flags=0)
            at link.c:752
        752     link.c: No such file or directory.
                in link.c
        
        (gdb) bt
        #0  0x4004a43d in rtnl_link_build_change_request (old=0x0, tmpl=0x80887f0,
            flags=0) at link.c:752
        #1  0x4004a706 in rtnl_link_change (handle=0x8087030, old=0x0, tmpl=0x80887f0,
            flags=0) at link.c:812
        #2  0x08060111 in nm_system_device_set_up_down_with_iface (dev=0x8087458,
            iface=0x8086588 "wifi0", up=0) at NetworkManagerSystem.c:396
        #3  0x080601a3 in nm_system_device_set_up_down (dev=0x8087458, up=0)
            at NetworkManagerSystem.c:376
        #4  0x08056619 in nm_device_set_up_down (dev=0x8087458,
            up=<value optimized out>) at NetworkManagerDevice.c:1780
        #5  0x08056a62 in nm_device_unref (dev=0x8087458) at NetworkManagerDevice.c:531
        #6  0x08051581 in nm_dbus_signal_device_status_change (user_data=0x8086ef0)
            at NetworkManagerDbus.c:253
        #7  0x4011d071 in g_list_insert_sorted () from /opt/gnome/lib/libglib-2.0.so.0
        #8  0x4011eaac in g_main_context_dispatch ()
           from /opt/gnome/lib/libglib-2.0.so.0
        #9  0x40121d86 in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
        #10 0x40122147 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
        #11 0x0805d753 in main (argc=2, argv=0xbf951544) at NetworkManager.c:951
Comment 11 Robert Love 2005-12-01 22:00:19 UTC
Fixed in NM CVS as of right now.

Packages built and submitted to autobuild.
Comment 12 Robert Love 2005-12-01 22:03:30 UTC
*** Bug 136432 has been marked as a duplicate of this bug. ***