Hi,

Over time, I've built up a list of crashes, which seem to be occurring on the objc/python
interface.

For instance

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x208b4234

Thread 0 Crashed:
0   libobjc.A.dylib           0x90a41110 objc_msgSend + 48
1   _objc.so                   0x00604990 pythonify_c_value + 768
2   _objc.so                   0x005f42b8 PyObjCFFI_BuildResult + 72
3   _objc.so                   0x005f82bc PyObjCFFI_Caller + 2332
4   _objc.so                   0x0060d480 PyObjCAPI_Register + 1520
5   org.python.python         0x0040ee04 PyObject_Call + 52

Or

0   libobjc.A.dylib             0x90a3f0f0 objc_msgSend + 16
1   _objc.so                    0x004a9c1c pythonify_c_value + 744
2   _objc.so                    0x004a0070 PyObjCFFI_FreeClosure + 1728
3   _objc.so                    0x00495568 ffi_closure_helper_DARWIN + 480
4   _objc.so                    0x00495724 ffi_closure_ASM + 116

Or (even more common)

 
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_ERROR (0x0002) at 0x000003e8 (or 3e9)

Thread 0 Crashed:
0  libobjc.A.dylib               0x90a55378 objc_msgSend + 8
1 _objc.so                        0x005d6af1  PyObjCFFI_CountArguments + 802


 
Because these bugs are so rare, and because I don't understand this part of PyObjC too well, I'd appreciate some advice as to what might be going wrong, whether I'm doing something wrong, or whether this is a bug in pyobjc and what it would take to fix it.

Thanks,

Sengan