[tor-bugs] #4834 [Vidalia]: Tor's log lines to stdout don't flush in time for Vidalia to see them?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 3 17:54:06 UTC 2012


#4834: Tor's log lines to stdout don't flush in time for Vidalia to see them?
---------------------+------------------------------------------------------
 Reporter:  arma     |          Owner:  chiiph
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Vidalia  |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by rtoepfer):

 Vidalia closes reading of stdout at vidalia/MainWindow.cpp
 MainWindow::authenticated around line 1485.

 The TorProcess::closeStdOut in TorProcess.cpp function does not wait long
 enough for remaining messages after Vidalia receives Tor's ack for the
 register events message in the MainWindow::authenticated function.  I
 suggest implementing a preset wait in this function, then moving the
 closeReadChannel function to occur after this wait.  A 250 millisecond
 wait should be more than adequate.  A QTimer wait would also work.

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


More information about the tor-bugs mailing list