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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu May 24 03:49:23 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 gsathya):

 Replying to [comment:9 atagar]:

 Running it through pdb,
 {{{
 >
 /Users/sathya/Documents/stem/test/integ/control/base_controller.py(151)test_asynchronous_event_handling()
 -> class ControlledListener(stem.control.BaseController):
 (Pdb) c
 >
 /Users/sathya/Documents/stem/test/integ/control/base_controller.py(70)test_connect_repeatedly()
 -> with test.runner.get_runner().get_tor_socket() as control_socket:
 (Pdb) c
 >
 /Users/sathya/Documents/stem/test/integ/control/base_controller.py(45)test_from_port()
 -> if test.runner.Torrc.PORT in test.runner.get_runner().get_options():
 (Pdb) c
 >
 /Users/sathya/Documents/stem/test/integ/control/base_controller.py(57)test_from_socket_file()
 -> if test.runner.Torrc.SOCKET in test.runner.get_runner().get_options():
 (Pdb) c
 >
 /Users/sathya/Documents/stem/test/integ/control/base_controller.py(83)test_msg()
 -> with test.runner.get_runner().get_tor_socket() as control_socket:
 (Pdb) n
 }}}

 test_asynchronous_event_handling(), test_connect_repeatedly(),
 test_from_port(), test_from_socket_file() get executed successfully. The
 test_msg hangs(). It gets stuck at
 https://gitweb.torproject.org/stem.git/blob/HEAD:/test/integ/control/base_controller.py#l78

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


More information about the tor-bugs mailing list