Skip to content

Ctypes on Mac OS X #4

@jonaslejon

Description

@jonaslejon

$ python syscall_count_continuous.py
Segmentation fault: 11

$ python -V
Python 2.7.6

xception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000718

VM Regions Near 0x718:
-->
__TEXT 00000001045b4000-00000001045b5000 [ 4K] r-x/rwx SM=COW /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libdtrace.dylib 0x00000001049626d5 dtrace_setopt + 253
1 libffi.dylib 0x00007fff90f98f44 ffi_call_unix64 + 76
2 libffi.dylib 0x00007fff90f99781 ffi_call + 853
3 _ctypes.so 0x00000001048c3762 _ctypes_callproc + 874
4 _ctypes.so 0x00000001048bdbad 0x1048bb000 + 11181
5 org.python.python 0x00000001045c92ac PyObject_Call + 99
6 org.python.python 0x0000000104645c00 PyEval_EvalFrameEx + 11370
7 org.python.python 0x0000000104642d62 PyEval_EvalCodeEx + 1413
8 org.python.python 0x00000001045e730a 0x1045bf000 + 164618
9 org.python.python 0x00000001045c92ac PyObject_Call + 99
10 org.python.python 0x00000001045d40cf 0x1045bf000 + 86223
11 org.python.python 0x00000001045c92ac PyObject_Call + 99
12 org.python.python 0x00000001046103f4 0x1045bf000 + 332788
13 org.python.python 0x000000010460bcfb 0x1045bf000 + 314619
14 org.python.python 0x00000001045c92ac PyObject_Call + 99
15 org.python.python 0x0000000104645c00 PyEval_EvalFrameEx + 11370
16 org.python.python 0x000000010464960e 0x1045bf000 + 566798
17 org.python.python 0x00000001046463e3 PyEval_EvalFrameEx + 13389
18 org.python.python 0x0000000104642d62 PyEval_EvalCodeEx + 1413
19 org.python.python 0x00000001046427d7 PyEval_EvalCode + 54
20 org.python.python 0x00000001046627bd 0x1045bf000 + 669629
21 org.python.python 0x0000000104662860 PyRun_FileExFlags + 133
22 org.python.python 0x00000001046623fd PyRun_SimpleFileExFlags + 769
23 org.python.python 0x0000000104673b23 Py_Main + 3051
24 libdyld.dylib 0x00007fff89bd35c9 start + 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions