Discussion:
[Dnsmasq-discuss] dnsmasq does crash
e9hack
2016-08-29 19:30:03 UTC
Permalink
Hi,

I've trouble with this commit, independently that it looks simple:

Suppress useless warning about DHCP packets of interfaces without addresses.

Starting with this commit, dnsmasq does crash shortly after start:

Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903] do_page_fault(): sending SIGSEGV
to dnsmasq for invalid write access to 00000038
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.498607] epc = 00411eff in
dnsmasq[400000+2d000]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.503589] ra = 00411ec7 in
dnsmasq[400000+2d000]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.508587]

Regards,
Hartmut
Kevin Darbyshire-Bryant
2016-08-30 10:19:05 UTC
Permalink
Post by e9hack
Hi,
Suppress useless warning about DHCP packets of interfaces without addresses.
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903] do_page_fault(): sending SIGSEGV
to dnsmasq for invalid write access to 00000038
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.498607] epc = 00411eff in
dnsmasq[400000+2d000]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.503589] ra = 00411ec7 in
dnsmasq[400000+2d000]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.508587]
Regards,
Hartmut
Get an identical error, didn't get as far as narrowing it to a specific
commit. Openwrt/LEDE has 'long' carried a (more complicated) patch to
suppress the message, attached for reference.

Kevin
e9hack
2016-08-30 18:47:08 UTC
Permalink
Hi,

I did check it again. I did try to checkout e94ad0fa01ccc8d0c39e069ab29b008f9c811600
'Suppress useless warning about DHCP packets of interfaces without addresses'. But for
some reason, I got all later changes too. Now I did patch the files manually. The crash is
introduced by 2675f2061525bc954be14988d64384b74aa7bf8b 'Handle binding upstream servers to
an interface (--server=***@eth0) when the named interface is destroyed and recreated
in the kernel'.

Regards,
Hartmut
Post by e9hack
Hi,
Suppress useless warning about DHCP packets of interfaces without addresses.
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903] do_page_fault(): sending SIGSEGV
to dnsmasq for invalid write access to 00000038
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.498607] epc = 00411eff in
dnsmasq[400000+2d000]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.503589] ra = 00411ec7 in
dnsmasq[400000+2d000]
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.508587]
Regards,
Hartmut
Get an identical error, didn't get as far as narrowing it to a specific commit.
Openwrt/LEDE has 'long' carried a (more complicated) patch to suppress the message,
attached for reference.
Kevin
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Simon Kelley
2016-08-30 22:08:32 UTC
Permalink
Sorry about this. Putative fix pushed to git.


Cheers,

Simon.
Post by e9hack
Hi,
I did check it again. I did try to checkout
e94ad0fa01ccc8d0c39e069ab29b008f9c811600 'Suppress useless warning
about DHCP packets of interfaces without addresses'. But for some
reason, I got all later changes too. Now I did patch the files
manually. The crash is introduced by
2675f2061525bc954be14988d64384b74aa7bf8b 'Handle binding upstream
interface is destroyed and recreated in the kernel'.
Regards, Hartmut
Post by Kevin Darbyshire-Bryant
Post by e9hack
Hi,
I've trouble with this commit, independently that it looks
Suppress useless warning about DHCP packets of interfaces
without addresses.
Starting with this commit, dnsmasq does crash shortly after
Mon Aug 29 21:18:40 2016 kern.info kernel: [17587.489903] Mon
Aug 29 21:18:40 2016 kern.info kernel: [17587.489903]
do_page_fault(): sending SIGSEGV to dnsmasq for invalid write
[17587.498607] epc = 00411eff in dnsmasq[400000+2d000] Mon Aug
29 21:18:40 2016 kern.info kernel: [17587.503589] ra =
00411ec7 in dnsmasq[400000+2d000] Mon Aug 29 21:18:40 2016
kern.info kernel: [17587.508587]
Regards, Hartmut
Get an identical error, didn't get as far as narrowing it to a
specific commit. Openwrt/LEDE has 'long' carried a (more
complicated) patch to suppress the message, attached for
reference.
Kevin
_______________________________________________ Dnsmasq-discuss
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________ Dnsmasq-discuss
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Kevin Darbyshire-Bryant
2016-08-31 09:51:57 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Sorry about this. Putative fix pushed to git.
Cheers,
Simon.
Looks good. It doesn't go bang anymore on my system :-)
e9hack
2016-09-02 15:05:09 UTC
Permalink
Post by Kevin Darbyshire-Bryant
Post by Simon Kelley
Sorry about this. Putative fix pushed to git.
Looks good. It doesn't go bang anymore on my system :-)
The same for me.

Regards,
Hartmut

Loading...