Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66879 - [dhcpcd] 9.1.0-1 segfaults

Attached to Project: Arch Linux
Opened by Sergio Tridente (TioDuke) - Wednesday, 03 June 2020, 16:27 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Thursday, 04 June 2020, 14:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Te dhcpcd daemon segfaults. Going back to 9.0.2, dhcpcd does not segfault and the computer is able to connect to wifi.

Also. In my config, IPv6 is disabled, could it be it?

Additional info:
* package version(s) 9.0.1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Just upgrade to dhcpcd 9.1.0 and wait. I use netctl to connect to the internet.


Here is the relevant output from journactl -b

Jun 03 08:13:06 netbook dhcpcd[595]: dhcpcd-9.1.0 starting
Jun 03 08:13:06 netbook audit[597]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=597 comm="dhcpcd" exe="/usr/bin/dhcpcd" sig=11 res=1
Jun 03 08:13:06 netbook dhcpcd[598]: ps_root_start: Address family not supported by protocol
Jun 03 08:13:06 netbook kernel: dhcpcd[597]: segfault at 7ffed6d9e420 ip 000055ca165865fb sp 00007ffed6d96420 error 6 in dhcpcd[55ca16573000+3b000]
Jun 03 08:13:06 netbook kernel: Code: 73 09 48 85 c0 0f 89 84 00 00 00 ba 00 20 00 00 48 89 ee 4c 89 c7 67 e8 f3 e5 fe ff 48 83 f8 ff 74 45 48 3d 00 20 00 >
Jun 03 08:13:06 netbook kernel: audit: type=1701 audit(1591186386.568:32): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=597 comm="dhcpcd" exe="/usr/bin/d>
Jun 03 08:13:06 netbook dhcpcd[598]: ps_start: Address family not supported by protocol
Jun 03 08:13:06 netbook systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jun 03 08:13:06 netbook systemd[1]: Started Process Core Dump (PID 600/UID 0).
Jun 03 08:13:06 netbook audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-600-0 comm="systemd" exe="/usr/lib/>
Jun 03 08:13:07 netbook kernel: audit: type=1130 audit(1591186386.758:33): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-600-0 co>
Jun 03 08:13:08 netbook dhcpcd[595]: dhcpcd_fork_cb: truncated read 0 (expected 4)
Jun 03 08:13:08 netbook systemd-coredump[601]: Process 597 (dhcpcd) of user 0 dumped core.

Stack trace of thread 597:
#0 0x000055ca165865fb dhcp_read_hwaddr_aton (dhcpcd + 0x1c5fb)
#1 0x000055ca1657917d duid_init (dhcpcd + 0xf17d)
#2 0x000055ca16575f81 dhcpcd_initduid (dhcpcd + 0xbf81)
#3 0x000055ca165742a4 main (dhcpcd + 0xa2a4)
#4 0x00007f7809c86002 __libc_start_main (libc.so.6 + 0x27002)
#5 0x000055ca165748fe _start (dhcpcd + 0xa8fe)
Jun 03 08:13:08 netbook systemd[1]: systemd-coredump@0-600-0.service: Succeeded.
This task depends upon

Closed by  Giancarlo Razzolini (grazzolini)
Thursday, 04 June 2020, 14:34 GMT
Reason for closing:  Upstream
Additional comments about closing:  A new release, 9.1.1 has been made that fixes this issue. Thanks Roy, for your speedy response.
Comment by Giancarlo Razzolini (grazzolini) - Wednesday, 03 June 2020, 16:57 GMT Comment by Sergio Tridente (TioDuke) - Wednesday, 03 June 2020, 21:19 GMT
I don't think it is the same bug. Mine began only on 9.1.0 version and it isn't happening when stopping the service, it happens when the daemon tries to establish a connection. In this bug, the user, me, is not able to get a connection.

It is not an annoyance, but a severe error : not able to get a connection.

I forgot to say that I am on the linux-lts kernel.
Comment by Giancarlo Razzolini (grazzolini) - Wednesday, 03 June 2020, 22:19 GMT
I've pasted a specific comment. The person in question also had ipv6_disable=1.
Comment by Roy Marples (rsmarples) - Thursday, 04 June 2020, 13:46 GMT
dhcpcd-9.1.1 has been released which should solve this.

Loading...