Re: Typical malloc-related application bugs

From: Ulrich Spoerlein <q_at_galgenberg.net>
Date: Fri, 20 Jan 2006 13:53:01 +0100
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.

Received on Fri Jan 20 2006 - 11:53:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC