Bug 1029053

Summary: [abrt] NetworkManager- update_permanent_hw_address: Process /usr/sbin/NetworkManager was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dcbw
Target Milestone: ---Flags: mleitner: needinfo-
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/81186d4d7f7200bfdffa9cebce54a92201afb8d9
Whiteboard: abrt_hash:987e4fbac3ff4301acb91684a6461f9b4cd18eb8
Fixed In Version: NetworkManager- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1029430 (view as bug list) Environment:
Last Closed: 2013-11-26 03:58:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 467765, 1029430    
Description Flags
File: backtrace
File: cgroup
File: core_backtrace
File: dso_list
File: environ
File: exploitable
File: limits
File: maps
File: open_fds
File: proc_pid_status
File: var_log_messages none

Description Dan Horák 2013-11-11 14:44:29 UTC
Description of problem:
crash happens when config file for CTC adapter on s390x is present

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.1.9
backtrace_rating: 4
cmdline:        /usr/sbin/NetworkManager --no-daemon
crash_function: update_permanent_hw_address
executable:     /usr/sbin/NetworkManager
kernel:         3.11.7-300.fc20.s390x
runlevel:       N 3
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 update_permanent_hw_address
 #1 constructed
 #2 g_object_new_with_custom_constructor at gobject.c:1721
 #3 g_object_new_internal at gobject.c:1744
 #4 g_object_new_valist at gobject.c:2002
 #6 nm_device_ethernet_new
 #7 platform_link_added_cb
 #8 ffi_call_SYSV at ../src/s390/sysv.S:275
 #9 ffi_call at ../src/s390/ffi.c:525
 #10 g_cclosure_marshal_generic at gclosure.c:1454

Comment 1 Dan Horák 2013-11-11 14:44:36 UTC
Created attachment 822433 [details]
File: backtrace

Comment 2 Dan Horák 2013-11-11 14:44:40 UTC
Created attachment 822434 [details]
File: cgroup

Comment 3 Dan Horák 2013-11-11 14:44:43 UTC
Created attachment 822435 [details]
File: core_backtrace

Comment 4 Dan Horák 2013-11-11 14:44:46 UTC
Created attachment 822436 [details]
File: dso_list

Comment 5 Dan Horák 2013-11-11 14:44:50 UTC
Created attachment 822437 [details]
File: environ

Comment 6 Dan Horák 2013-11-11 14:44:53 UTC
Created attachment 822438 [details]
File: exploitable

Comment 7 Dan Horák 2013-11-11 14:44:57 UTC
Created attachment 822439 [details]
File: limits

Comment 8 Dan Horák 2013-11-11 14:45:00 UTC
Created attachment 822440 [details]
File: maps

Comment 9 Dan Horák 2013-11-11 14:45:03 UTC
Created attachment 822441 [details]
File: open_fds

Comment 10 Dan Horák 2013-11-11 14:45:07 UTC
Created attachment 822442 [details]
File: proc_pid_status

Comment 11 Dan Horák 2013-11-11 14:45:10 UTC
Created attachment 822443 [details]
File: var_log_messages

Comment 12 Dan Williams 2013-11-11 21:44:38 UTC
I think the problem is that our ethernet code doesn't correctly handle devices that have no MAC address, and CTC devices don't have one because they aren't ethernet.  But we treat them as ethernet in NM for convenience.

Should be fixed upstream as:

ethernet: don't crash if device doesn't have a MAC address (rh #1029053)

Comment 13 Dan Horák 2013-11-15 10:08:46 UTC
I can confirm the fix from comment #12 fixes the issue, no crash with CTC adapter configured. Can we expect an updated build soon?

Comment 14 Fedora Update System 2013-11-20 14:31:57 UTC
NetworkManager- has been submitted as an update for Fedora 20.

Comment 15 Fedora Update System 2013-11-24 03:41:47 UTC
Package NetworkManager-
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing NetworkManager-'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2013-11-26 03:58:34 UTC
NetworkManager- has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.