[tor-bugs] #5156 [Obfsproxy]: assertion failure at src/network.c:931: circ

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 17 04:53:38 UTC 2012


#5156: assertion failure at src/network.c:931: circ
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------
 My Tor client launched obfsproxy in managed mode, configured to use the 14
 obfsproxy bridges that are in the bundle. My network went down, and it
 looks like obfsproxy bit it when the network returned.

 {{{
 2012-02-16 21:56:13 [warn] Connection error: No route to host
 2012-02-16 21:56:13 [warn] Connection error: No route to host
 2012-02-16 21:56:14 [info] [scrubbed]: socks: trying to connect to
 [scrubbed]:36609
 2012-02-16 21:56:14 [info] [scrubbed]: socks: trying to connect to
 [scrubbed]:42401
 2012-02-16 21:56:16 [warn] Connection error: No route to host
 2012-02-16 21:56:19 [warn] Connection error: No route to host
 2012-02-16 21:57:09 [info] [scrubbed]: socks: trying to connect to
 [scrubbed]:53999
 2012-02-16 21:57:09 [error] assertion failure at src/network.c:931: circ
 }}}

 I'm not sure quite what version of obfsproxy it was, since it has no
 versions and no releases. It was built Feb 13 (Monday morning) at 07:30
 EST, so it's presumably missing what we've committed since then.

 {{{
 #0  0x00007fa14925a475 in *__GI_raise (sig=<optimized out>)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
         pid = <optimized out>
         selftid = <optimized out>
 #1  0x00007fa14925d6f0 in *__GI_abort () at abort.c:92
         act = {__sigaction_handler = {sa_handler = 0x7fff6f4278ec,
             sa_sigaction = 0x7fff6f4278ec}, sa_mask = {__val = {0,
               140330701343215, 140330693892389, 210380881921, 17689675,
               140330693487520, 140330705588224, 17689660, 4294967295,
               17689660, 1, 6361672, 0, 32, 17690208, 0}},
           sa_flags = 1237092162, sa_restorer = 0x1}
         sigs = {__val = {32, 0 <repeats 15 times>}}
 #2  0x0000000000406cf9 in log_error_abort (format=<optimized out>)
     at src/util.c:585
         ap = {{gp_offset = 32, fp_offset = 48,
             overflow_arg_area = 0x7fff6f427750,
             reg_save_area = 0x7fff6f427690}}
 #3  0x0000000000404a68 in pending_socks_cb (bev=0x10dee60, what=32,
     arg=0x10e0df0) at src/network.c:931
         down = 0x10e0df0
         circ = 0x0
         up = <optimized out>
         socks = <optimized out>
         __func__ = "pending_socks_cb"
 #4  0x00007fa1499904c3 in bufferevent_socket_connect ()
    from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #5  0x00007fa14999058f in ?? () from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #6  0x00007fa1499a7129 in evdns_getaddrinfo () from
 /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #7  0x00007fa149997276 in evutil_getaddrinfo_async ()
    from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #8  0x00007fa1499906c8 in bufferevent_socket_connect_hostname ()
    from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #9  0x0000000000404558 in open_outbound_hostname (port=53999,
     addr=0x10dec3c "109.105.109.163", af=2, conn=0x10d7060)
     at src/network.c:609
         base = <optimized out>
         buf = 0x10dee60
         newconn = 0x10e0df0
 #10 socks_read_cb (bev=<optimized out>, arg=0x10d7060) at
 src/network.c:654
         af = 2
         r = <optimized out>
         port = 53999
         addr = 0x10dec3c "109.105.109.163"
         status = <optimized out>
         conn = 0x10d7060
         socks_ret = <optimized out>
         __func__ = "socks_read_cb"
 #11 0x00007fa14998fe1d in ?? () from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #12 0x00007fa14998597c in event_base_loop () from
 /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #13 0x00000000004032c4 in launch_managed_proxy () at src/managed.c:696
         r = -1
         proxy = 0x10c40d0
 #14 0x00000000004028dc in obfs_main (argc=<optimized out>,
     argv=<optimized out>) at src/main.c:293
         begin = 0x7fff6f427cc0
 #15 0x00007fa149246ead in __libc_start_main (main=<optimized out>,
     argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
     fini=<optimized out>, rtld_fini=<optimized out>,
 stack_end=0x7fff6f427c98)
     at libc-start.c:228
         result = <optimized out>
         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0,
 3345274397001419417,
                 4203448, 140735060016288, 0, 0, -3345589772015203687,
                 -3373654480587683175}, mask_was_saved = 0}}, priv = {pad =
 {
               0x0, 0x0, 0x40bc90, 0x7fff6f427ca8}, data = {prev = 0x0,
               cleanup = 0x0, canceltype = 4242576}}}
         not_first_call = <optimized out>
 #16 0x00000000004023e1 in _start ()
 No symbol table info available.
 }}}

 {{{
 (gdb) print circ
 $3 = (circuit_t *) 0x0
 (gdb) print *down
 $2 = {cfg = 0x10d78d0, peername = 0x10df200 "109.105.109.163:53999",
   circuit = 0x0, buffer = 0x10dee60, mode = LSN_SOCKS_CLIENT}
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5156>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list