[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] libevent-2.0.8-rc/evdns.c:2672: Assertion (req)->handle && (req)->handle->current_req == (req) failed in evdns_cancel_request
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] libevent-2.0.8-rc/evdns.c:2672: Assertion (req)->handle && (req)->handle->current_req == (req) failed in evdns_cancel_request
- From: Denis Bilenko <denis.bilenko@xxxxxxxxx>
- Date: Wed, 3 Nov 2010 12:47:15 +0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 03 Nov 2010 02:47:53 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=Xd5Kff/6G0vMOvgyNo/Kp6JoEZ1v98M0Lqxux8p0f4U=; b=bwg6qpjaL4fQsFKCtWujyo4QQyZeFU5cvXa1iBOHStWyyXa2yh2DP07sZ34d7xQUHK p+WMk0/Gu0xqmxfb41J8QZcQ5hgsbcLeuqU7YHQDn+syB1Scb4YHKkFE4/XPCyckbDGE YGqHh/D0ZKEDox6AGg6zx8dL/pxuryfa6alGk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=R/O6wyvGE9ukdGkKzOYyK+KilAt23PQYrciXuPKlQimEwlMmsDSxRaESzI/ABPpU62 YBBbiCD8fUZigga7wLucCNu4HogKG1CNO0BpqqXDY4KPgbHLw7edPGfou7RQL81ssgXz nncx2TOev6lqdg8prnVM7PynUKLZ/zRHllUpY=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
I've been working on making gevent use libevent's getaddrinfo and
occasionally get the above message in one of the test cases. What
could trigger it? How can I avoid it?
I don't call evdns_getaddrinfo_cancel if the callback was already
executed, so I wonder how could I arrive at invalid request?
libevent version: 2.0.8-rc
A bit more context:
#0 0x002cc422 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0013a651 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0x0013da82 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0x00329385 in event_exit (errcode=-559030611) at
/home/denis/src/libevent-all/libevent-2.0.8-rc/log.c:79
No locals.
#4 0x003293b7 in event_errx (eval=-559030611, fmt=0x3402f4 "%s:%d:
Assertion %s failed in %s") at
/home/denis/src/libevent-all/libevent-2.0.8-rc/log.c:136
No locals.
#5 0x00334468 in evdns_cancel_request (base=0x8cac928,
handle=0x8cb9530) at
/home/denis/src/libevent-all/libevent-2.0.8-rc/evdns.c:2672
req = 0x267410
__func__ = "evdns_cancel_request"
#6 0x003344a6 in evdns_getaddrinfo_cancel (data=0x8d0e588) at
/home/denis/src/libevent-all/libevent-2.0.8-rc/evdns.c:4465
No locals.
#7 0x002e7773 in __pyx_pf_6gevent_4core_19getaddrinfo_request__cancel
(__pyx_v_self=<gevent.core.getaddrinfo_request at remote 0x8c74aec>,
unused=0x0)
at gevent/core.c:5227
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.