Accidentally I called evdns_base_new(eb, 0); instead of evdns_base_new(eb, 1);.
When this is done event_base_dispatch is not kept alive. Okay, but evdns_base_new returns a pointer, which when I try to cancel, crashes my program.
Can you attach a short test program to reproduce this? Can you finish the sentence in the bug summary? (i.e., if nameservers are not added, evdns_base_resolve_ipv4 does what?)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you attach a short test program to reproduce this? Can you finish the sentence in the bug summary? (i.e., if nameservers are not added, evdns_base_resolve_ipv4 does what?)