Bug 145273

Summary: NetworkManager segfaults on (almost)Beta2
Product: [openSUSE] SUSE Linux 10.1 Reporter: Christoph Thiel <cthiel>
Component: NetworkAssignee: Robert Love <rml>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: aj, mvidner
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: NetworkManager.strace
gdb bt
gdb session, until SIGSEGV

Description Christoph Thiel 2006-01-24 18:39:09 UTC
I'v just installed SUSE Linux 10.1 (almost)Beta2 (of the full-i386 trees) on my laptop and had to find out that NetworkManager isn't working as expected. Somehow NetworkManager is just dying -- the dispatcher is running and so is dhclient, but it doesn't set an ip. I'll add more details later...
Comment 1 Robert Love 2006-01-24 18:42:09 UTC
A few things to consider:

The daemon is not running (ps aux | grep NetworkManager)?

What happens if you run it from the console?

% NetworkManager --no-daemon

Is NETWORKMANAGER=yes set in /etc/sysconfig/network/config ?
Comment 2 Andreas Jaeger 2006-01-24 18:44:11 UTC
Martin reported something similar.

I did a new installation today and had no problems.
Comment 3 Christoph Thiel 2006-01-24 18:45:58 UTC
Created attachment 64839 [details]
NetworkManager.strace

+++ killed by SIGSEGV +++ :((
Comment 4 Robert Love 2006-01-24 18:48:29 UTC
Thanks for the strace, Christoph!

Would it be possible to attach gdb and get a full brack trace?
Comment 6 Christoph Thiel 2006-01-24 18:52:12 UTC
Robert, I'll fire up gdb now.
Comment 7 Christoph Thiel 2006-01-24 18:58:47 UTC
Created attachment 64843 [details]
gdb bt

Hope this helps...
Comment 8 Robert Love 2006-01-24 19:06:43 UTC
Timo: Can you reproduce this?

I cannot.
Comment 9 Martin Vidner 2006-01-24 19:15:34 UTC
I think it is an inconsistent installation source. I suggest ldd NetworkMananger and compare the rpm version-releases of the affected packages.
Comment 10 Andreas Jaeger 2006-01-24 19:20:59 UTC
I had a consistent installation source and there it worked.
Comment 11 Robert Love 2006-01-24 19:37:24 UTC
Yes, this backtrace is very confusing -- I think this might be the result of an inconsistent installation.  Christoph, can you try whatever Martin did to remedy the problem?
Comment 12 Timo Hoenig 2006-01-24 20:51:03 UTC
I could not reproduce this.

We have set-up one of Seife's systems with the latest-and-greatest, did a ipreg for it and NM did not crash.

Cristoph, if you encounter the bug with a stock Beta2, please let me know.  I'm keen on debugging this one once more.
Comment 13 Forgotten User ZhJd0F0L3x 2006-01-24 22:09:03 UTC
i got on the very same system now a segfault, too. At home, with an unencrypted WLAN. It does not crash on the wired line. I'll attach the gdb session...
Comment 14 Forgotten User ZhJd0F0L3x 2006-01-24 22:10:49 UTC
Created attachment 64861 [details]
gdb session, until SIGSEGV

note that i also did a "dirty" update from machcd2/dists/full-i386, but it did not crash in the office.
Comment 15 Christoph Thiel 2006-01-24 23:43:37 UTC
I wasn't able to reproduce at home as well, so it might have something todo with the suse network (e.g. additonal dhcp stuff).
Comment 16 Forgotten User ZhJd0F0L3x 2006-01-24 23:55:38 UTC
i reproduced it at home, could not reproduce it in the office.
Comment 17 Robert Love 2006-01-25 01:13:49 UTC
Timo, this this is your bug?
Comment 18 Timo Hoenig 2006-01-25 10:43:13 UTC
Thanks for testing, Seife.

An updated package has been submitted and checked in.  It will be part of Beta2.

Christoph, please confirm that it works for your system, too.

Robert, please remove nm-dhcp-hostname-byte-array-thoenig-01.patch for the next update of the NetworkManager package.

Closing.
Comment 19 Christoph Thiel 2006-01-25 12:57:46 UTC
=> VERIFIED (the fix works for me).