Opened 5 years ago
#13375 new Bugs
Crash with python 3.6 on Mac OS X 10.12 (Sierra)
Reported by: | Owned by: | Ralf W. Grosse-Kunstleve | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.66.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hello All,
I'm experiencing a crash in boost-python with python 3.6 on OS X.
I'm trying to wrap the open-source image processing library pink (www.pinkhq.com). This has been working well for some time with python 2.7 (on OS X, but also Linux and Windows), but I'd like to move to python 3.x
I've successfully wrapped this library with python 3.6 on Linux, but it crashes on OS X :
Process: python3.6 [98793] Path: /opt/anaconda/*/python3.6 Identifier: python3.6 Version: ??? Code Type: X86-64 (Native) Parent Process: ??? [98792] Responsible: python3.6 [98793] User ID: 501 Date/Time: 2018-01-03 12:09:43.172 +0100 OS Version: Mac OS X 10.12.6 (16G29) Report Version: 12 Anonymous UUID: 87D66E9B-D5BC-7C41-9079-8F7CB5C5E1DF Time Awake Since Boot: 240000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000a9 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0] VM Regions Near 0xa9: --> __TEXT 000000010f87a000-000000010fb25000 [ 2732K] r-x/rwx SM=COW /opt/anaconda/*/*.6 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 python 0x000000010fa4f28d visit_decref + 13 1 python 0x000000010f920947 tupletraverse + 55 2 python 0x000000010fa4e0f3 collect + 291 3 python 0x000000010fa4f8b6 _PyObject_GC_Alloc + 310 4 python 0x000000010f9217d5 PyTuple_New + 277 5 libboost_python3.dylib 0x0000000113664d2a boost::python::objects::function::function(boost::python::objects::py_function const&, boost::python::detail::keyword const*, unsigned int) + 714 (errors.hpp:44)
This crash seems to indicate the problem is in libboost_python ; Unfortunately I cannot do much more at this point because gdb is not allowing me to set breakpoints and I don't know why.
However, does this ring a bell with anyone ? can anyone offer suggestions ? All the best.