[petsc-dev] segfault in __pyx_module_cleanup()

Aron Ahmadia aron at ahmadia.net
Mon Sep 10 03:00:45 CDT 2012


Hey guys,

I'm running somebody else's petsc4py application script and I'm seeing a
segmentation fault in __pyx_module_cleanup ().

I'll spend some time debugging this later, but has anybody run into this
before and have hints on where to start looking?

petsc4py: 1.2
petsc: 3.2-p5

The application script is here:
https://github.com/cbm755/cp_matrices/blob/refactor/python/examples/petsc/heat_circle_petsc_solve.py

Here's the stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000101df589b in __pyx_module_cleanup ()
   from
/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/petsc4py/lib/arch-darwin-c-debug/PETSc.so
(gdb) where
#0  0x0000000101df589b in __pyx_module_cleanup ()
   from
/Users/aron/.virtualenvs/pyclaw/lib/python2.7/site-packages/petsc4py/lib/arch-darwin-c-debug/PETSc.so
#1  0x00000001000c4960 in PyEval_EvalFrameEx () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#2  0x00000001000c66f6 in PyEval_EvalCodeEx () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#3  0x000000010003d440 in function_call () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#4  0x000000010000c122 in PyObject_Call () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#5  0x00000001000be0b7 in PyEval_CallObjectWithKeywords () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#6  0x00000001000eb33a in Py_Finalize () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#7  0x0000000100101fff in Py_Main () from
/usr/local/Cellar/python/2.7.2/lib/libpython2.7.dylib
#8  0x0000000100000e22 in _start ()
#9  0x0000000100000d41 in start ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120910/0a4490f7/attachment.html>


More information about the petsc-dev mailing list