[tor-bugs] #3798 [Torflow]: BwAuthority does not exit cleanly; Traceback in _eventLoop at exit

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Sep 6 21:18:56 UTC 2011


#3798: BwAuthority does not exit cleanly; Traceback in _eventLoop at exit
---------------------+------------------------------------------------------
 Reporter:  aagbsn   |          Owner:  aagbsn      
     Type:  defect   |         Status:  needs_review
 Priority:  normal   |      Milestone:              
Component:  Torflow  |        Version:              
 Keywords:           |         Parent:              
   Points:           |   Actualpoints:              
---------------------+------------------------------------------------------
Changes (by aagbsn):

 * cc: aagbsn@… (added)


Comment:

 Replying to [comment:2 aagbsn]:
 > Update:
 https://github.com/aagbsn/torflow/commit/09f232bffa3cf51db21c53c81e544ad977bcb335
 >
 > Since TorCtl.Connection.close() doesn't block, we should call
 TorCtl.Connection.block_until_close()

 This is actually wrong.

 However, TorCtl.Connection.close() is not safe to call, because
 occasionally a thread will not die and prevent bwauthority_child.py from
 exiting; thereby stalling the scanner indefinitely. See: #3834

 This fix should -not- be used until TorCtl.Connection.close() is safe to
 call.

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


More information about the tor-bugs mailing list