Typical malloc-related application bugs

Ulrich Spoerlein q at galgenberg.net
Fri Jan 20 04:53:08 PST 2006

Joe Marcus Clarke wrote:
> On Thu, 2006-01-19 at 23:10 -0800, Jason Evans wrote:
> > 2) Out-of-bounds writes. [...]
> I'm seeing a lot of this when I run gnome-system-monitor.  There appears
> to be a bug in libgtop, but I don't know how to make these messages
> fatal in order to produce a backtrace I can use to narrow down where the
> problem lies.  What can I do to isolate where in the code the redzone
> corruption is occurring?

Try running it in valgrind first, if you're lucky, it will immediately
point you to the faulty spot.

Ulrich Spoerlein
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060120/ec8ae3de/attachment.bin

More information about the freebsd-current mailing list