The following script:
% entry .e
% pack .e
will crash TkAqua8.6b1.1 when entering a circumflex (the ^ character) into the entry. This is true for both the i386 and the x86_64 builds. The error message is:
2009-12-02 11:17:30.936 wish-aqua8.6[6459:903] An uncaught exception was raised
2009-12-02 11:17:30.939 wish-aqua8.6[6459:903] *** -[NSCFString characterAtIndex:]: Range or index out of bounds
2009-12-02 11:17:31.023 wish-aqua8.6[6459:903] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFString characterAtIndex:]: Range or index out of bounds'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff85879444 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff8496d0f3 objc_exception_throw + 45
2 CoreFoundation 0x00007fff85879267 +[NSException raise:format:arguments:] + 103
3 CoreFoundation 0x00007fff858791f4 +[NSException raise:format:] + 148
4 Foundation 0x00007fff801803d5 -[NSCFString characterAtIndex:] + 97
5 Tk 0x00000001000c52e0 Tk_SetCaretPos + 674
6 Tk 0x00000001000cb9db Tk_MacOSXSetupTkNotifier + 701
7 Tcl 0x00000001001f4486 Tcl_DoOneEvent + 297
8 Tk 0x000000010001d8e0 Tk_MainLoop + 24
9 Tk 0x000000010002b36a Tk_MainEx + 1491
10 wish-aqua8.6 0x000000010000548b 0x0 + 4294988939
11 wish-aqua8.6 0x00000001000053d0 0x0 + 4294988752
12 ??? 0x0000000000000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
Abort trap
Daniel A. Steffen
07. [entry]
obsolete: 8.6b1.1
Public
|
Date: 2011-01-24 07:25:13 PST I've committed Torsten's patch--thanks, Torsten. This works around the |
|
Date: 2011-01-23 03:42:20 PST I uploaded a patched version of the file tkMacOSXKeyEvent.c (patched from |
|
Date: 2011-01-22 12:23:53 PST This is a really nasty bug and, with the release of Cocoa Tk backports to |
|
Date: 2010-11-15 14:01:59 PST As pointed out in comment from 2010-06-25, this crash happens for [all] |
|
Date: 2010-07-04 16:18:43 PDT It's the composing circumflex (Option-i) that causes trouble. |
|
Date: 2010-07-02 06:10:15 PDT This seems to be related to this discussion: |
|
Date: 2010-06-25 03:58:47 PDT I tracked this down to be more general. This error occurs everytime you try |
|
Date: 2010-02-09 15:20:53 PST also see 2948152 |
| Filename | Description | Download |
|---|---|---|
| tkMacOSXKeyEvent.c | patched version of tkMacOSXKeyEvent.c as temporary workaround for the bug | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2011-01-24 07:25:13 PST | wordtech |
| status_id | Open | 2011-01-24 07:25:13 PST | wordtech |
| resolution_id | None | 2011-01-24 07:25:13 PST | wordtech |
| allow_comments | 1 | 2011-01-24 07:25:13 PST | wordtech |
| File Added | 399568: tkMacOSXKeyEvent.c | 2011-01-23 03:39:27 PST | treincke |
| priority | 8 | 2010-07-04 16:18:43 PDT | dkf |
| priority | 5 | 2010-02-09 15:21:11 PST | das |
| assigned_to | hobbs | 2009-12-02 02:26:03 PST | treincke |