<div dir="ltr">Hey guys,<div><br></div><div>I'm running somebody else's petsc4py application script and I'm seeing a segmentation fault in __pyx_module_cleanup ().</div><div><br></div><div>I'll spend some time debugging this later, but has anybody run into this before and have hints on where to start looking?</div>
<div><br></div><div>petsc4py: 1.2</div><div>petsc: 3.2-p5</div><div><br></div><div>The application script is here: <a href="https://github.com/cbm755/cp_matrices/blob/refactor/python/examples/petsc/heat_circle_petsc_solve.py">https://github.com/cbm755/cp_matrices/blob/refactor/python/examples/petsc/heat_circle_petsc_solve.py</a></div>
<div><br></div><div>Here's the stack trace:</div><div><br></div><div><div>Program received signal SIGSEGV, Segmentation fault.</div><div>0x0000000101df589b in __pyx_module_cleanup ()</div><div>   from /Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/petsc4py/lib/arch-darwin-c-debug/PETSc.so</div>
<div>(gdb) where</div><div>#0  0x0000000101df589b in __pyx_module_cleanup ()</div><div>   from /Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/petsc4py/lib/arch-darwin-c-debug/PETSc.so</div><div>#1  0x00000001000c4960 in PyEval_EvalFrameEx () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div>
<div>#2  0x00000001000c66f6 in PyEval_EvalCodeEx () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div><div>#3  0x000000010003d440 in function_call () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div>
<div>#4  0x000000010000c122 in PyObject_Call () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div><div>#5  0x00000001000be0b7 in PyEval_CallObjectWithKeywords () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div>
<div>#6  0x00000001000eb33a in Py_Finalize () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div><div>#7  0x0000000100101fff in Py_Main () from /usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib</div><div>
#8  0x0000000100000e22 in _start ()</div><div>#9  0x0000000100000d41 in start ()</div></div><div><br></div><div><br></div></div>