Interesting Segfault... Or not?

Will Ware wware at
Wed Aug 22 22:10:54 CEST 2001

Matthew Turk (m-turk at wrote:
> Does this mean I'm not decrementing a reference I ought to?  ...
> Thanks - if anybody has any ideas, that is!

Two thoughts. First, gdb will treat you a lot more kindly if you
rebuild Python with debugging turned on, using "-g" as one of your

Second, I once came up with a clever hack to help debug the kinds
of reference counting problems you mention. It's here:

Hoping it will be helpful to you.

 22nd century: Esperanto, geodesic | Will Ware
 domes, hovercrafts, metric system | wware at

More information about the Python-list mailing list