Interesting Segfault... Or not?
Will Ware
wware at world.std.com
Wed Aug 22 16:10:54 EDT 2001
Matthew Turk (m-turk at nwu.edu) 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
CFLAGS.
Second, I once came up with a clever hack to help debug the kinds
of reference counting problems you mention. It's here:
http://groups.google.com/groups?hl=en&safe=off&rnum=2&selm=G18tKx.IJC%40world.std.com
Hoping it will be helpful to you.
--
-----------------------------------+---------------------
22nd century: Esperanto, geodesic | Will Ware
domes, hovercrafts, metric system | wware at world.std.com
More information about the Python-list
mailing list