Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523128 - =net-misc/dhcpcd-6.4.4 - dhcpcd: segmentation fault in ? at ?
Summary: =net-misc/dhcpcd-6.4.4 - dhcpcd: segmentation fault in ? at ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL: http://roy.marples.name/projects/dhcp...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-18 12:57 UTC by Martin Gysel (bearsh)
Modified: 2014-09-18 20:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,5.75 KB, text/plain)
2014-09-18 13:00 UTC, Martin Gysel (bearsh)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gysel (bearsh) 2014-09-18 12:57:52 UTC
Having 6.4.4 installed, dhcpcd segfaults when called by NetworkManager

Reproducible: Always

Steps to Reproduce:
1. install 6.4.4
2. cycle network connection (unplug/plug)

Actual Results:  
NetworkManager is not able to get ip by dhcp as dhcpcd segfaults

Expected Results:  
network config issued by dhcp server

# journalctl --unit NetworkManager --since '-10min'
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Auto-activating connection 'eth0'.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) starting connection 'eth0'
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> NetworkManager state is now CONNECTING
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> dhcpcd started with pid 22813
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): DHCPv4 client pid 22813 exited with status -1
Sep 18 13:18:27 colibri NetworkManager[22695]: <warn> DHCP client died abnormally
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> NetworkManager state is now DISCONNECTED
Sep 18 13:18:27 colibri NetworkManager[22695]: <warn> Activation (eth0) failed for connection 'eth0'
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 18 13:18:27 colibri NetworkManager[22695]: <info> (eth0): deactivating device (reason 'none') [0]

# dmesg | tail
dhcpcd[23360]: segfault at 758 ip 000000000041d2d7 sp 00007fffe7da0d68 error 4 in dhcpcd[400000+38000]
Comment 1 Martin Gysel (bearsh) 2014-09-18 13:00:08 UTC
Created attachment 385020 [details]
emerge --info
Comment 2 Martin Gysel (bearsh) 2014-09-18 13:03:03 UTC
=net-misc/dhcpcd-6.4.3 works fine

see also bug 523070 where others mentioned the same issue
Comment 3 Martin Gysel (bearsh) 2014-09-18 14:07:42 UTC
fixed upstream:
http://roy.marples.name/projects/dhcpcd/info/b46ab4d125
Comment 4 Zoltan Puskas 2014-09-18 20:05:44 UTC
Disabling the 'ipv6' flag and recompiling makes it work again. At least this way one can downgrade or get a patch in.
Comment 5 William Hubbs gentoo-dev 2014-09-18 20:18:38 UTC
This is included in 6.4.4-r1.