[tor-bugs] #5072 [Obfsproxy]: obfsproxy assertion failure src/network.c:726: down->buffer == bev

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Feb 11 15:43:08 UTC 2012


#5072: obfsproxy assertion failure src/network.c:726: down->buffer == bev
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn         
     Type:  defect     |         Status:  needs_review
 Priority:  major      |      Milestone:              
Component:  Obfsproxy  |        Version:              
 Keywords:             |         Parent:              
   Points:             |   Actualpoints:              
-----------------------+----------------------------------------------------

Comment(by arma):

 Replying to [comment:11 nickm]:
 > Just pushed a rebased and extended bug5072_v2 to my public repository;
 let me know if it asserts anything different, and if so what the stack
 trace is?

 {{{
 (gdb) up
 #3  0x0000000000403ed8 in bufferevent_wrap_setcb (bev=0x1e1aea0,
     r=0x405400 <downstream_read_cb>, w=0x40486d <conn_free_on_flush>,
     e=0x4059e4 <flush_error_cb>, arg=0x1e1b580) at src/network.c:168
 168         obfs_assert(conn->is_downstream == 1);
 (gdb) print *conn->circuit
 $1 = {upstream = 0x1e1b580, downstream = 0x1e1bff0, socks_state = 0x0,
   is_open = 1, is_flushing = 1}
 (gdb) print *conn
 $2 = {conn_magic = 3225731140, cfg = 0x1dfe0e0,
   peername = 0x1e1b5c0 "127.0.0.1:9009", circuit = 0x1e1b600,
   buffer = 0x1e1b210, mode = LSN_SIMPLE_SERVER, is_downstream = 0}
 }}}

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


More information about the tor-bugs mailing list