Package: network-manager
Version: 0.5.1-3
Severity: important

# /usr/sbin/NetworkManager --no-daemon
NetworkManager: <information>   starting...
Segmentation fault

strace gives a little clue:
# strace /usr/sbin/NetworkManager --no-daemon
open("/etc/network/interfaces", O_RDONLY) = 11
fstat64(11, {st_mode=S_IFREG|0644, st_size=1761, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fdb000
read(11, "# /etc/network/interfaces -- con"..., 4096) = 1761
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

And after removing /etc/network/interfaces, it doesn't crash anymore
# mv /etc/network/interfaces{,.orig}
# /usr/sbin/NetworkManager --no-daemon
NetworkManager: <information>   starting...
NetworkManager: <WARNING>         (): Error: Can't open /etc/network/interfaces

NetworkManager: <information>   eth0: Device is fully-supported using driver 
'natsemi'.
NetworkManager: <information>   nm_device_new(): waiting for device's worker 
thread to start
NetworkManager: <information>   nm_device_new(): device's worker thread 
started, continuing.
NetworkManager: <information>   Now managing wired device 'eth0'.
NetworkManager: <information>   Deactivating device eth0.
NetworkManager: <WARNING>         (): Error: Can't open /etc/network/interfaces

My guess would that it crashes when parsing /etc/network/interfaces. I
won't provide the file here, since it contains sensitive information,
but can provide a copy by email on request.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages network-manager depends on:
ii  dhcdbd                      1.12-1       dbus interface to the ISC DHCP cli
ii  iproute                     20051007-3   Professional tools to control the 
ii  iputils-arping              3:20020927-3 Tool to send ICMP echo requests to
ii  libc6                       2.3.6-3      GNU C Library: Shared libraries an
ii  libdbus-1-2                 0.61-3       simple interprocess messaging syst
ii  libdbus-glib-1-2            0.61-3       simple interprocess messaging syst
ii  libgcrypt11                 1.2.2-1      LGPL Crypto library - runtime libr
ii  libglib2.0-0                2.8.6-1      The GLib library of C routines
ii  libgpg-error0               1.2-1        library for common error values an
ii  libhal1                     0.5.6-4      Hardware Abstraction Layer - share
ii  lsb-base                    3.0-15       Linux Standard Base 3.0 init scrip

network-manager recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to