[tor-bugs] #9017 [Tor]: Crash in assert_connection_ok

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 6 15:37:12 UTC 2013


#9017: Crash in assert_connection_ok
--------------------------+-------------------------------------------------
 Reporter:  usuality      |          Owner:                    
     Type:  defect        |         Status:  needs_revision    
 Priority:  major         |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor           |        Version:  Tor: 0.2.3.25     
 Keywords:  023-backport  |         Parent:                    
   Points:                |   Actualpoints:                    
--------------------------+-------------------------------------------------

Comment(by usuality):

 Yes, 10 seconds before the abort it logged that error.

 {{{
 (gdb) p *conn->write_event
 $3 = {ev_next = {tqe_next = 0x8e1c85da480, tqe_prev = 0x8e1c5f54100},
 ev_active_next = {tqe_next = 0x0,
     tqe_prev = 0x0}, ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x0},
 min_heap_idx = 4294967295,
   ev_base = 0x8e1cb63d800, ev_fd = 103, ev_events = 20, ev_ncalls = 0,
 ev_pncalls = 0x0, ev_timeout = {
     tv_sec = 0, tv_usec = 0}, ev_pri = 0, ev_callback = 0x8dfbbc1139e
 <conn_write_callback>,
   ev_arg = 0x8e1c6655000, ev_res = 0, ev_flags = 128}
 (gdb) p *(edge_connection_t*)conn
 $4 = {_base = {magic = 4030152723, state = 3 '\003', type = 5, purpose =
 1, read_blocked_on_bw = 0,
     write_blocked_on_bw = 0, hold_open_until_flushed = 0,
 inbuf_reached_eof = 1, in_flushed_some = 0,
     linked = 0, reading_from_linked_conn = 0, writing_to_linked_conn = 0,
 active_on_link = 0,
     linked_conn_is_closed = 0, proxy_state = 0, s = 103, conn_array_index
 = 330,
     read_event = 0x8e1c85da480, write_event = 0x8e1bdce5a80, inbuf =
 0x8e1c01f3ac0, outbuf = 0x8e1c93d5200,
     outbuf_flushlen = 392, timestamp_lastread = 1370519533,
 timestamp_lastwritten = 1370519523,
     timestamp_created = 1370519523, socket_family = 2, addr = {family = 2
 '\002', addr = {
         dummy_ = 3242793927, in_addr = {s_addr = 3242793927}, in6_addr =
 {__u6_addr = {
             __u6_addr8 = "Ç\033IÁ", '\0' <repeats 11 times>, __u6_addr16 =
 {7111, 49481, 0, 0, 0, 0, 0, 0},
             __u6_addr32 = {3242793927, 0, 0, 0}}}}}, port = 80,
 marked_for_close = 0,
     marked_for_close_file = 0x0, address = 0x8e1c85b2880 "api-
 public.addthis.com", linked_conn = 0x0,
     global_identifier = 326395, dirreq_id = 0}, next_stream =
 0x8e1cde6ee00, package_window = 500,
   deliver_window = 499, on_circuit = 0x8e1be07f400, cpath_layer = 0x0,
 rend_data = 0x0, address_ttl = 16,
   stream_id = 51317, end_reason = 6, n_read = 0, n_written = 0,
 is_dns_request = 0, edge_has_sent_end = 1,
   edge_blocked_on_circ = 0}
 (gdb)
 }}}

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


More information about the tor-bugs mailing list