* Re: Re: Alpha Numerical Rant
@ 1999-03-24 22:03 Tom Browder
1999-03-24 22:49 ` Shaw Terwilliger
0 siblings, 1 reply; 2+ messages in thread
From: Tom Browder @ 1999-03-24 22:03 UTC (permalink / raw)
To: axp-list
Thanks to all who answered:
Andrei, I do have the source code (C), and I've used -mieee. I will try reducing
optimizations.
Greg, I'm sure you are correct: it's probably a memory overwrite bug--
isn't there a free bounds checker out there for C++ (checkers?).
I know about dmalloc for C.
Phil, I intend to get ffm going soon!
Wes, I assume the patch is in the 2.2.4 kernel.
Thanks again.
Tom Browder
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: Alpha Numerical Rant
1999-03-24 22:03 Re: Alpha Numerical Rant Tom Browder
@ 1999-03-24 22:49 ` Shaw Terwilliger
0 siblings, 0 replies; 2+ messages in thread
From: Shaw Terwilliger @ 1999-03-24 22:49 UTC (permalink / raw)
To: Tom Browder; +Cc: axp-list
On Wed, Mar 24, 1999 at 04:03:13PM -0600, Tom Browder wrote:
> Greg, I'm sure you are correct: it's probably a memory overwrite bug--
> isn't there a free bounds checker out there for C++ (checkers?).
> I know about dmalloc for C.
Try Electric Fence, an old tool by Bruce Perens. While
it's nowhere near as extensive a tool as say Bounds Checker,
it will almost always catch an errant write to memory you don't
own, or a double free() or delete, etc. I'm not sure where
the latest version is, but it doesn't require any code
changes. Just recompile and link with -lefence and it'll
use its own special malloc(). Run your program in gdb (and
grab 4.17 if you don't have it; it's about 2 whole years newer
than 4.16) and your program should throw a signal right when
memory is getting stomped on.
--
Shaw Terwilliger (twig@advancenet.net)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-03-24 23:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-24 22:03 Re: Alpha Numerical Rant Tom Browder
1999-03-24 22:49 ` Shaw Terwilliger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox