Skip to content

Instantly share code, notes, and snippets.

@Aareon
Created May 19, 2021 03:28
Show Gist options
  • Save Aareon/b3f12a565d61e13d64455b77ba1ab9c1 to your computer and use it in GitHub Desktop.
Save Aareon/b3f12a565d61e13d64455b77ba1ab9c1 to your computer and use it in GitHub Desktop.
SIGABRT crash in Pyto REPL
NSInvalidArgumentException: *** -[NSArray objectAtIndex:]: method only defined for abstract class. Define -[__NSArrayM objectAtIndex:]!
0 CoreFoundation 0x00000001ae0dd668 E2D6A76B-6879-31A3-8168-DF49F94E17CD + 1222248
1 libobjc.A.dylib 0x00000001addffbcc objc_exception_throw + 56
2 CoreFoundation 0x00000001ae13a81c E2D6A76B-6879-31A3-8168-DF49F94E17CD + 1603612
3 CoreFoundation 0x00000001ae0d6d48 E2D6A76B-6879-31A3-8168-DF49F94E17CD + 1195336
4 pythonA 0x0000000101bcc044 ffi_call_SYSV + 68
5 pythonA 0x0000000101bd4ab0 ffi_call_int + 1300
6 pythonA 0x0000000101bd4590 ffi_call + 56
7 pythonA 0x0000000101bb409c _ctypes_callproc + 952
8 pythonA 0x0000000101bab6cc PyCFuncPtr_call + 1072
9 pythonA 0x0000000101955a84 PyObject_Call + 196
10 pythonA 0x00000001019c475c _PyEval_EvalFrameDefault + 24548
11 pythonA 0x00000001019c7fd4 _PyEval_EvalCodeWithName + 3212
12 pythonA 0x000000010195610c _PyFunction_Vectorcall + 248
13 pythonA 0x00000001019553f0 _PyObject_FastCallDict + 236
14 pythonA 0x0000000101956b0c _PyObject_Call_Prepend + 140
15 pythonA 0x0000000101af3094 slot_tp_call + 192
16 pythonA 0x0000000101955a84 PyObject_Call + 196
17 pythonA 0x00000001019c475c _PyEval_EvalFrameDefault + 24548
18 pythonA 0x00000001019c7fd4 _PyEval_EvalCodeWithName + 3212
19 pythonA 0x000000010195610c _PyFunction_Vectorcall + 248
20 pythonA 0x0000000101955378 _PyObject_FastCallDict + 116
21 pythonA 0x0000000101956b0c _PyObject_Call_Prepend + 140
22 pythonA 0x0000000101af3094 slot_tp_call + 192
23 pythonA 0x0000000101955a84 PyObject_Call + 196
24 pythonA 0x00000001019c475c _PyEval_EvalFrameDefault + 24548
25 pythonA 0x00000001019c7fd4 _PyEval_EvalCodeWithName + 3212
26 pythonA 0x000000010195610c _PyFunction_Vectorcall + 248
27 pythonA 0x00000001019553f0 _PyObject_FastCallDict + 236
28 pythonA 0x0000000101956b0c _PyObject_Call_Prepend + 140
29 pythonA 0x0000000101af3094 slot_tp_call + 192
30 pythonA 0x00000001019555cc _PyObject_MakeTpCall + 372
31 pythonA 0x00000001019c7048 call_function + 448
32 pythonA 0x00000001019c44f0 _PyEval_EvalFrameDefault + 23928
33 pythonA 0x0000000101ba3ca8 gen_send_ex + 284
34 pythonA 0x00000001019c3cc8 _PyEval_EvalFrameDefault + 21840
35 pythonA 0x0000000101955f8c function_code_fastcall + 120
36 pythonA 0x00000001019c6fa8 call_function + 288
37 pythonA 0x00000001019c4568 _PyEval_EvalFrameDefault + 24048
38 pythonA 0x0000000101955f8c function_code_fastcall + 120
39 pythonA 0x0000000101955908 PyVectorcall_Call + 104
40 pythonA 0x00000001019c475c _PyEval_EvalFrameDefault + 24548
41 pythonA 0x0000000101955f8c function_code_fastcall + 120
42 pythonA 0x0000000101a2ce6c method_vectorcall + 156
43 pythonA 0x00000001019c6fa8 call_function + 288
44 pythonA 0x00000001019c44f0 _PyEval_EvalFrameDefault + 23928
45 pythonA 0x00000001019c7fd4 _PyEval_EvalCodeWithName + 3212
46 pythonA 0x000000010195610c _PyFunction_Vectorcall + 248
47 pythonA 0x00000001019c6fa8 call_function + 288
48 pythonA 0x00000001019c44d4 _PyEval_EvalFrameDefault + 23900
49 pythonA 0x0000000101955f8c function_code_fastcall + 120
50 pythonA 0x00000001019c6fa8 call_function + 288
51 pythonA 0x00000001019c44d4 _PyEval_EvalFrameDefault + 23900
52 pythonA 0x0000000101955f8c function_code_fastcall + 120
53 pythonA 0x0000000101a2ced8 method_vectorcall + 264
54 pythonA 0x0000000101955908 PyVectorcall_Call + 104
55 pythonA 0x000000010194de08 t_bootstrap + 80
56 pythonA 0x00000001018f81f4 pythread_wrapper + 28
57 libsystem_pthread.dylib 0x00000001addf3d98 _pthread_start + 156
58 libsystem_pthread.dylib 0x00000001addf774c thread_start + 8
Traceback (most recent call last):
File "Library/python38/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "Library/python38/threading.py", line 932, in _bootstrap_inner
self.run()
File "Pyto.app/scripts_runner.py", line 51, in run
super().run()
File "Library/python38/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "<string>", line 19, in complete
File "Pyto.app/Lib/_codecompletion.py", line 22, in suggestForCode
for console in visibles:
File "Pyto.app/Lib/rubicon/objc/collections.py", line 242, in __iter__
yield self.objectAtIndex(i)
File "Pyto.app/Lib/rubicon/objc/api.py", line 249, in __call__
return self.method(self.receiver, *args, **kwargs)
File "Pyto.app/Lib/rubicon/objc/api.py", line 227, in __call__
return meth(receiver, *args)
File "Pyto.app/Lib/rubicon/objc/api.py", line 168, in __call__
result = f(receiver, self.selector, *converted_args)
File "Pyto.app/Lib/rubicon/objc/api.py", line 275, in __call__
result = self.py_method(py_self, *args)
File "Pyto.app/scripts_runner.py", line 87, in runCode_
exec(str(code))
File "<string>", line 5, in <module>
Thread-3 crashed with signal: SIGABRT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment