{"thread":{"id":"31973","subject":"gitk: crash when pressing Shift-F5 while still loading a diff","startedAt":"2012-10-29T21:34:21Z","lastAt":"2012-10-29T21:34:21Z","messageCount":1,"participants":["Peter Oberndorfer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"202138","messageId":"508EF65D.2080208@arcor.de","threadId":"31973","inReplyTo":null,"subject":"gitk: crash when pressing Shift-F5 while still loading a diff","fromName":"Peter Oberndorfer","fromEmail":"kumbayo84@arcor.de","sentAt":"2012-10-29T21:34:21Z","receivedAt":"2012-10-29T21:34:21Z","isPatch":false,"sender":{"key":"kumbayo84@arcor.de","avatar":"https://avatars.githubusercontent.com/u/1041267?v=4"},"body":"Hi,\n\ni recently tested gitk a bit more myself and on some people in the office.\nAnd i noticed when I repeatedly press Shift-F5 gitk\ncrashes/displays a message box [1].\nmy current version: c83ae78864493a30ed5b544b4910a384371a5eaf\n\nThis also happens a lot when gitk is still loading a big diff\nand using View->Some view to change the current view.\n(I have made a convenience shortcut \"--all\" to show all branches without having\nthe windows people going to the commandline)\n\nGreetings Peter\n\ncrash1:\ncan't read \"treediffs(7affa01c56f17778e92b57fd4fc8d749a672d930)\": no such variable\ncan't read \"treediffs(7affa01c56f17778e92b57fd4fc8d749a672d930)\": no such variable\n    while executing\n\"lsearch -exact $treediffs($ids) $fname\"\n    (procedure \"makediffhdr\" line 7)\n    invoked from within\n\"makediffhdr $fname $ids\"\n    (procedure \"getblobdiffline\" line 61)\n    invoked from within\n\"getblobdiffline file8 7affa01c56f17778e92b57fd4fc8d749a672d930\"\n    (\"eval\" body line 1)\n    invoked from within\n\"eval $script\"\n    (procedure \"dorunq\" line 11)\n    invoked from within\n\"dorunq\"\n    (\"after\" script)\n\ncrash2:\ncan't read \"varcid(0,7affa01c56f17778e92b57fd4fc8d749a672d930)\": no such element in array\ncan't read \"varcid(0,7affa01c56f17778e92b57fd4fc8d749a672d930)\": no such element in array\n    while executing\n\"set a $varcid($v,$p)\"\n    (procedure \"insertfakerow\" line 6)\n    invoked from within\n\"insertfakerow $nullid $p\"\n    (procedure \"readdifffiles\" line 29)\n    invoked from within\n\"readdifffiles file7 7 71\"\n    (\"eval\" body line 1)\n    invoked from within\n\"eval $script\"\n    (procedure \"dorunq\" line 11)\n    invoked from within\n\"dorunq\"\n    (\"after\" script)\n\n\nerror3 (output on stderr):\noops rowofcommit no arc for 7affa01c\n\n\n7affa01c is my top commit on the current branch.\n\nGreetings Peter\n"}]}