[Dnsmasq-discuss] Infinite loop in dnsmasq v2.86?

John Byrne jbyrne at alumni.caltech.edu
Tue Jan 4 00:48:51 UTC 2022


dnssec-debug was just me trying to get some output to tell me what was happening when things went bad. 

I'll play a bit more at trying to reproduce it, but it is happening about every two days with no recognizable trigger so far. My best bet may be to set up a debug version and have gdb available so i can at least have a look at where it is hanging and why.That will have to wait until next weekend. Back to work tomorrow.

Thanks,

John


> On Jan 3, 2022, at 4:31 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> 
> The only thing that sticks out in the config is dnssec-debug. Not
> recommended to run that in production use.
> 
> As for debugging, the crucial thing, as always, is being able to
> reproduce the problem with as little effect as possible. Once that's
> done, building with
> 
> make CFLAGS=-g
> 
> and then running under gdb with the -d flag is a good simple way to start.
> 
> There are a lot of commits in the git repo since 2.86. Which it's fair
> to say was not a stellar release. Seeing of the bleeding edge fixes
> things is not a crazy suggestion.
> 
> 
> Cheers,
> 
> Simon.
> 
> 
> On 03/01/2022 21:13, Byrne, John via Dnsmasq-discuss wrote:
>> On freshtomato 2021.8, I'm occasionally seeing dnsmasq lock up and spin
>> on a core in the router. I don't have a reproducible case, yet. The last
>> one that occurred was reasonably soon after boot, but I forgot to
>> increase the size of the log so I don't have all the logging output
>> since boot. dnsmasq.conf (without the dhcp-host lines) and filtered logs
>> attached. The DNS cache seems the obvious suspect, but I none of the
>> more recent changes is leaping out at me.
>> 
>> Thoughts on how to debug this? I've got the freshtomato docker build
>> working, so I can build a version of dnsmasq to test with.
>> 
>> John Byrne
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
>> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss <https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss>
>> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss <https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220103/3260518c/attachment-0001.htm>


More information about the Dnsmasq-discuss mailing list