Debugging a difficult refcount issue.

buck workitharder at gmail.com
Sun Dec 18 11:06:56 EST 2011


On Saturday, December 17, 2011 11:55:13 PM UTC-8, Paul Rubin wrote:
> buck <workit... at gmail.com> writes:
> > I tried to pinpoint this intermediate allocation with a similar
> > PyDict_New/LD_PRELOAD interposer, but that isn't working for me[2].
> 
> Did you try a gdb watchpoint?

I didn't try that, since that piece of code is run millions of times, and I don't know the dict-id I'm looking for until after the problem has occurred.



More information about the Python-list mailing list