[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 Tue, Nov 16, 2010 at 6:54 PM, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
>> 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?
>
> There's a possible fix in my github repository
> (git://github.com/nmathewson/Libevent.git) in branch
> "20_getaddrinfo_cancel". Please let me know whether it works, so I
> know whether to merge it?
my getaddrinfo test still crashes:
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00007f69dcd8de5a in evdns_getaddrinfo_gotresolve (result=66,
type=0 '\000', count=<value optimized out>, ttl=0, addresses=0x0,
arg=0x22886e0)
at /home/denis/src/Libevent/evdns.c:4202
i = <value optimized out>
other_req = 0x22886d0
data = 0x2288680
res = <value optimized out>
sin = {sin_family = 41440, sin_port = 549, sin_addr = {s_addr
= 0}, sin_zero = "\000\000\000\000\000\000\000"}
sin6 = {sin6_family = 20512, sin6_port = 33125, sin6_flowinfo
= 32767, sin6_addr = {__in6_u = {
__u6_addr8 =
"R\370\177\201\377\177\000\000\001\000\000\000\000\000\000",
__u6_addr16 = {63570, 33151, 32767, 0, 1, 0, 0, 0},
__u6_addr32 = {2172647506, 32767, 1, 0}}}, sin6_scope_id
= 3716292160}
sa = <value optimized out>
socklen = 32617
addrlen = <value optimized out>
addrp = 0x4c48fb
err = <value optimized out>
__func__ = "evdns_getaddrinfo_gotresolve"
#2 0x00007f69dcd899bc in reply_run_callback (d=0x229e6a0,
user_pointer=<value optimized out>) at
/home/denis/src/Libevent/evdns.c:780
__func__ = "reply_run_callback"
#3 0x00007f69dcd75611 in event_process_deferred_callbacks
(base=0x225a1e0, flags=<value optimized out>) at
/home/denis/src/Libevent/event.c:1326
count = 1
cb = 0x229e6a0
#4 event_process_active (base=0x225a1e0, flags=<value optimized out>)
at /home/denis/src/Libevent/event.c:1365
i = 0
c = 2
#5 event_base_loop (base=0x225a1e0, flags=<value optimized out>) at
/home/denis/src/Libevent/event.c:1550
evsel = 0x7f69dcfa2ca0
tv = {tv_sec = 0, tv_usec = 0}
tv_p = <value optimized out>
res = <value optimized out>
retval = <value optimized out>
__func__ = "event_base_loop"
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.