{"thread":{"id":"18052","subject":"Issue 125 in msysgit: gitk crashes when quit while reading (fwd)","startedAt":"2009-02-27T23:45:46Z","lastAt":"2009-02-27T23:45:46Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"106487","messageId":"alpine.DEB.1.00.0902280044050.10279@pacific.mpi-cbg.de","threadId":"18052","inReplyTo":null,"subject":"Issue 125 in msysgit: gitk crashes when quit while reading (fwd)","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-02-27T23:45:46Z","receivedAt":"2009-02-27T23:45:46Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nHi Paul,\n\nthis came in through msysGit's issue tracker, from a guy who is involved \nin the Tk project.\n\n---------- Forwarded message ----------\nDate: Fri, 27 Feb 2009 23:12:11 +0000\nFrom: codesite-noreply@google.com\nTo: msysgit@googlegroups.com\nSubject: [msysGit] Issue 125 in msysgit: gitk crashes when quit while reading\n\n\n\nComment #4 on issue 125 by patthoyts: gitk crashes when quit while reading\nhttp://code.google.com/p/msysgit/issues/detail?id=125\n\nThe simplest fix for all current versions of Tk is to apply the following patch\nto\ngitk which will flush all the geometry events before it begins reading the\ncommit\nids. This avoids the crash. A fix has now been applied to Tk 8.5 and HEAD\nbranches to\navoid this in the future.\n\ndiff --git a/gitk b/gitk\nindex dc2a439..197bc67 100755\n--- a/gitk\n+++ b/gitk\n@@ -10884,6 +10884,7 @@ makewindow\n# wait for the window to become visible\ntkwait visibility .\nwm title . \"[file tail $argv0]: [file tail [pwd]]\"\n+update\nreadrefs\n\nif {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd ne {}} {\n\n--\nYou received this message because you are listed in the owner\nor CC fields of this issue, or because you starred this issue.\nYou may adjust your issue notification preferences at:\nhttp://code.google.com/hosting/settings\n"}]}