Re: [Pdns-users] Attempt to print an unset dnsname

2017-11-08 Thread Klaus Darilion
Thanks for all the tips. "catch throw" did not worked as exceptions are used regularly in PDNS. Hence I replaced the exception with abort() and waited for gdb to catch the abort. Issue is opened ;-) Thanks Klaus Am 08.11.2017 um 07:04 schrieb Aki Tuomi: > > > On 07.11.2017 17:01, Brian Candle

Re: [Pdns-users] Attempt to print an unset dnsname

2017-11-07 Thread Aki Tuomi
On 07.11.2017 17:01, Brian Candler wrote: > On 07/11/2017 14:57, Klaus Darilion wrote: >> But whatever I try I do not receive a core dump. > > Not answering your question directly, but what about running pdns > directly under gdb? > > gdb ./my_pdns_binary > run args... > bt > > __

Re: [Pdns-users] Attempt to print an unset dnsname

2017-11-07 Thread Brian Candler
On 07/11/2017 14:57, Klaus Darilion wrote: But whatever I try I do not receive a core dump. Not answering your question directly, but what about running pdns directly under gdb? gdb ./my_pdns_binary run args... bt ___ Pdns-users mailing list Pdns-

Re: [Pdns-users] Attempt to print an unset dnsname

2017-11-07 Thread Klaus Darilion
Hi Remi! Thanks for the clarification. To debug this issue I want to generate a core dump instead of raising an exception. Hence I did: std::string DNSName::toString(const std::string& separator, const bool trailing) const { if (empty()) { +DLOG(L< Hi Klaus, > > On 10/25/2017 10:29 AM, Kl

Re: [Pdns-users] Attempt to print an unset dnsname

2017-10-25 Thread Remi Gacogne
Hi Klaus, On 10/25/2017 10:29 AM, Klaus Darilion wrote: > 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 ot

Re: [Pdns-users] Attempt to print an unset dnsname

2017-10-25 Thread Klaus Darilion
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 o

Re: [Pdns-users] Attempt to print an unset dnsname

2017-09-29 Thread Peter van Dijk
Hello Klaus, On 26 Sep 2017, at 17:27, Klaus Darilion wrote: My PowerDNS 4.0.4 (with some modifications) exits often with "Exiting because communicator thread died with STL error: Attempt to print an unset dnsname" I have some hard time to find where this happens. The logged stack trace is:

[Pdns-users] Attempt to print an unset dnsname

2017-09-26 Thread Klaus Darilion
Hi! My PowerDNS 4.0.4 (with some modifications) exits often with "Exiting because communicator thread died with STL error: Attempt to print an unset dnsname" I have some hard time to find where this happens. The logged stack trace is: Sep 26 14:53:19 cc-reg-vie1 pdns[16802]: /usr/sbin/pdns_serv