dhcpcd-discuss

Re: dhcpcd crach

Roy Marples

Tue Sep 03 13:47:50 2019

Hi Ivan

On 03/09/2019 08:15, Ivan Budiakov wrote:
Hello!

Dhcpcd crash every 6-12 hours. Only one interface. If after restart interfece, crash  again.
After restart server all good 6-12 hours.

Gentoo linux, Dhcpcd version 8.0.3.

Sep 3 09:20:53 ns dhcpcd[4782]: wan0: sending REQUEST (xid 0x38c82560), next in 63.7 seconds
Sep  3 09:20:53 ns dhcpcd[5112]: wan0: received BOOTP for inactive interface

So you're running on specific interfaces.
I've just committed a fix for that here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=03723b5aa9b014f699346892a74623e1f4cd10c8

Not that it will fix the crash though :(
As you're running Gentoo, can you emerge dhcpcd with
CFLAGS+=-fsanitize=address
LDFLAGS+=-lasan

and restart dhcpcd. When it crashes it should then hopefully log a lot more detail.

Roy

References:
dhcpcd crachIvan Budiakov
Archive administrator: postmaster@marples.name