![]() | Check that the extension module was compiled with debug mode on (usually the -g option to the C compiler) |
![]() | Run python under a debugger:
unix> gdb `which python` GNU gdb 6.0-debian ... (gdb) run ../../../Grid2Deff.py verify1 Starting program: /usr/bin/python ../../../Grid2Deff.py verify1 ... Program received signal SIGSEGV, Segmentation fault. 0x40cdfab3 in gridloop1 (self=0x0, args=0x1) at gridloop1.c:20 20 if (!PyArg_ParseTuple(args, "O!O!O!O:gridloop1",This is the line where something goes wrong... |