[nsd-users] NSD 4.3.2rc1 pre-release + warning: process terminated with status 11

Jeroen Koekkoek jeroen at koekkoek.nl
Tue Jul 7 21:07:00 UTC 2020


Hi Andreas,

You may want to set (export) CFLAGS="-g -O0" before running configure
and then start NSD through valgrind (valgrind nsd ...). The output will
(hopefully) show where NSD accesses already freed or uninitialized
memory as status 11 indicates a segmentation fault.

Cheers,
Jeroen


On Tue, 2020-07-07 at 23:01 +0200, A. Schulze via nsd-users wrote:
> 
> Am 07.07.20 um 22:27 schrieb A. Schulze via nsd-users:
> 
> > But there is no change regarding my current issue. 
> > I reviewed the list archive. The current symtoms (segfault after
> > AXFR) look /very/ similar to a solved issue last year:
> > https://lists.nlnetlabs.nl/pipermail/nsd-users/2019-June/002693.html
> 
> just build an run with minimal configuration:
> 
> $ ./configure && make
> 
> # cat /tmp/nsd.conf
> server:
>   ip-address: 127.0.0.1 at 5353
>   xfrdir: /tmp/
>   xfrdfile: "/tmp/xfrd.state"
>   database: ""
>   debug-mode: yes
> 
> # nsd -v
> NSD version 4.3.2
> Written by NLnet Labs.
> 
> Configure line: --build=x86_64-linux-gnu --prefix=/usr --
> includedir=${prefix}/include --mandir=${prefix}/share/man --
> infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
> --libexecdir=${prefix}/lib/nsd --srcdir=. --disable-maintainer-mode
> --disable-dependency-tracking --disable-silent-rules
> Event loop: libev 4.25 (uses epoll)
> Linked with OpenSSL 1.1.1g  21 Apr 2020
> 
> Copyright (C) 2001-2006 NLnet Labs.  This is free software.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS
> FOR A PARTICULAR PURPOSE.
> 
> # cat /etc/debian_version
> 10.4
> 
> # echo "10.4 = Debian Buster ..."
> 
> # nsd -c /tmp/nsd.conf
> [2020-07-07 22:51:10.114] nsd[5297]: notice: nsd starting (NSD 4.3.2)
> [2020-07-07 22:51:10.161] nsd[5298]: notice: nsd started (NSD 4.3.2),
> pid 5297
> 
> <pressing STRG+C>
> 
> ^C[2020-07-07 22:51:13.878] nsd[5298]: warning: signal received,
> shutting down...
> [2020-07-07 22:51:13.879] nsd[5298]: error: problems sending command
> 11 to server 5299: Broken pipe
> 
> I think, on STRG+C no error should happen. Maybe there is any
> relation to "warning: process terminated with status 11"
> 
> > Andreas
> _______________________________________________
> nsd-users mailing list
> nsd-users at lists.nlnetlabs.nl
> https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users



More information about the nsd-users mailing list