debugging extension module

S

Stefan Seefeld

hi there,

I'v trouble debugging an extension module with gdb
and I'm wondering whether anybody has suggestions
about how to do this.

The symptoms of the bug I'm looking for are that
depending on some seemingly benign (C/C++) code, the process
will seg fault somewhere in the garbage collector's
cleanup at the end of the application. Unfortunately
gdb doesn't let me step through these functions, so
I couldn't have a closer look into what happens.
I got the stack trace from a call to glibc's 'backtrace'
function from within the seg fault signal handler.

What can cause this kind of failure ? How can I
debug this ? I tried to prepare a special python
installation configured with the '--with-pydebug' option,
but may be that's not enough... (I'm running python 2.3.4
in case that matters).

Thanks for any help !

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top