[tor-bugs] #8065 [Tor]: Bug: src/or/connection_edge.c:649: connection_ap_expire_beginning: Assertion circ->purpose == CIRCUIT_PURPOSE_C_GENERAL failed

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 13 22:27:49 UTC 2013


#8065: Bug: src/or/connection_edge.c:649: connection_ap_expire_beginning:
Assertion circ->purpose == CIRCUIT_PURPOSE_C_GENERAL failed
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:                    
     Type:  defect       |         Status:  new               
 Priority:  major        |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:  Tor: 0.2.4.9-alpha
 Keywords:  tor-client   |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by murble):

 I can reproduce this bug on demand.

 I have a network with 2 independent gateways to the internet.

 Running the causing some tor traffic then switching gateways
 and back again on the host

 for instance
 ip route change default 10.23.23.1
 # wait some time
 ip route change default 10.23.23.254

 causes:

 Feb 13 23:08:41.568 [Warning] circuit_package_relay_cell(): Bug: outgoing
 relay cell has n_chan==NULL. Dropping.

 which a few seconds later results in:

 Feb 13 23:08:51.445 [Error] connection_ap_expire_beginning(): Bug:
 src/or/connection_edge.c:649: connection_ap_expire_beginning: Assertion
 circ->purpose == CIRCUIT_PURPOSE_C_GENERAL failed; aborting.

 backtrace:

 #0  0x00007fa7b328e475 in *__GI_raise (sig=<optimized out>) at
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00007fa7b32916f0 in *__GI_abort () at abort.c:92
 #2  0x00000000004cf03c in connection_ap_expire_beginning () at
 src/or/connection_edge.c:649
 #3  0x000000000040c418 in run_scheduled_events (now=1360793331) at
 src/or/main.c:1479
 #4  0x000000000040cb2f in second_elapsed_callback (timer=0x14ee8e0,
 arg=0x0) at src/or/main.c:1693
 #5  0x0000000000574ed7 in periodic_timer_cb (fd=-1, what=1, arg=0x14ee8e0)
 at src/common/compat_libevent.c:599
 #6  0x00007fa7b4044fcc in event_base_loop () from /tmp/tor-browser_en-
 US/Lib/libevent-2.0.so.5
 #7  0x000000000040d370 in do_main_loop () at src/or/main.c:1989
 #8  0x000000000040e93e in tor_main (argc=15, argv=0x7fff841a6e58) at
 src/or/main.c:2701
 #9  0x0000000000408f4c in main (argc=15, argv=0x7fff841a6e58) at
 src/or/tor_main.c:30


 I was unable to reproduce with 0.2.4.10

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


More information about the tor-bugs mailing list