[Pdns-users] Segmentation fault

Massimo Bandinelli massimo.bandinelli at register.it
Tue Mar 6 10:35:28 UTC 2007


Hello,

I'm trying to replace bind with powerdns (2.9.20), because it's really
faster in load and reload.

I'm trying using the bind (2) backend and just over 300,000 zones.
I find that pdns will return a "segmentation fault" randomly on me
generally during a bind-reload-now command.  Any help in
diagnosing and resolving this problem would be greatly appreciated. I
need to remove bind. A cold-boot of bind needs 7 hours :( with pdns only
30 minutes.

My operating system is Slackware 10.2
My powerdns version is 2.9.20 dynamic linked and I tried the static one
too with the same results.

# ldd /usr/local/sbin/pdns_server 
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f33000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f21000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7e69000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7e46000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7e3d000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e2b000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7d0e000)
        /lib/ld-linux.so.2 (0xb7f3f000)

These are the last lines of pdns.log

Mar  6 11:06:27 dupre01 pdns-register[20149]: Zone 'quasias.it'
(/db/quasias.it) reloaded
Mar  6 11:06:27 dupre01 pdns-register[20149]: Zone 'questionet.com'
(/db/questionet.com) reloaded
Mar  6 11:06:27 dupre01 pdns-register[20149]: Zone 'questionet.it'
(/db/questionet.it) reloaded
Mar  6 11:06:27 dupre01 pdns-register[20149]: Got a signal 11,
attempting to print trace: 
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/local/sbin/pdns_server-register-instance [0x80b3dd4]
Mar  6 11:06:27 dupre01 pdns-register[20149]: [0xffffe420]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/lib/libstdc++.so.5(_ZNSs4_Rep7_M_grabERKSaIcES2_+0x8) [0xb7f2c908]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/lib/libstdc++.so.5(_ZNSs6assignERKSs+0x3b) [0xb7f2d9cb]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/local/sbin/pdns_server-register-instance(_ZN12Bind2Backend11queueRe
loadEP13BB2DomainInfo+0xd3) [0x80f1e73]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/local/sbin/pdns_server-register-instance(_ZN12Bind2Backend18DLReloa
dNowHandlerERKSt6vectorISsSaISsEEi+0x3aa) [0x80eb30a]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/local/sbin/pdns_server-register-instance(_ZN11DynListener11theListe
nerEv+0x6dc) [0x80c011c]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/usr/local/sbin/pdns_server-register-instance(_ZN11DynListener17theListe
nerHelperEPv+0xf) [0x80bedbf]
Mar  6 11:06:27 dupre01 pdns-register[20149]: /lib/tls/libpthread.so.0
[0xb7e750fb]
Mar  6 11:06:27 dupre01 pdns-register[20149]:
/lib/tls/libc.so.6(__clone+0x5e) [0xb7e0a99e]

Thanks a lot,
Massimo.


More information about the Pdns-users mailing list