NetworkManager crashes with SIGSEGV while loading the usb0 interface on Panda

Bug #686320 reported by Ricardo Salveti
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
High
Ricardo Salveti

Bug Description

Binary package hint: network-manager

Nm package: 0.8.3~git.20101118t223039.d60a988-0ubuntu1
Ubuntu Natty
Pandaboard (ARM)

$ NetworkManager --no-daemon --log-level=DEBUG
NetworkManager[999]: <info> NetworkManager (version 0.8.3) is starting...
NetworkManager[999]: <info> Read config file /etc/NetworkManager/nm-system-settings.conf
NetworkManager[999]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
NetworkManager[999]: <info> trying to start the modem manager...
NetworkManager[999]: <info> monitoring kernel firmware directory '/lib/firmware'.
NetworkManager[999]: SCPlugin-Ifupdown: init!
NetworkManager[999]: SCPlugin-Ifupdown: update_system_hostname
NetworkManager[999]: SCPluginIfupdown: management mode: unmanaged
NetworkManager[999]: SCPlugin-Ifupdown: devices added (path: /sys/devices/platform/ehci-omap.0/usb1/1-1/1-1.1/1-1.1:1.0/net/usb0, iface: usb0)
NetworkManager[999]: SCPlugin-Ifupdown: device added (path: /sys/devices/platform/ehci-omap.0/usb1/1-1/1-1.1/1-1.1:1.0/net/usb0, iface: usb0): no ifupdown configuration found.
NetworkManager[999]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
NetworkManager[999]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
NetworkManager[999]: SCPlugin-Ifupdown: end _init.
NetworkManager[999]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
NetworkManager[999]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
NetworkManager[999]: Ifupdown: get unmanaged devices count: 0
NetworkManager[999]: SCPlugin-Ifupdown: (3196960) ... get_connections.
NetworkManager[999]: SCPlugin-Ifupdown: (3196960) ... get_connections (managed=false): return empty list.
NetworkManager[999]: keyfile: parsing Auto usb0 ...
NetworkManager[999]: keyfile: read connection 'Auto usb0'
NetworkManager[999]: Ifupdown: get unmanaged devices count: 0
NetworkManager[999]: <info> WiFi enabled by radio killswitch; enabled by state file
NetworkManager[999]: <info> WWAN enabled by radio killswitch; enabled by state file
NetworkManager[999]: <info> WiMAX enabled by radio killswitch; enabled by state file
NetworkManager[999]: <info> Networking is enabled by state file
NetworkManager[999]: <debug> [1291375235.711669] [nm-device-ethernet.c:2237] supports_ethtool_carrier_detect(): ethtool is supported
NetworkManager[999]: <error> [1291375235.711944] [nm-device-ethernet.c:730] real_update_permanent_hw_address(): (usb0): unable to read permanent MAC address (error 0)
NetworkManager[999]: <debug> [1291375235.712005] [nm-device-ethernet.c:765] real_update_initial_hw_address(): (usb0): read initial MAC address 4E:5E:29:4A:38:BE
NetworkManager[999]: <debug> [1291375235.712371] [nm-device-ethernet.c:428] constructor(): (usb0): kernel ifindex 2
NetworkManager[999]: <info> (usb0): carrier is OFF
NetworkManager[999]: <info> (usb0): new Ethernet device (driver: 'smsc95xx' ifindex: 2)
NetworkManager[999]: <info> (usb0): exported as /org/freedesktop/NetworkManager/Devices/0
NetworkManager[999]: <info> (usb0): now managed
NetworkManager[999]: <info> (usb0): device state change: 1 -> 2 (reason 2)
NetworkManager[999]: <info> (usb0): bringing up device.
NetworkManager[999]: <info> (usb0): preparing device.
NetworkManager[999]: <info> (usb0): deactivating device (reason: 2).
NetworkManager[999]: <info> (usb0): reset MAC address to 4E:5E:29:4A:38:BE
NetworkManager[999]: <debug> [1291375237.126677] [nm-system.c:1363] flush_routes(): (usb0): flushing routes ifindex 2 family INET (2)
NetworkManager[999]: <debug> [1291375237.127532] [nm-system.c:1278] dump_route(): route idx 1 family INET (2) addr 127.255.255.255/32
NetworkManager[999]: <debug> [1291375237.127837] [nm-system.c:1278] dump_route(): route idx 1 family INET (2) addr 127.0.0.0/32
NetworkManager[999]: <debug> [1291375237.128203] [nm-system.c:1278] dump_route(): route idx 1 family INET (2) addr 127.0.0.1/32
NetworkManager[999]: <debug> [1291375237.128478] [nm-system.c:1278] dump_route(): route idx 1 family INET (2) addr 127.0.0.0/8
NetworkManager[999]: <debug> [1291375237.128722] [nm-system.c:1278] dump_route(): route idx 2 family INET6 (10) addr fe80::/64
NetworkManager[999]: <debug> [1291375237.128997] [nm-system.c:1278] dump_route(): route idx 1 family INET6 (10) addr 1900:0:3445:3a35:453a:3239:3a34:413a/0
NetworkManager[999]: <debug> [1291375237.129271] [nm-system.c:1278] dump_route(): route idx 1 family INET6 (10) addr ::1/128
NetworkManager[999]: <debug> [1291375237.129516] [nm-system.c:1278] dump_route(): route idx 2 family INET6 (10) addr ff00::/8
NetworkManager[999]: <debug> [1291375237.129790] [nm-system.c:1278] dump_route(): route idx 1 family INET6 (10) addr 1900:0:100:0:1d74:400:2850:3100/0
NetworkManager[999]: <debug> [1291375237.130309] [nm-system.c:222] sync_addresses(): (usb0): syncing addresses (family 2)
NetworkManager[999]: <debug> [1291375237.131469] [nm-device.c:3784] nm_device_state_changed(): (usb0): device not yet available for transition to DISCONNECTED
Segmentation fault

Tags: patch armel
Changed in network-manager (Ubuntu):
assignee: nobody → Ricardo Salveti (rsalveti)
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Proposed debfix including the upstream fix for this issue.

You can also test the built packages with this fix at http://people.canonical.com/~rsalveti/686320/

Tested on my Panda and I'm now able to use the network with Network Manager (also showing the nm-applet at the panel).

tags: added: patch
Revision history for this message
Tobin Davis (gruemaster) wrote :

I tested the build in rsalveti's home directory on Natty Alpha 1 and it works properly. No errors in the logs.

Changed in network-manager (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Tobin Davis (gruemaster) wrote :

Setting this to High and scheduling for Alpha 2.

Changed in network-manager (Ubuntu):
milestone: none → natty-alpha-2
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : Re: [Bug 686320] Re: NetworkManager crashes with SIGSEGV while loading the usb0 interface on Panda
Download full text (5.7 KiB)

Thanks, I will include this in the next upload. (Probably tomorrow)
Le 2010-12-07 12:56, "Tobin Davis" <email address hidden> a écrit :
> Setting this to High and scheduling for Alpha 2.
>
> ** Changed in: network-manager (Ubuntu)
> Milestone: None => natty-alpha-2
>
> --
> You received this bug notification because you are subscribed to
> network-manager in ubuntu.
> https://bugs.launchpad.net/bugs/686320
>
> Title:
> NetworkManager crashes with SIGSEGV while loading the usb0 interface on
Panda
>
> Status in “network-manager” package in Ubuntu:
> In Progress
>
> Bug description:
> Binary package hint: network-manager
>
> Nm package: 0.8.3~git.20101118t223039.d60a988-0ubuntu1
> Ubuntu Natty
> Pandaboard (ARM)
>
> $ NetworkManager --no-daemon --log-level=DEBUG
> NetworkManager[999]: <info> NetworkManager (version 0.8.3) is starting...
> NetworkManager[999]: <info> Read config file
/etc/NetworkManager/nm-system-settings.conf
> NetworkManager[999]: <info> VPN: loaded
org.freedesktop.NetworkManager.pptp
> NetworkManager[999]: <info> trying to start the modem manager...
> NetworkManager[999]: <info> monitoring kernel firmware directory
'/lib/firmware'.
> NetworkManager[999]: SCPlugin-Ifupdown: init!
> NetworkManager[999]: SCPlugin-Ifupdown: update_system_hostname
> NetworkManager[999]: SCPluginIfupdown: management mode: unmanaged
> NetworkManager[999]: SCPlugin-Ifupdown: devices added (path:
/sys/devices/platform/ehci-omap.0/usb1/1-1/1-1.1/1-1.1:1.0/net/usb0, iface:
usb0)
> NetworkManager[999]: SCPlugin-Ifupdown: device added (path:
/sys/devices/platform/ehci-omap.0/usb1/1-1/1-1.1/1-1.1:1.0/net/usb0, iface:
usb0): no ifupdown configuration found.
> NetworkManager[999]: SCPlugin-Ifupdown: devices added (path:
/sys/devices/virtual/net/lo, iface: lo)
> NetworkManager[999]: SCPlugin-Ifupdown: device added (path:
/sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
> NetworkManager[999]: SCPlugin-Ifupdown: end _init.
> NetworkManager[999]: <info> Loaded plugin ifupdown: (C) 2008 Canonical
Ltd. To report bugs please use the NetworkManager mailing list.
> NetworkManager[999]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red
Hat, Inc. To report bugs please use the NetworkManager mailing list.
> NetworkManager[999]: Ifupdown: get unmanaged devices count: 0
> NetworkManager[999]: SCPlugin-Ifupdown: (3196960) ... get_connections.
> NetworkManager[999]: SCPlugin-Ifupdown: (3196960) ... get_connections
(managed=false): return empty list.
> NetworkManager[999]: keyfile: parsing Auto usb0 ...
> NetworkManager[999]: keyfile: read connection 'Auto usb0'
> NetworkManager[999]: Ifupdown: get unmanaged devices count: 0
> NetworkManager[999]: <info> WiFi enabled by radio killswitch; enabled by
state file
> NetworkManager[999]: <info> WWAN enabled by radio killswitch; enabled by
state file
> NetworkManager[999]: <info> WiMAX enabled by radio killswitch; enabled by
state file
> NetworkManager[999]: <info> Networking is enabled by state file
> NetworkManager[999]: <debug> [1291375235.711669]
[nm-device-ethernet.c:2237] supports_ethtool_carrier_detect(): ethtool is
supported
> NetworkManager[999]: <error> [1291375235.711944]
[nm-device-ethernet....

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 0.8.3+git.20101209t061929.638fb18-0ubuntu1

---------------
network-manager (0.8.3+git.20101209t061929.638fb18-0ubuntu1) natty; urgency=low

  * upstream snapshot 2010-12-09 06:19:29 (GMT)
    + 638fb1878019ac75617b653d13f4970af6e9c970
    - core: correct TIMESTAMP type; fixes potential crash when time() is 32bit
      (LP: #686320)
    - libnm-glib: actually define the "ip-interface" property
    - ifupdown: Correctly mark unmanaged devices (debian #569215)
    - ifupdown: Allow to mark bridge ports as unmanaged (debian #530335)
  * Finish fixing daily builds: explicitly checkout/switch to the branch we're
    interested in before pulling new revisions so that it get properly updated.
    - update debian/rules
  * Revert s390 devices patch, it was applied upstream.
    - remove debian/patches/fix-natty-build.patch
    - update debian/patches/series
  * Add support for the 'hostname' dispatcher action that would previously
    trigger useless "exited with error status 1" messages (but not actually
    break anything). For now it will just exit doing nothing. (LP: #661951)
    - update debian/network-manager-dispatcher.script
 -- Mathieu Trudel-Lapierre <email address hidden> Fri, 10 Dec 2010 12:26:21 -0500

Changed in network-manager (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.