dhcpcd-discuss

Re: Dhcpcd 6.11.3+ segfaults on OpenBSD 5.9?

Roy Marples

Thu Jan 12 11:58:05 2017

Hi Aaron

On 2017-01-09 14:13, Aaron Pratt wrote:
Dhcpcd 6.11.3 compiles fine on OpenBSD 5.9 (i386), and when I run it,
it works at first. However, "em0: adding route to..." is the last
thing dhcpcd outputs before I see "Segmentation fault (core dumped)."

Dhcpcd 6.11.5 dies in a similar way, but dhcpcd 6.11.2 runs fine.

I run the configure script with "--prefix=/tmp" so as to not overwrite
my currently-installed version. That's fine for quick tests, right?

Yes that's fine for tests.
Also, you don't have to install dhcpcd to test newer builds provided that you have the hooks installed (and dhcpcd configured to use them ofc).
The hooks rarely change.

Also, I'm having trouble connecting to ftp://roy.marples.name/, so I
downloaded dhcpcd from the "Release" sections of the Fossil timeline.
Not sure if that matters.

I currently have connectivity issues to my ftp from external sources.
Hopefully migrating to a new server install soon.

Do you have any advice on how to troubleshoot this? Or do you need
more information?

Build dhcpcd with CFLAGS=-g and provide a backtrace would be nice.

I last tested dhcpcd with on older OpenBSD release so it's possible something has changed. Sadly, the laptop I test dhcpcd on is currently not functioning well due to age and I need to find time to get an OpenBSD image on my new Xen server.

dhcpcd-7 will be a lot less sensitive than dhcpcd-6 to varying BSD differences and hopefully changes. As you downloaded via the fossil timeline, can you test the latest trunk code as well? That would be useful in the interim.

Roy

Follow-Ups:
Re: Dhcpcd 6.11.3+ segfaults on OpenBSD 5.9?Aaron Pratt
Re: Dhcpcd 6.11.3+ segfaults on OpenBSD 5.9?Roy Marples
References:
Dhcpcd 6.11.3+ segfaults on OpenBSD 5.9?Aaron Pratt
Archive administrator: postmaster@marples.name