On Nov 5, 2006, at 6:57 PM, Nick Mathewson wrote:
On Sun, Nov 05, 2006 at 09:54:41AM +0000, Tassilo von Parseval wrote: [...]I called either evdns_clear_nameservers_and_suspend or evdns_shutdown, both to no avail: the first would segfault while the second tickled an assertion. How can I make sure that an application doesn't get stuck in the mainloop when using libevent's DNS lookups?Hi, Tassilo! Segfaults and assertions are usually not intended behavior; can you provide stack traces for either?
Yes, give me a little while, please. I need to get rid of the perl blubber around it to turn it into a plain C program.
What I can tell you already now is that I called each of them from inside an active callback which may well be the culprit here.
Cheers, Tassilo _______________________________________________ Libevent-users mailing list [email protected] http://monkey.org/mailman/listinfo/libevent-users
