Here’s the output from lldb, if you need gdb, I’ll try to get it setup tomorrow night. gdb on mac os x isn’t the default debugger, and I have to jump through a few hoops to get it up and running (sourceware.org/gdb/wiki/BuildingOnDarwin)
lldb /usr/local/opt/python/bin/python2.7 – -B built/direct/ffi/jGenPyCode.py -r panda3d.core panda3d.physics panda3d.fx panda3d.direct panda3d.vision panda3d.skel panda3d.egg
Current executable set to ‘/usr/local/opt/python/bin/python2.7’ (x86_64).
(lldb) continue
error: invalid process
(lldb) r
Process 54356 launched: ‘/usr/local/opt/python/bin/python2.7’ (x86_64)
Process 54356 stopped
- thread #1: tid = 0x176f64, 0x00007fff5fc01028 dyld
_dyld_start, stop reason = exec frame #0: 0x00007fff5fc01028 dyld
_dyld_start
dyld`_dyld_start:
-> 0x7fff5fc01028: popq %rdi
0x7fff5fc01029: pushq 0x0 0x7fff5fc0102b: movq %rsp, %rbp 0x7fff5fc0102e: andq -0x10, %rsp
(lldb) continue
Process 54356 resuming
Importing code library: panda3d.core
Found extensions for class: NodePath
Found extensions for class: Mat3
Found extensions for class: HTTPChannel
Found extensions for class: VBase3
Found extensions for class: VBase4
Importing code library: panda3d.physics
Process 54356 stopped - thread #1: tid = 0x176f64, 0x000000010528513d Python
PyInt_FromLong + 33, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x000000010528513d Python
PyInt_FromLong + 33
Python`PyInt_FromLong + 33:
-> 0x10528513d: incq (%rcx)
0x105285140: jmp 0x105285185 ; PyInt_FromLong + 105
0x105285142: movq 0xfd907(%rip), %rax ; Python.__DATA.__bss + 3120
0x105285149: testq %rax, %rax
(lldb) bt - thread #1: tid = 0x176f64, 0x000000010528513d Python`PyInt_FromLong + 33, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
- frame #0: 0x000000010528513d Python
PyInt_FromLong + 33 frame #1: 0x0000000106b39756 physics.so
Dtool_PyModuleClassInit_BaseParticleEmitter(object*) + 150
frame #2: 0x0000000106b6bd64 physics.soBuildInstants(_object*) + 20 frame #3: 0x00000001051fb489 libp3dtoolconfig.1.9.dylib
Dtool_PyModuleInitHelper(LibraryDef**, char const*) + 329
frame #4: 0x0000000106b04266 physics.soinitphysics + 54 frame #5: 0x000000010009fe02 Python
PyImport_LoadDynamicModule + 140
frame #6: 0x000000010009fb0f Pythonimport_submodule + 274 frame #7: 0x000000010009f6d9 Python
load_next + 280
frame #8: 0x000000010009d6c8 PythonPyImport_ImportModuleLevel + 645 frame #9: 0x00000001000830dc Python
builtin___import + 135
frame #10: 0x0000000100089ac1 PythonPyEval_EvalFrameEx + 7714 frame #11: 0x000000010008e145 Python
fast_function + 192
frame #12: 0x000000010008ac5b PythonPyEval_EvalFrameEx + 12220 frame #13: 0x000000010008e145 Python
fast_function + 192
frame #14: 0x000000010008ac5b PythonPyEval_EvalFrameEx + 12220 frame #15: 0x0000000100087b0e Python
PyEval_EvalCodeEx + 1608
frame #16: 0x00000001000874c0 PythonPyEval_EvalCode + 54 frame #17: 0x00000001000a72ec Python
run_mod + 53
frame #18: 0x00000001000a738f PythonPyRun_FileExFlags + 133 frame #19: 0x00000001000a6f2c Python
PyRun_SimpleFileExFlags + 769
frame #20: 0x00000001000b847a Python`Py_Main + 2970
(lldb)
- frame #0: 0x000000010528513d Python