[Python-Dev] any tips on malloc debugging?

"Martin v. Löwis" martin at v.loewis.de
Fri Sep 7 23:19:52 CEST 2007


> I've been expanding the SSL test suite, and found something like this
> cropping up, not always, but maybe 30% of the time.  So I run it under
> gdb, but the "szone_error" breakpoint never gets hit.  Any other
> malloc debugging tips I should know about?

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

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

Regards,
Martin


More information about the Python-Dev mailing list