[tor-bugs] #7086 [Tor]: moria1 asserts on startup

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Oct 11 03:55:54 UTC 2012


#7086: moria1 asserts on startup
----------------------+-----------------------------------------------------
 Reporter:  arma      |          Owner:                    
     Type:  defect    |         Status:  new               
 Priority:  normal    |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor       |        Version:                    
 Keywords:  tor-auth  |         Parent:                    
   Points:            |   Actualpoints:                    
----------------------+-----------------------------------------------------

Comment(by arma):

 {{{
 #0  0x00007fb6c6bde1b5 in *__GI_raise (sig=<value optimized out>)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00007fb6c6be0fc0 in *__GI_abort () at abort.c:92
 #2  0x0000000000465f5b in channel_change_state (chan=0x616cd60,
     to_state=CHANNEL_STATE_CLOSED) at src/or/channel.c:1823
 #3  0x00000000004a90bb in connection_or_about_to_close (or_conn=0x616ceb0)
     at src/or/connection_or.c:599
 #4  0x000000000040b82d in connection_unlink (conn=0x2b59) at
 src/or/main.c:384
 #5  0x000000000040ba98 in conn_close_if_marked () at src/or/main.c:931
 #6  close_closeable_connections () at src/or/main.c:701
 #7  0x000000000040cb18 in run_scheduled_events (timer=<value optimized
 out>,
     arg=<value optimized out>) at src/or/main.c:1534
 #8  second_elapsed_callback (timer=<value optimized out>,
     arg=<value optimized out>) at src/or/main.c:1690
 #9  0x00007fb6c7917344 in event_base_loop () from
 /usr/lib/libevent-1.4.so.2
 #10 0x000000000040a021 in do_main_loop () at src/or/main.c:1986
 #11 0x000000000040a35d in tor_main (argc=<value optimized out>,
     argv=0x7fff2003e038) at src/or/main.c:2694
 #12 0x00007fb6c6bcac8d in __libc_start_main (main=<value optimized out>,
     argc=<value optimized out>, ubp_av=<value optimized out>,
     init=<value optimized out>, fini=<value optimized out>,
     rtld_fini=<value optimized out>, stack_end=0x7fff2003e028)
     at libc-start.c:228
 #13 0x0000000000408809 in _start ()
 }}}

 {{{
 (gdb) up
 #2  0x0000000000465f5b in channel_change_state (chan=0x616cd60,
     to_state=CHANNEL_STATE_CLOSED) at src/or/channel.c:1823
 1823      tor_assert(channel_state_is_valid(from_state));
 (gdb) print from_state
 $1 = CHANNEL_STATE_CLOSING
 (gdb) print *chan
 $2 = {magic = 2316903463, state = CHANNEL_STATE_CLOSED,
   global_identifier = 4015, registered = 1 '\001',
   reason_for_closing = CHANNEL_CLOSE_FROM_BELOW,
   timestamp_created = 1349927428, timestamp_active = 1349927458, free = 0,
   close = 0x46bbf0 <channel_tls_close_method>,
   describe_transport = 0x46bb20 <channel_tls_describe_transport_method>,
   dumpstats = 0, cell_handler = 0, var_cell_handler = 0,
   get_remote_addr = 0x46c110 <channel_tls_get_remote_addr_method>,
   get_remote_descr = 0x46b9b0 <channel_tls_get_remote_descr_method>,
   has_queued_writes = 0x46b8c0 <channel_tls_has_queued_writes_method>,
   is_canonical = 0x467fd0 <channel_tls_is_canonical_method>,
   matches_extend_info = 0x46a600 <channel_tls_matches_extend_info_method>,
   matches_target = 0x46a4c0 <channel_tls_matches_target_method>,
   write_cell = 0x46b780 <channel_tls_write_cell_method>,
   write_packed_cell = 0x46b630 <channel_tls_write_packed_cell_method>,
   write_var_cell = 0x46b4f0 <channel_tls_write_var_cell_method>,
   identity_digest = "�i��x �\205嫴t\\\025`\016z�uP", nickname = 0x0,
   next_with_same_id = 0x0, prev_with_same_id = 0x0,
   incoming_queue = 0x155a5f40, outgoing_queue = 0x0, cmux = 0x3700ee0,
   circ_id_type = CIRC_ID_TYPE_LOWER, next_circ_id = 25699,
   num_n_circuits = 0, num_p_circuits = 0, is_bad_for_new_circs = 1,
   is_client = 0, is_incoming = 0, is_local = 0, timestamp_client = 0,
   timestamp_drained = 0, timestamp_recv = 1349927458, timestamp_xmit = 0,
   timestamp_last_added_nonpadding = 1349927428, dirreq_id = 0,
   n_cells_recved = 1, n_cells_xmitted = 0}
 }}}

 {{{
 (gdb) print chan->incoming_queue
 $5 = (smartlist_t *) 0x155a5f40
 (gdb) print *chan->incoming_queue
 $6 = {list = 0x54d6090, num_used = 1, capacity = 16}
 }}}

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


More information about the tor-bugs mailing list