Menu

#11 IDLE crashes immediately with accent character

v1.0 (example)
open
None
5
2017-10-17
2017-10-17
No

Under Mac OS High Sierra, when running IDLE3.6 with Pythong 3.6.3 with a Spanish Keyboard the interpreter crashes instantly when typing the character '´'.

2017-10-16 20:49:22.697 Python[8660:908941] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFConstantString characterAtIndex:]: Range or index out of bounds'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffa04062cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb521e48d objc_exception_throw + 48
2 CoreFoundation 0x00007fffa0484c3d +[NSException raise:format:] + 205
3 CoreFoundation 0x00007fffa037dfe6 -[__NSCFString characterAtIndex:] + 102
4 Tk 0x00000001025c2c73 TkpInitKeymapInfo + 753
5 Tk 0x00000001025c8d6b Tk_MacOSXSetupTkNotifier + 909
6 Tcl 0x000000010249dc38 Tcl_DoOneEvent + 317
7 _tkinter.cpython-36m-darwin.so 0x00000001003edaa1 _tkinter_tkapp_mainloop + 209
8 Python 0x000000010006a7b8 _PyCFunction_FastCallDict + 552
9 Python 0x00000001000f4164 call_function + 612
10 Python 0x00000001000f5b74 _PyEval_EvalFrameDefault + 5604
11 Python 0x00000001000f3500 _PyEval_EvalCodeWithName + 2720
12 Python 0x00000001000f3d2b fast_function + 219
13 Python 0x00000001000f414b call_function + 587
14 Python 0x00000001000f5b74 _PyEval_EvalFrameDefault + 5604
15 Python 0x00000001000f3500 _PyEval_EvalCodeWithName + 2720
16 Python 0x00000001000f3d2b fast_function + 219
17 Python 0x00000001000f414b call_function + 587
18 Python 0x00000001000f5b74 _PyEval_EvalFrameDefault + 5604
19 Python 0x00000001000f3500 _PyEval_EvalCodeWithName + 2720
20 Python 0x00000001000f36a4 PyEval_EvalCode + 100
21 Python 0x000000010013000e PyRun_FileExFlags + 206
22 Python 0x00000001001302af PyRun_SimpleFileExFlags + 447
23 Python 0x0000000100149b3a Py_Main + 3914
24 Python 0x0000000100000dfe Python + 3582
25 Python 0x0000000100000c34 Python + 3124
26 ??? 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

The problem exists also in Python 2.7.10

Discussion


Log in to post a comment.

MongoDB Logo MongoDB