On Wed, 26 Oct 2005, Allin Cottrell wrote:

I think I've tracked down where the hang is occurring, using memprof with glibc 2.3.5 on Linux 2.6.13.4 (though I don't undestand _why_ it's occurring).

Apologies for replying to myself, but here's the solution. Glibc versions up to 2.3.3 implemented backtrace() without using malloc(), but from 2.3.4 onward backtrace calls malloc indirectly, which screws memprof. See

http://sources.redhat.com/bugzilla/show_bug.cgi?id=956

A workaround is to undef HAVE_BACKTRACE in memprof's config.h.

Allin Cottrell
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to