Date: Sat, 13 Jan 2001 14:24:46 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Matthew Thyer <thyerm@camtech.net.au> Cc: current@FreeBSD.org, Mike Heffner <mheffner@vt.edu> Subject: Re: Data corruption whilst debugging sonar module of ports/graph Message-ID: <XFMail.010113142446.jhb@FreeBSD.org> In-Reply-To: <3A600121.97AFD6EC@camtech.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13-Jan-01 Matthew Thyer wrote: > Mike Heffner wrote: >> >> On 13-Jan-2001 Matthew Thyer wrote: >> >> | Does anyone recognise where 0xd0d0d0d0 may have come from ? >> | >> >> [snip] >> >> Read the "Tuning" section of malloc(3). 0xd0 is what allocated and >> deallocated >> memory is set to. xscreensaver is probably not initializing malloc()'d >> memory, >> and therefore it's left at 0xd0. A work around is to turn off this feature: >> >> ln -s aj /etc/malloc.conf >> >> however, xscreensaver should be fixed instead. > > Yes, that's what I'm trying to achieve. I thought it was "0xdeadcode" > that got put in the malloc'd memory but if that's changed then thanks > for the lead. 0xdeadc0de is used by kernel malloc, and 0xd0d0d0d0 by the userland malloc, AFAIK. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010113142446.jhb>