Date: Wed, 10 Jun 1998 22:01:41 +0200 (MET DST) From: Willem Jan Withagen <wjw@surf.IAEhv.nl> To: hackers@FreeBSD.ORG Subject: debugging memory allocation in -stable Message-ID: <199806102001.WAA03724@surf.IAEhv.nl>
next in thread | raw e-mail | index | archive | help
Hi, Working on some stuff with variant links, crashed became my life. But I have some code partially working. Only a few symbolic links later, I get a crash due to having already free'ed some buffer. I'm pretty shure I have to release this buffer in my code, but know I'd like to know where this buffer was malloced in the first place. How do I figure this out? Once I enhanced a malloc package with tracing and tracking, and I must say that vmstat -m does reveil losts of nice info. But one feature I now mis: the string holding the filename/number where the allocation took place. --WjW -- Internet Access Eindhoven BV., voice: +31-40-2 393 393, data: +31-40-2 606 606 P.O. 928, 5600 AX Eindhoven, The Netherlands Full Internet connectivity for only fl 12.95 a month. Call now, and login as 'new'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806102001.WAA03724>