[Pdns-users] Pdns Remote backend crash

Aleksey Chudov aleksey.chudov at gmail.com
Sat Mar 2 18:10:52 UTC 2013


On 02.03.2013 19:37, Aki Tuomi wrote:
> On Sat, Mar 02, 2013 at 07:32:28PM +0200, Aleksey Chudov wrote:
>> Have you tried to reproduce the problem using the commands that I
>> sent in the previous letter?
> Nope, I'll have to install debian6 virtual machine then. I'll get back to you.

I tried to build PowerDNS dynamically rather than statically using the 
following command

CFLAGS="-g -O3" CXXFLAGS="-g -O3" ./configure --prefix=/usr/local/pdns 
--enable-pdns_server --disable-recursor --with-modules="pipe remote" 
--with-dynmodules=""

Actually I need a static binary because I plan to use it on my old 
server where I can't build PowerDNS directly because a lot of 
dependencies. But it does not matter for the test.

In this case PowerDNS process has crashed but there were more 
informative log messages.

Mar  2 21:59:54 srv1 pdns[18686]: Got a signal 6, attempting to print 
trace:
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance() [0x4c9490]
Mar  2 21:59:54 srv1 pdns[18686]: /lib/libc.so.6(+0x32230) [0x7ffd2efb7230]
Mar  2 21:59:54 srv1 pdns[18686]: /lib/libc.so.6(gsignal+0x35) 
[0x7ffd2efb71b5]
Mar  2 21:59:54 srv1 pdns[18686]: /lib/libc.so.6(abort+0x180) 
[0x7ffd2efb9fc0]
Mar  2 21:59:54 srv1 pdns[18686]: /lib/libc.so.6(__assert_fail+0xf1) 
[0x7ffd2efb0301]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN13RemoteBackend3getER17DNSResourceRecord+0x757) 
[0x45b5a7]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN10DNSBackend6getSOAERKSsR7SOADataP9DNSPacket+0xe2) 
[0x4ac1b2]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN12UeberBackend6getSOAERKSsR7SOADataP9DNSPacket+0xb1) 
[0x4d4f61]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN13PacketHandler7getAuthEP9DNSPacketP7SOADataRKSsPi+0x49) 
[0x480b79]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN13PacketHandler17questionOrRecurseEP9DNSPacketPb+0xb98) 
[0x48b3b8]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN13PacketHandler8questionEP9DNSPacket+0x65) 
[0x48d115]
Mar  2 21:59:54 srv1 pdns[18686]: 
/usr/local/pdns/sbin/pdns_server-instance(_ZN11DistributorI9DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x194) 
[0x5106d4]
Mar  2 21:59:54 srv1 pdns[18686]: /lib/libpthread.so.0(+0x68ca) 
[0x7ffd2f2ed8ca]
Mar  2 21:59:54 srv1 pdns[18686]: /lib/libc.so.6(clone+0x6d) 
[0x7ffd2f054b6d]
Mar  2 21:59:54 srv1 pdns[18622]: Our pdns instance (18686) exited after 
signal 6
Mar  2 21:59:54 srv1 pdns[18622]: Respawning


Aleksey



More information about the Pdns-users mailing list