Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Crash on OS X when entering dead keys

26 views
Skip to first unread message

Beat Bolli

unread,
Feb 5, 2012, 7:02:29 AM2/5/12
to
Hi

I hope this is the right place for this kind of issue :-)

I've just had git-gui crash on me when I tried to enter the ~ (tilde)
character on my Mac mini under OS X 10.6.8 (with the native Tcl 8.5.7):

2012-02-02 22:26:25.992 Wish[49140:60f] An uncaught exception was raised
2012-02-02 22:26:25.995 Wish[49140:60f] *** -[NSCFString characterAtIndex:]: Range or index out of bounds
2012-02-02 22:26:25.996 Wish[49140:60f] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFString characterAtIndex:]: Range or index out of bounds'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff8273d784 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff87c10f03 objc_exception_throw + 45
2 CoreFoundation 0x00007fff8273d5a7 +[NSException raise:format:arguments:] + 103
3 CoreFoundation 0x00007fff8273d534 +[NSException raise:format:] + 148
4 Foundation 0x00007fff843ec6ad -[NSCFString characterAtIndex:] + 97
5 Tk 0x00000001000bdbcf Tk_SetCaretPos + 663
6 Tk 0x00000001000c3d94 Tk_MacOSXSetupTkNotifier + 699
7 Tcl 0x00000001001c629e Tcl_DoOneEvent + 297
8 Tk 0x000000010001c080 Tk_MainLoop + 24
9 Tk 0x0000000100028ab4 Tk_MainEx + 1555
10 Wish 0x0000000100004545 0x0 + 4294985029
11 Wish 0x00000001000044a4 0x0 + 4294984868
)
terminate called after throwing an instance of 'NSException'
error: git-gui died of signal 6

I use the Swiss German keyboard layout where the tilde is a dead key
on Fn+n. Other dead keys like ¨, ´ and ` also cause the crash. It does
not matter whether the dead key is the last one in the text widget or not.

Thanks,
Beat Bolli

Kevin Walzer

unread,
Feb 7, 2012, 8:19:06 AM2/7/12
to
On 2/5/12 7:02 AM, Beat Bolli wrote:
> I use the Swiss German keyboard layout where the tilde is a dead key
> on Fn+n. Other dead keys like ¨, ´ and ` also cause the crash. It does
> not matter whether the dead key is the last one in the text widget or not.

A fix for this bug has just been committed, but it won't be available on
Snow Leopard until ActiveState releases the next version of ActiveTcl.
The built-in version won't be updated, so you'll have to install
ActiveTcl (or build your own version of Tcl/Tk from the next release) to
get the fix.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
0 new messages