[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 23:32:01 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):

 {{{
 (gdb) up
 #1  0x00007fa7b32916f0 in *__GI_abort () at abort.c:92
 92      abort.c: No such file or directory.
 (gdb) up
 #2  0x00000000004cf03c in connection_ap_expire_beginning () at
 src/or/connection_edge.c:649
 649         tor_assert(circ->purpose == CIRCUIT_PURPOSE_C_GENERAL);
 (gdb) print circ->purpose
 $1 = 20 '\024'
 (gdb) print ((origin_circuit_t*)circ)->path_state
 $2 = PATH_STATE_BUILD_SUCCEEDED
 (gdb) print ((origin_circuit_t*)circ)->pathbias_probe_id
 $3 = 36985
 (gdb) print *circ
 $4 = {magic = 892424771, n_chan = 0x0, n_circ_id = 0, n_mux = 0x0,
 n_chan_cells = {head = 0x0, tail = 0x0, n = 0, insertion_times = 0x0},
   n_hop = 0x0, streams_blocked_on_n_chan = 0, streams_blocked_on_p_chan =
 0, state = 3 '\003', purpose = 20 '\024', package_window = 1000,
   deliver_window = 1000, n_chan_create_cell = 0x0, timestamp_began =
 {tv_sec = 1360793321, tv_usec = 553414}, timestamp_created = {
     tv_sec = 1360793230, tv_usec = 441237}, timestamp_dirty = 1360793321,
 marked_for_close = 0, marked_for_close_file = 0x0, dirreq_id = 0,
   next = 0x0, next_active_on_n_chan = 0x0, prev_active_on_n_chan = 0x0}
 (gdb) print *((origin_circuit_t*)circ)
 $5 = {base_ = {magic = 892424771, n_chan = 0x0, n_circ_id = 0, n_mux =
 0x0, n_chan_cells = {head = 0x0, tail = 0x0, n = 0,
       insertion_times = 0x0}, n_hop = 0x0, streams_blocked_on_n_chan = 0,
 streams_blocked_on_p_chan = 0, state = 3 '\003', purpose = 20 '\024',
     package_window = 1000, deliver_window = 1000, n_chan_create_cell =
 0x0, timestamp_began = {tv_sec = 1360793321, tv_usec = 553414},
     timestamp_created = {tv_sec = 1360793230, tv_usec = 441237},
 timestamp_dirty = 1360793321, marked_for_close = 0,
     marked_for_close_file = 0x0, dirreq_id = 0, next = 0x0,
 next_active_on_n_chan = 0x0, prev_active_on_n_chan = 0x0}, p_streams =
 0x1776b20,
   build_state = 0x11343a0, cpath = 0x11344a0, rend_data = 0x0,
 remaining_relay_early_cells = 0, is_ancient = 0, has_opened = 1,
   path_state = PATH_STATE_BUILD_SUCCEEDED, pathbias_probe_id = 36985,
 pathbias_probe_nonce = 6881800, hs_circ_has_timed_out = 0,
   relaxed_timeout = 0, hs_service_side_rend_circ_has_been_relaunched = 0,
 relay_early_commands = "\006\006\001\001\001\001\001\001",
   relay_early_cells_sent = 8, next_stream_id = 36986, intro_key = 0x0,
 global_identifier = 8, isolation_values_set = 1,
   isolation_any_streams_attached = 1, isolation_flags_mixed = 2 '\002',
 client_proto_type = 6 '\006', client_proto_socksver = 5 '\005',
   dest_port = 80, client_addr = {family = 2, addr = {dummy_ = 16777343,
 in_addr = {s_addr = 16777343}, in6_addr = {__in6_u = {
           __u6_addr8 = "\177\000\000\001", '\000' <repeats 11 times>,
 __u6_addr16 = {127, 256, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {16777343, 0, 0,
             0}}}}}, dest_address = 0x1138810 "static.bbci.co.uk",
 session_group = -4, nym_epoch = 0, socks_username_len = 0,
   socks_password_len = 0 '\000', socks_username = 0x0, socks_password =
 0x0, associated_isolated_stream_global_id = 147}
 }}}

 Plain tor built from tor-0.2.4.9-alpha.tar.gz
 on Debian Wheezy.

 Problem previously experienced using the binary shipped with
 tor-browser-gnu-linux-x86_64-2.4.9-alpha-1-dev-en-US.tar.gz
 but replaced with the plain self build binary due to a lack of symbols
 in that binary.

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


More information about the tor-bugs mailing list