{"thread":{"id":"29531","subject":"Git-gui: crashes on OS X when entering combining (\"dead\") keys","startedAt":"2012-02-02T22:04:12Z","lastAt":"2012-02-04T23:29:37Z","messageCount":3,"participants":["Beat Bolli","Pat Thoyts"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"183674","messageId":"4F2B085C.2000508@drbeat.li","threadId":"29531","inReplyTo":null,"subject":"Git-gui: crashes on OS X when entering combining (\"dead\") keys","fromName":"Beat Bolli","fromEmail":"ig@drbeat.li","sentAt":"2012-02-02T22:04:12Z","receivedAt":"2012-02-02T22:04:12Z","isPatch":false,"sender":{"key":"ig@drbeat.li","avatar":"https://gravatar.com/avatar/e0cf621324d5568114197741c71c2728594b76b994c01f82f1245c8e3c18a015?d=mp&s=160"},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi\n\nI've just had git-gui crash on me when I tried to enter the ~ (tilde)\ncharacter on my Mac mini under OS X 10.6.8:\n\n2012-02-02 22:26:25.992 Wish[49140:60f] An uncaught exception was raised\n2012-02-02 22:26:25.995 Wish[49140:60f] *** -[NSCFString\ncharacterAtIndex:]: Range or index out of bounds\n2012-02-02 22:26:25.996 Wish[49140:60f] *** Terminating app due to\nuncaught exception 'NSRangeException', reason: '*** -[NSCFString\ncharacterAtIndex:]: Range or index out of bounds'\n*** Call stack at first throw:\n(\n        0   CoreFoundation                      0x00007fff8273d784\n__exceptionPreprocess + 180\n        1   libobjc.A.dylib                     0x00007fff87c10f03\nobjc_exception_throw + 45\n        2   CoreFoundation                      0x00007fff8273d5a7\n+[NSException raise:format:arguments:] + 103\n        3   CoreFoundation                      0x00007fff8273d534\n+[NSException raise:format:] + 148\n        4   Foundation                          0x00007fff843ec6ad\n- -[NSCFString characterAtIndex:] + 97\n        5   Tk                                  0x00000001000bdbcf\nTk_SetCaretPos + 663\n        6   Tk                                  0x00000001000c3d94\nTk_MacOSXSetupTkNotifier + 699\n        7   Tcl                                 0x00000001001c629e\nTcl_DoOneEvent + 297\n        8   Tk                                  0x000000010001c080\nTk_MainLoop + 24\n        9   Tk                                  0x0000000100028ab4\nTk_MainEx + 1555\n        10  Wish                                0x0000000100004545 0x0\n+ 4294985029\n        11  Wish                                0x00000001000044a4 0x0\n+ 4294984868\n)\nterminate called after throwing an instance of 'NSException'\nerror: git-gui died of signal 6\n\n[sorry for wrapping]\n\nI use the Swiss German keyboard layout where the tilde is a dead key\non Fn+n (for entering the spanish ñ, I assume). Other dead keys like\n¨, ´ and ` also cause git-gui to crash. It does not matter whether the\ndead key is the last one in the commit message or not.\n\nInterestingly, the commit text was saved to .git/COMMIT_MSG in spite\nof the crash, so I didn't lose any of it.\n\nI use the current git 1.7.9 installed via homebrew.\n\nThanks,\nBeat Bolli\n\nPS: Please CC me on replies, I'm not on the list. Thanks.\n- -- \npgp: 0x506A903A; 49D5 794A EA77 F907 764F  D89E 304B 93CF 506A 903A\ngsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa\nicbm: 47.0452 N, 7.2715 E\n\n\"It takes love over gold, and mind over matter\" -- Dire Straits\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.9 (Darwin)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAk8rCFwACgkQMEuTz1BqkDoMhwCfZr+/FAsl7LsVxxHmelirDh+w\nRZsAoOzusVol5b8zZEGq9NLanHlfi4bt\n=hFrL\n-----END PGP SIGNATURE-----\n"},{"id":"183874","messageId":"871uqafba4.fsf@fox.patthoyts.tk","threadId":"29531","inReplyTo":"4F2B085C.2000508@drbeat.li","subject":"Re: Git-gui: crashes on OS X when entering combining (\"dead\") keys","fromName":"Pat Thoyts","fromEmail":"patthoyts@users.sourceforge.net","sentAt":"2012-02-04T23:07:15Z","receivedAt":"2012-02-04T23:07:15Z","isPatch":false,"sender":{"key":"patthoyts@users.sourceforge.net","avatar":"https://avatars.githubusercontent.com/u/30739?v=4"},"body":"Beat Bolli <ig@drbeat.li> writes:\n\n>Hi\n>\n>I've just had git-gui crash on me when I tried to enter the ~ (tilde)\n>character on my Mac mini under OS X 10.6.8:\n>\n\nThis doesn't look git-gui specific so you will likely get more results\nposting to the comp.lang.tcl newsgroup about this - or there is a\nmac-specific tcl/tk list someplace.\n\nNot posessing a Mac I can't look into this at all - but an\nNSException -- that is a problem from the Tk to native layer.\n-- \nPat Thoyts                            http://www.patthoyts.tk/\nPGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD\n"},{"id":"183877","messageId":"4F2DBF61.1090308@drbeat.li","threadId":"29531","inReplyTo":"871uqafba4.fsf@fox.patthoyts.tk","subject":"Re: Git-gui: crashes on OS X when entering combining (\"dead\") keys","fromName":"Beat Bolli","fromEmail":"ig@drbeat.li","sentAt":"2012-02-04T23:29:37Z","receivedAt":"2012-02-04T23:29:37Z","isPatch":false,"sender":{"key":"ig@drbeat.li","avatar":"https://gravatar.com/avatar/e0cf621324d5568114197741c71c2728594b76b994c01f82f1245c8e3c18a015?d=mp&s=160"},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nOn 05.02.12 00:07, Pat Thoyts wrote:\n> Beat Bolli <ig@drbeat.li> writes:\n> \n>> Hi\n>> \n>> I've just had git-gui crash on me when I tried to enter the ~\n>> (tilde) character on my Mac mini under OS X 10.6.8:\n>> \n> \n> This doesn't look git-gui specific so you will likely get more\n> results posting to the comp.lang.tcl newsgroup about this - or\n> there is a mac-specific tcl/tk list someplace.\n\nOK, I'll try to find the appropriate group.\n\nThanks,\nBeat\n- -- \nmail: echo '<bNbolOli@ewaSPnetAM.ch>' | tr -d '[A-S]'\npgp: 0x506A903A; 49D5 794A EA77 F907 764F  D89E 304B 93CF 506A 903A\ngsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa\nicbm: 47.0452 N, 7.2715 E\n\n\"It takes love over gold, and mind over matter\" -- Dire Straits\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.9 (Darwin)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAk8tv2AACgkQMEuTz1BqkDqWAgCeOvSzdtYqzAsIZ3VFxd7HbNmY\nHxYAoMpAdrYx8QoxlSX7blBj/y66wMQP\n=WvyW\n-----END PGP SIGNATURE-----\n"}]}