[Konsole-devel] [Bug 84059] zsh shells' history file is sometimes truncated (race condition when killing shells)

Kurt V.Hindenburg khindenburg at cherrynebula.net
Sun Jul 4 08:39:39 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=84059      




------- Additional Comments From khindenburg cherrynebula net  2004-07-04 10:39 -------
Not sure this is the cause...

In Konsole::~Konsole, 
    // Wait a bit for all childs to clean themselves up.
#if KDE_VERSION >=306
   while(sessions.count() && KProcessController::theKProcessController->waitForProcessExit(1))

If I understand this correctly, this allows a 1 second timeout for each process to exit.
1. Change the 1 to a higher # such as 15 or 30...
2. Change it to -1, which means no timeout.  Not sure what would happen if the process never exits...



More information about the konsole-devel mailing list