[tor-bugs] #7350 [Tor]: Assertion chan->state == CHANNEL_STATE_OPENING || chan->state == CHANNEL_STATE_OPEN || chan->state == CHANNEL_STATE_MAINT failed

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 7 01:31:38 UTC 2012


#7350: Assertion chan->state == CHANNEL_STATE_OPENING || chan->state ==
CHANNEL_STATE_OPEN || chan->state == CHANNEL_STATE_MAINT failed
--------------------+-------------------------------------------------------
 Reporter:  andrea  |          Owner:  andrea            
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor     |        Version:  Tor: 0.2.4.5-alpha
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 I saw this while trying to reproduce #7267:

 src/or/channel.c:1668 channel_write_cell_queue_entry: Assertion
 chan->state == CHANNEL_STATE_OPENING || chan->state == CHANNEL_STATE_OPEN
 || chan->state == CHANNEL_STATE_MAINT failed; aborting.

 The stack trace is:

 #0  0x00007ffff69619b5 in raise () from /lib64/libc.so.6
 #1  0x00007ffff696305f in abort () from /lib64/libc.so.6
 #2  0x000000000047fbd9 in channel_write_cell_queue_entry (chan=0x1409340,
 q=0x7fffffffdd90) at src/or/channel.c:1666
 #3  0x00000000004801ef in channel_write_cell (chan=0x1409340,
 cell=0x7fffffffddf0) at src/or/channel.c:1748
 #4  0x00000000004831b6 in channel_send_destroy (circ_id=62492,
 chan=0x1409340, reason=8) at src/or/channel.c:2598
 #5  0x0000000000498a5f in circuit_mark_for_close_ (circ=0x198fe80,
 reason=8, line=1047,
     file=0x5753a9 "src/or/circuitlist.c") at src/or/circuitlist.c:1442
 #6  0x0000000000497996 in circuit_unlink_all_from_channel (chan=0x11a7720,
 reason=8) at src/or/circuitlist.c:1047
 #7  0x000000000047ec78 in channel_closed (chan=0x11a7720) at
 src/or/channel.c:1288
 #8  0x00000000004d50b8 in connection_or_about_to_close (or_conn=0x26e2c80)
 at src/or/connection_or.c:601
 #9  0x00000000004bf91a in connection_about_to_close_connection
 (conn=0x26e2c80) at src/or/connection.c:633
 #10 0x0000000000409108 in connection_unlink (conn=0x26e2c80) at
 src/or/main.c:385
 #11 0x000000000040aa69 in conn_close_if_marked (i=18) at src/or/main.c:932
 #12 0x000000000040a151 in close_closeable_connections () at
 src/or/main.c:702
 #13 0x000000000040be70 in run_scheduled_events (now=1352251511) at
 src/or/main.c:1535
 #14 0x000000000040c396 in second_elapsed_callback (timer=0xd7afc0,
 arg=0x0) at src/or/main.c:1691
 #15 0x000000000054f892 in periodic_timer_cb (fd=-1, what=1, arg=0xd7afc0)
 at src/common/compat_libevent.c:599
 #16 0x00007ffff772f930 in event_process_active (base=0x7e04d0,
 flags=<value optimized out>) at event.c:395
 #17 event_base_loop (base=0x7e04d0, flags=<value optimized out>) at
 event.c:547
 #18 0x000000000040cbdd in do_main_loop () at src/or/main.c:1987
 #19 0x000000000040e19d in tor_main (argc=3, argv=0x7fffffffe638) at
 src/or/main.c:2699
 #20 0x00000000004087a4 in main (argc=3, argv=0x7fffffffe638) at
 src/or/tor_main.c:30

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


More information about the tor-bugs mailing list