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


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to