Summary: | zsh shells' history file is sometimes truncated (race condition when killing shells) | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Samuel Krempp <krempp> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.3.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Samuel Krempp
2004-06-27 00:08:56 UTC
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... Is this still a problem in current versions of Konsole? Closing for two reasons: 1) There has not been a response to the above comment. 2) In KDE 4.1 the process is asked nicely to exit without a timeout being given so it should be able to take several seconds for the cleanup if necessary. |