"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:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496791