Hi Team, 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.
Crash Details: 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 libc-2.31.so + 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 libc-2.31.so + 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 Crash reason: SIGSEGV Crash address: 0x656e2e6d Process uptime: not available These details are observed from a mini dump. So we were not able to extract more from it. Dnsmasq logs: 2022 Jan 19 06:47:13.516262 systemd[1]: Starting DNS forwarder and DHCP server... 2022 Jan 19 06:47:13.606367 dnsmasq[31730]: started, version 2.81 cachesize 150 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 2022 Jan 19 06:47:13.607239 dnsmasq[31730]: Event handler create 2022 Jan 19 06:47:13.607589 dnsmasq[31730]: reading /etc/resolv.dnsmasq 2022 Jan 19 06:47:13.607624 dnsmasq[31730]: using nameserver 192.168.1.254#53 2022 Jan 19 06:47:13.607653 dnsmasq[31730]: using nameserver 2600:1700:adc0:5720::1#53 2022 Jan 19 06:47:13.607828 dnsmasq[31730]: read /etc/hosts - 14 addresses 2022 Jan 19 06:47:13.613299 systemd[1]: Started DNS forwarder and DHCP server. 2022 Jan 19 07:04:22.857092 systemd[1]: dnsmasq.service: Main process exited, code=killed, status=11/SEGV 2022 Jan 19 07:04:22.858999 systemd[1]: dnsmasq.service: Unit entered failed state. 2022 Jan 19 07:04:22.859070 systemd[1]: dnsmasq.service: Failed with result 'signal'. 2022 Jan 19 07:04:23.043088 systemd[1]: dnsmasq.service: Service hold-off time over, scheduling restart. 2022 Jan 19 07:04:23.044660 systemd[1]: Stopped DNS forwarder and DHCP server. Is it a known failure/bug? Could you please help? Thanks, Arjun
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss