<div dir="ltr">Hi Team,<div><br></div><div>We are facing a dnsmasq crash on version 2.81. We are not aware of steps to trigger the crash, but we used to get this crash frequently.</div><div><br></div><div>Crash Details:</div><div><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace">Thread 0 (crashed)
0 dnsmasq!check_dns_listeners [dnsmasq.c : 1768 + 0x0]
r0 = 0x00000000 r1 = 0x00000009 r2 = 0x00000009 r3 = 0x01dfdb80
r4 = 0x0004b550 r5 = 0x656e2e6d r6 = 0x000000c1 r7 = 0xffffffff
r8 = 0x6218f391 r9 = 0x0004b550 r10 = 0xffffffff r12 = 0x00000006
fp = 0x0004b550 sp = 0xbbb00928 lr = 0x00030483 pc = 0x00020a8a
Found by: given as instruction pointer in context
1 dnsmasq!main [dnsmasq.c : 1199 + 0x5]
r4 = 0x6218f391 r5 = 0x0004b550 r6 = 0x0004b550 r7 = 0x0004b550
r8 = 0x00032fda r9 = 0x0004b550 r10 = 0x00000000 fp = 0x0004b550
sp = 0xbbb009a0 pc = 0x00013569
Found by: call frame info
2 <a href="http://libc-2.31.so">libc-2.31.so</a> + 0x1a98d
r4 = 0x00031fb9 r5 = 0x00000000 r6 = 0x000137ad r7 = 0x00000000
r8 = 0x00000000 r9 = 0x00000000 r10 = 0xb3f4ffa4 fp = 0x00000000
sp = 0xbbb00aa0 pc = 0xb3e1198f
Found by: call frame info
3 <a href="http://libc-2.31.so">libc-2.31.so</a> + 0xd3e3a
sp = 0xbbb00aa4 pc = 0xb3ecae3c
Found by: stack scanning
4 dnsmasq + 0x260f
sp = 0xbbb00ab0 pc = 0x00012611
Found by: stack scanning
5 dnsmasq + 0x21fb7
sp = 0xbbb00abc pc = 0x00031fb9
Found by: stack scanning</pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace"><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;line-height:1.50001;white-space:pre-wrap;word-break:normal;border-radius:4px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace">Crash reason: SIGSEGV
Crash address: 0x656e2e6d
Process uptime: not available</pre>
<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;font-variant-ligatures:normal;white-space:normal">These details are observed from a mini dump. So we were not able to extract more from it. </span></pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace"><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;line-height:1.50001;white-space:pre-wrap;word-break:normal;border-radius:4px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;font-variant-ligatures:normal;white-space:normal">Dnsmasq logs:</span></pre><pre class="gmail-c-mrkdwn__pre" style="color:rgb(34,34,34);font-variant-ligatures:normal;box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;line-height:1.50001;word-break:normal;border-radius:4px">2022 Jan 19 06:47:13.516262 systemd[1]: Starting DNS forwarder and DHCP server...<br>2022 Jan 19 06:47:13.606367 dnsmasq[31730]: started, version 2.81 cachesize 150<br>2022 Jan 19 06:47:13.607180 dnsmasq[31730]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-nettlehash no-DNSSEC loop-detect no-inotify dumpfile<br>2022 Jan 19 06:47:13.607239 dnsmasq[31730]: Event handler create<br>2022 Jan 19 06:47:13.607589 dnsmasq[31730]: reading /etc/resolv.dnsmasq<br>2022 Jan 19 06:47:13.607624 dnsmasq[31730]: using nameserver 192.168.1.254#53<br>2022 Jan 19 06:47:13.607653 dnsmasq[31730]: using nameserver 2600:1700:adc0:5720::1#53<br>2022 Jan 19 06:47:13.607828 dnsmasq[31730]: read /etc/hosts - 14 addresses<br>2022 Jan 19 06:47:13.613299 systemd[1]: Started DNS forwarder and DHCP server.<br>2022 Jan 19 07:04:22.857092 systemd[1]: dnsmasq.service: Main process exited, code=killed, status=11/SEGV<br>2022 Jan 19 07:04:22.858999 systemd[1]: dnsmasq.service: Unit entered failed state.<br>2022 Jan 19 07:04:22.859070 systemd[1]: dnsmasq.service: Failed with result 'signal'.<br>2022 Jan 19 07:04:23.043088 systemd[1]: dnsmasq.service: Service hold-off time over, scheduling restart.<br>2022 Jan 19 07:04:23.044660 systemd[1]: Stopped DNS forwarder and DHCP server.</pre>
</pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;font-variant-ligatures:normal;white-space:normal"><br></span></pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;font-variant-ligatures:normal;white-space:normal">Is it a known failure/bug? Could you please help? </span></pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;line-height:1.50001;word-break:normal;border-radius:4px"><font face="Arial, Helvetica, sans-serif"><span style="white-space:normal">Thanks,<br></span></font><font color="#1d1c1d" face="Monaco, Menlo, Consolas, Courier New, monospace"><span style="font-variant-ligatures:none;white-space:pre-wrap">Arjun</span></font></pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace"><br></pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;line-height:1.50001;word-break:normal;border-radius:4px"><br></pre><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;line-height:1.50001;word-break:normal;border-radius:4px"><br></pre></div></div>