[Pdns-users] pdns as a resolver

Jan Gyselinck pdns-users at lists.b0rken.net
Tue Jul 29 10:49:37 UTC 2003


On Tue, Jul 29, 2003 at 12:03:19PM +0200, bert hubert wrote:
> On Tue, Jul 29, 2003 at 10:09:18AM +0200, Jan Gyselinck wrote:

*snip*
 
> > bash-2.03# ./pdns_recursor --trace=no
> > Jul 29 09:45:25 Incoming query source port: 53
> > Jul 29 09:45:25 Done priming cache with root hints
> > Jul 29 09:45:25 Failed to update . records, RCODE=2
> > Bus Error
> 
> You could try to run this within gdb, or the Sun debugger? Alternatively,

gdb gives:

(gdb) run --trace=yes
Starting program: /prod/pdns/sbin/./pdns_recursor --trace=yes
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
Jul 29 12:18:47 Incoming query source port: 53
Jul 29 12:18:47 Done priming cache with root hints
Jul 29 12:18:47 : No cache hit for '|NS', trying to find an appropriate NS
record

Program received signal SIGSEGV, Segmentation fault.
0x54ec4 in _ZSt18_Rb_tree_rebalancePSt18_Rb_tree_node_baseRS0_
(__x=0x87388, 
    __root=@0x83534)
    at /build/jgyselin/local/include/c++/3.3/bits/stl_tree.h:312
312             if (__x->_M_parent == __x->_M_parent->_M_parent->_M_left) 

(gdb) run --trace=no   
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /prod/pdns/sbin/./pdns_recursor --trace=no
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
Jul 29 12:20:25 Incoming query source port: 53
Jul 29 12:20:25 Done priming cache with root hints
Jul 29 12:20:26 Failed to update . records, RCODE=2

Program received signal SIGSEGV, Segmentation fault.
0xff042b14 in _free_unlocked () from /usr/lib/libc.so.1


> remove the extern "C" block in pdns_recursor.cc entirely.

Doesn't make any change :/


Jan Gyselinck


More information about the Pdns-users mailing list