Python segmentation fault?

Paul Rubin http
Tue Oct 24 03:12:36 CEST 2006

"Michael B. Trausch" <"mike$#at^&nospam!%trauschus"> writes:
> Is there a way to debug scripts that cause segmentation faults?  I can
> do a backtrace in gdb on Python, but that doesn't really help me all
> that much since, well, it has nothing to do with my script... :-P

Scripts should never cause segmentation faults.  Extension modules can
cause them.  One frequent cause is a refcount management error.  There
are various tools around for checking refcount correctness.  Here is one:

More information about the Python-list mailing list