[Python-Dev] any tips on malloc debugging? (original) (raw)

Bill Janssen janssen at parc.com
Fri Sep 7 23:44:21 CEST 2007


Is this a --with-pydebug build? If not, it should be.

Yes.

If that still does not give insights, I usually try valgrind (although usually with little success).

Actually, Google is your friend here. The message in malloc is misleading; set a breakpoint in malloc_printf instead.

Bill



More information about the Python-Dev mailing list