[Pdns-users] Attempt to print an unset dnsname

Klaus Darilion klaus.mailinglists at pernau.at
Wed Oct 25 08:29:14 UTC 2017

Hi Peter!

I need help again debugging this issue. I used c++filt to beautify the
trace. I also added the log lines before -> see attachment.

I do not understand how the stacktrace correlates with the exception
error. I analyzed the stack trace and I do not see any access to a
DNSName at the top of the stacktrace.

May it be that the exception and stacktrace do not correlate, eg. the
exception causes some exit code, the exit is caught by the signal
handler, something goes wrong (signal 11=segfault), and then a stack
trace is generated of some other thread which does not correlate with
the origin exception?

-------------- next part --------------
pdns[16802]: Unable to AXFR zone 'foo.de' from remote '217.70.XXX.XXX' (resolver): Remote nameserver closed TCP connection
pdns[16802]: Starting AXFR of 'foo2.de' from remote 217.70.XXX.XXX:53
pdns[16802]: gpgsql Connection successful. Connected to database 'regdns' on ''.
pdns[16802]: Starting AXFR of 'foo3.systems' from remote 217.70.XXX.XXX:53
pdns[16802]: Exiting because communicator thread died with STL error: Attempt to print an unset dnsname
pdns[16802]: Got a signal 11, attempting to print trace:
pdns[16802]: /usr/sbin/pdns_server-instance(+0x192b33) [0x7f75e06c8b33]
pdns[16802]: /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7f75de88bcb0]
pdns[16802]: /usr/sbin/pdns_server-instance(QType::chartocode(char const*)+0xfc) [0x7f75e06bf6fc]
pdns[16802]: /usr/sbin/pdns_server-instance(QType::operator=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xc) [0x7f75e06bf8bc]
pdns[16802]: /usr/sbin/pdns_server-instance(GSQLBackend::extractRecord(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, DNSResourceRecord&)+0x2c1) [0x7f75e05bf431]
pdns[16802]: /usr/sbin/pdns_server-instance(GSQLBackend::get(DNSResourceRecord&)+0x8b) [0x7f75e05c993b]
pdns[16802]: /usr/sbin/pdns_server-instance(DNSBackend::getSOA(DNSName const&, SOAData&, DNSPacket*)+0x15a) [0x7f75e05ffaba]
pdns[16802]: /usr/sbin/pdns_server-instance(GSQLBackend::getDomainInfo(DNSName const&, DomainInfo&)+0x3a1) [0x7f75e05cd411]
pdns[16802]: /usr/sbin/pdns_server-instance(UeberBackend::getDomainInfo(DNSName const&, DomainInfo&)+0x3c) [0x7f75e07227ac]
pdns[16802]: /usr/sbin/pdns_server-instance(CommunicatorClass::suck(DNSName const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x23e) [0x7f75e06f421e]
pdns[16802]: /usr/sbin/pdns_server-instance(CommunicatorClass::retrievalLoopThread()+0x3af) [0x7f75e05ea2df]
pdns[15509]: Our pdns instance exited with code 1, respawning

More information about the Pdns-users mailing list