[Dnsmasq-discuss] Testers wanted: DNSSEC.

Henk Jan Agteresch henkjan at agteresch.nl
Thu Feb 6 10:17:14 GMT 2014

I compiled 2.69test6 on armv5tel (linksys 4200v2 running debian) using
dnsmasq crashes on the first received query with "*** stack smashing
detected ***: /usr/sbin/dnsmasq terminated"

Recompiled with CFLAGS=-g and started under gdb. Output follows

root at pms28:~/dev# gdb /usr/sbin/dnsmasq
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi".
For bug reporting instructions, please see:
Reading symbols from /usr/sbin/dnsmasq...(no debugging symbols
(gdb) run -d -u dnsmasq -7
/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --dnssec
Starting program: /usr/sbin/dnsmasq -d -u dnsmasq -7
/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --dnssec
[Thread debugging using libthread_db enabled]
Using host libthread_db library
dnsmasq: started, version 2.69test6 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP
DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC
dnsmasq: DNSSEC validation enabled
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver
dnsmasq: using nameserver
dnsmasq: read /etc/hosts - 4 addresses
dnsmasq: query[A] 8n1.org from ::1
dnsmasq: forwarded 8n1.org to
dnsmasq: forwarded 8n1.org to
dnsmasq: dnssec-query[DNSKEY] 8n1.org to
*** stack smashing detected ***: /usr/sbin/dnsmasq terminated

Program received signal SIGABRT, Aborted.
0xb6d43950 in __GI_raise (sig=sig at entry=6) at
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or
(gdb) bt
#0  0xb6d43950 in __GI_raise (sig=sig at entry=6) at
#1  0xb6d47444 in __GI_abort () at abort.c:90
#2  0xb6d7c884 in __libc_message (do_abort=do_abort at entry=2,
fmt=0xb6e3a860 "*** %s ***: %s terminated\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3  0xb6dfb43c in __GI___fortify_fail (msg=0xb6e3a848 "stack smashing
detected") at fortify_fail.c:31
#4  0xb6dfb3f8 in __stack_chk_fail () at stack_chk_fail.c:28
#5  0x00041114 in ?? ()
#6  0x00041114 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt

Henk Jan Agteresch

More information about the Dnsmasq-discuss mailing list