[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Re: libevent-2.0.8-rc/evdns.c:2672: Assertion (req)->handle && (req)->handle->current_req == (req) failed in evdns_cancel_request



On Fri, Nov 5, 2010 at 10:52 AM, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
> On Thu, Nov 4, 2010 at 4:06 PM, Denis Bilenko <denis.bilenko@xxxxxxxxx> wrote:
>> On Thu, Nov 4, 2010 at 9:10 PM, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
>>> Assuming that it now crashes in a different place from where it used
>>> to crash -- that is, at ASSERT_VALID_REQUEST in evdns_cancel, I've got
>>> an updated patch, attached below.  Third time is maybe the charm.
>>
>> Yeah, it seems to work now with regard to resolve_ipv4 requests but
>> still crashes when getaddrinfo is involved:
>>
>> [err] /home/denis/src/libevent-all/libevent-2.0.8-rc-patch2/evdns.c:4183:
>> Assertion req->type == DNS_IPv4_A || req->type == DNS_IPv6_AAAA failed
>> in evdns_getaddrinfo_gotresolve
>
> Thanks!  I'm trying to reproduce this so I can see whether my fix
> ideas work, but I'm not having a lot of luck.  Any chance of a quick
> test program so I can reproduce this crash?

Added a bugtracker entry at
https://sourceforge.net/tracker/index.php?func=detail&aid=3108212&group_id=50884&atid=461322#
; using my inbox as a bugtracker has been VERY unreliable in the past.
 It would still be neat to figure out a test program for this.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.