[tor-bugs] #5534 [Tor Directory Authority]: Make bridge authorities add "a" lines to router status entries

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jul 18 15:12:56 UTC 2012


#5534: Make bridge authorities add "a" lines to router status entries
-------------------------------------+--------------------------------------
 Reporter:  ln5                      |          Owner:  ln5               
     Type:  enhancement              |         Status:  needs_review      
 Priority:  normal                   |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Directory Authority  |        Version:                    
 Keywords:                           |         Parent:  #4563             
   Points:                           |   Actualpoints:                    
-------------------------------------+--------------------------------------

Comment(by ln5):

 {{{
 <ln5> nickm: dirauths segfault on your branch in nodelist_map_HT_INSERT
       (head=0x8, elm=0x801481550) at nodelist.c:53 but only dirauths it
 seems.
       i can't really see why.
 }}}

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 8014041c0 (LWP 100156)]
 0x00000000004179f4 in nodelist_map_HT_INSERT (head=0x8, elm=0x801473550)
 at nodelist.c:53
 53      HT_PROTOTYPE(nodelist_map, node_t, ht_ent, node_id_hash,
 node_id_eq);
 (gdb) bt
 #0  0x00000000004179f4 in nodelist_map_HT_INSERT (head=0x8,
 elm=0x801473550) at nodelist.c:53
 #1  0x0000000000417992 in node_get_or_create (identity_digest=0x80145542c
 "çA·r¥ø¼S\235ðn>rxìüQ\232IÖ,Ò\006P") at nodelist.c:108
 #2  0x0000000000417b98 in nodelist_set_routerinfo (ri=0x801455400,
 ri_old_out=0x0) at nodelist.c:140
 #3  0x000000000045031d in routerlist_insert (rl=0x80148c480,
 ri=0x801455400) at routerlist.c:2883
 #4  0x000000000045246a in router_add_to_routerlist (router=0x801455400,
 msg=0x7fffffffe058, from_cache=0, from_fetch=0) at routerlist.c:3475
 #5  0x00000000004da677 in dirserv_add_descriptor (ri=0x801455400,
 msg=0x7fffffffe058, source=0x53c2ba "self") at dirserv.c:759
 #6  0x0000000000443450 in init_keys () at router.c:662
 #7  0x0000000000492600 in options_act (old_options=0x0) at config.c:1515
 #8  0x0000000000490b6c in set_options (new_val=0x801412f00,
 msg=0x7fffffffe3a0) at config.c:755
 #9  0x000000000049bd80 in options_init_from_string
 (cf_defaults=0x80141f106 "",
     cf=0x801420200 "TestingTorNetwork 1\nDataDirectory
 /usr/u/src/tor/chutney/net/nodes/000a\nRunAsDaemon 1\nConnLimit
 60\nNickname test000a\nShutdownWaitLength 0\nPidFile
 /usr/u/src/tor/chutney/net/nodes/000a/pid\nLog notice f"..., command=0,
 command_arg=0x0, msg=0x7fffffffe3a0) at config.c:4791
 #10 0x000000000049b79c in options_init_from_torrc (argc=5,
 argv=0x7fffffffe5d8) at config.c:4648
 #11 0x000000000040d797 in tor_init (argc=5, argv=0x7fffffffe5d8) at
 main.c:2333
 #12 0x000000000040de7e in tor_main (argc=5, argv=0x7fffffffe5d8) at
 main.c:2646
 #13 0x00000000004087ab in main (argc=5, argv=0x7fffffffe5d8) at
 tor_main.c:30
 (gdb)
 }}}

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


More information about the tor-bugs mailing list