segfault importing py-graph-tool (while loading boost dylib) on OS X 10.8.2
Uldis Bojars
captsolo at gmail.com
Tue Jan 8 14:02:04 PST 2013
A problem with py-graph-tool port -- installs OK, but Python crashes
when trying to use it:
>>> from graph_tool.all import *
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
It happens when trying to load "boost" dynamic library (see below). A
possible cause: system Python was set as default when doing "port
install". But I reinstalled both "boost" and "py-graph-tool" after
changing Python to the correct one, with the same result.
Could you help me solve this?
Thanks,
Uldis
---
Process: Python [16026]
Path:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.2 (2.7.2)
Code Type: X86-64 (Native)
Parent Process: bash [6864]
User ID: 501
PlugIn Path:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
PlugIn Identifier: org.python.python
PlugIn Version: 2.7.3, [c] 2004-2012 Python Software Foundation. (2.7.3)
Date/Time: 2013-01-08 23:58:10.427 +0200
OS Version: Mac OS X 10.8.2 (12C3012)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8ad91d46 __kill + 10
1 libsystem_c.dylib 0x00007fff8d890df0 abort + 177
2 org.python.python 0x000000010a096c01 Py_FatalError + 49
3 org.python.python 0x000000010a095ffc PyThreadState_Get + 28
4 org.python.python 0x000000010a092c7a Py_InitModule4_64 + 58
5 libboost_python-mt.dylib 0x000000010a21e823
boost::python::detail::init_module(char const*, void (*)()) + 35
6 org.python.python 0x00000001040cce0d
_PyImport_LoadDynamicModule + 183
7 org.python.python 0x00000001040c8af2 0x104087000 + 269042
8 org.python.python 0x00000001040c88cd 0x104087000 + 268493
9 org.python.python 0x00000001040c6932
PyImport_ImportModuleLevel + 1505
10 org.python.python 0x0000000104097b1e 0x104087000 + 68382
11 org.python.python 0x00000001040966c6 PyObject_Call + 97
...
More information about the macports-users
mailing list