470,643 Members | 1,379 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,643 developers. It's quick & easy.

debugging extension module

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 !

Jul 18 '05 #1
0 985

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by David Abrahams | last post: by
8 posts views Thread by Torsten Mohr | last post: by
2 posts views Thread by Joseph S. | last post: by
3 posts views Thread by Joseph S. | last post: by
3 posts views Thread by Herb | last post: by
5 posts views Thread by Christopher Anderson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.