Re: v8 to v9.3.3 segmentation fault on linux
[anp/hsw]
Mon Nov 23 14:48:33 2020
В Пн, 23/11/2020 в 14:24 +0000, Roy Marples пишет:
> On 23/11/2020 13:51, [anp/hsw] wrote:
> >> I have just fixed this here:
> >> https://roy.marples.name/cgit/dhcpcd.git/commit/?id=fbb4dc4280fc14847c79db8f249736ddb3cd797f
> >>
> > Just checked: no more crash, but it seems like stuck in the loop.
> > I used oneshot (-1) option so dhcpcd must exit.
>
> -1, --oneshot
> Exit after configuring an interface.
>
> The interface was not configured due to an error and as such dhcpcd did not exit.
Yes, I see, but in such situation interface will never be configured.
>
> I would advise fixing the error either by matching your kernel headers with the
> running kernel or by disabling IFA_F_NOPREFIXROUTE in if-linux.c.
>
Of course I will, there can be only theoretical situation that will need
such patch.
> You could also give -t a possitive value to force a timeout.
>
> This patch may also help, but you would then need to test the exit code of
> dhcpcd to know if it was a success or failure.
>
> Let me know if this is ok or not.
Yes, I think this patch is OK for detection of such error. Working
flawlessly.
Thank you!
Archive administrator: postmaster@marples.name