[tor-bugs] #5917 [Stem]: integ.control.base_controller hangs

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat May 19 16:30:48 UTC 2012


#5917: integ.control.base_controller hangs
---------------------+------------------------------------------------------
 Reporter:  gsathya  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by atagar):

 > test_msg, test_msg_invalid, test_msg_invalid_getinfo,
 test_msg_repeatedly, test_status_notifications are the ones that choke.

 Yikes. Ok, lets just focus on the simplest of those tests (test_msg). That
 does three things...

  * constructs a BaseController around a control socket
  * sends it 'GETINFO config-file', checking its result
  * closes the controller

 Skip all tests but test_msg and try adding print statements to figure out
 which of those points its hanging on. Ideally try to narrow it down to the
 actual like that it's getting stuck on. My guess is that there's some call
 (like send()) that I didn't think would be blocking but is for some reason
 on your system.

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


More information about the tor-bugs mailing list