[Dnsmasq-discuss] dnsmasq DHCP server crash on latest FreshTomato router firmware

ABC DEF ms4setup at hotmail.com
Tue Mar 11 23:45:22 UTC 2025


Hello,

First time posting here and I'm not sure how I can file a bug report. Please excuse my ignorance. Also please excuse my bad English.

I've reported a bug for the FreshTomato router firmware on GitHub, dnsmasq seems to crash after issuing one IP address. Once one IP address have been issued to the "first" client, subsequent clients won't receive an IP. After further investigation, the dnsmasq process isn't running anymore after the first client received its address, which makes me conclude that dnsmasq probably crash.

The issue on GitHub:
https://github.com/FreshTomato-Project/freshtomato-mips/issues/6

The issue have been confirmed by Pedro, the FreshTomato firmware lead developer:

Jan  1 01:00:23 unknown kern.warn kernel: dnsmasq/959: potentially unexpected fatal signal 11.
Jan  1 01:00:23 unknown kern.warn kernel: Pid: 959, comm:              dnsmasq
Jan  1 01:00:23 unknown kern.warn kernel: CPU: 0    Tainted: P             (2.6.36.4brcmarm #2)
Jan  1 01:00:23 unknown kern.warn kernel: PC is at 0x2ce98
Jan  1 01:00:23 unknown kern.warn kernel: LR is at 0x2ce5c
Jan  1 01:00:23 unknown kern.warn kernel: pc : [<0002ce98>]    lr : [<0002ce5c>]    psr: 60000010
Jan  1 01:00:23 unknown kern.warn kernel: sp : be86ba60  ip : 0009384c  fp : 00000029
Jan  1 01:00:23 unknown kern.warn kernel: r10: 00000000  r9 : 00091e3c  r8 : 0000001a
Jan  1 01:00:23 unknown kern.warn kernel: r7 : 0000000e  r6 : 00093828  r5 : 00091e3c  r4 : 00000000
Jan  1 01:00:23 unknown kern.warn kernel: r3 : 00092c18  r2 : 00000000  r1 : 0004b754  r0 : 00000000
Jan  1 01:00:23 unknown kern.warn kernel: Flags: nZCv  IRQs on  FIQs on  Mode USER_32  ISA ARM  Segment user
Jan  1 01:00:23 unknown kern.warn kernel: Control: 10c53c7d  Table: 9d774059  DAC: 00000015
(so dnsmasq is down)


Please see this post from Pedro on GitHub:
https://github.com/FreshTomato-Project/freshtomato-mips/issues/6#issuecomment-2715876445

He thinks the issue is somewhere between those dnsmasq versions:
"Images with -
this one (2024-10-04) work: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=f006be7842104a9f86fbf419326b7aad08ade61d
but with this (2024-12-02)) - no: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=6c9bc0156a8d36d56735831cb81e786d628ed73e
Probably somewhere between, is the one which causing problems (~67 commits)."


In FreshTomato terms, version 2024.4 is OK, 2024.5 and up (latest = 2025.1) is affected by this issue.

dnsmasq -v from my MIPS router running FreshTomato 2024.4:
Dnsmasq version 2.90-f006be7 Copyright (c) 2000-2024 Simon Kelley
Compile time options: IPv6 GNU-getopt no-RTC no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack ipset no-nftset Tomato-helper no-auth no-cryptohash no-DNSSEC no-ID loop-detect no-inotify no-dumpfile


Thank you for your help!

Mat (HommeOursPorc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20250311/d5612c3c/attachment.htm>


More information about the Dnsmasq-discuss mailing list