lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Re: weird abortions


From: Thomas Dickey
Subject: Re: [Lynx-dev] Re: weird abortions
Date: Mon, 3 Jan 2005 14:26:44 -0500
User-agent: Mutt/1.3.27i

On Mon, Jan 03, 2005 at 07:02:09PM +0000, Thorsten Glaser wrote:
> Thomas Dickey dixit:
> 
> > see stuff like this when a program's trashed its stack,
> 
> exactly that is what ProPolice makes terminate the application. ;)
> 
> So the cause of the termination (lynx smashing its stack) is
> also the cause that I can't debug it. How funny...

That's where I've found ElectricFence to be useful (relative to gdb).
gdb won't notice that the application is dead until it staggers on
for a while and falls down.  ElectricFence can often make the application
stop when it first corrupts memory.  (But ElectricFence changes the
behavior of the application as well).

I've had reasonly good use from valgrind, which changes the behavior
less, but occasionally run into something that confuses it.  So it's
good to have several different tools to try.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]