[Pdns-users] Attempt to print an unset dnsname

Aki Tuomi cmouse at cmouse.fi
Wed Nov 8 06:04:28 UTC 2017



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


More information about the Pdns-users mailing list