-- PIFAYm1fMZ0LGn7Gn8x Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-01-11 at 03:54 +0900, Young Hyun wrote: > Has anyone managed to build Ruby with dmalloc support? I'm having > numerous problems trying to do so on MacOS X 10.4.8 and FreeBSD 6.1. > I'm trying to hunt down a memory leak in Ruby, probably in the Mutex > code. Also, fastthread 0.6.1 is crashing for me, possibly due to a > memory corruption, and I'd like to figure out what's going on there. It's not quite as shiny as dmalloc, but have you tried electric fence (libefence)? On Linux, at least, you can use it via LD_PRELOAD, without recompiling Ruby. Also, do you see the memory corruption under both MacOS X and FreeBSD? -mental -- PIFAYm1fMZ0LGn7Gn8x Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFpVz1SuZBmZzm14ERAh29AJ0YqLmZqLepsZfTSLebS8AQheSEJQCgjwYN KLdsIf6PRlYqHL2RXfndkAUjH4 -----END PGP SIGNATURE----- -- PIFAYm1fMZ0LGn7Gn8x--