[Pdns-users] Attempt to print an unset dnsname

Klaus Darilion klaus.mailinglists at pernau.at
Wed Nov 8 21:50:44 UTC 2017


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 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
>>
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com
>> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> A good way to deal with this is to do
> 
> gdb --args ./my_pdns_binary --parameters
> run
> <ctrl+c>
> catch throw
> continue
> ..cause the issue...
> 
> and it should nicely drop into your exception now.
> 
> Aki
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> 


More information about the Pdns-users mailing list