[Top][All Lists]

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

Re: LYNX-DEV devel code / fotemods core dumps

From: Foteos Macrides
Subject: Re: LYNX-DEV devel code / fotemods core dumps
Date: Fri, 02 May 1997 11:09:40 -0500 (EST)

address@hidden (Larry W. Virden, x2487) wrote:
>>receive core dumps when I exit the program.  I first noticed the problem
>>with the development code at version 2.7.1ac0.12 and also with just about
>>all of the Fote binaries.  Along with the core dump, I get an error
>>message that says "IOT Trap/abort" Lynx now exiting with signal 11.  
>>I can get a core dump by going to, and after the
>>document finishes loading, just quit.  
>>I am running Lynx on Linux version 2.0.29.
>I am running 2 different lynxs.  One is fotemod/2.7.1 and the other is
>2.7.1ac0.19.  I do not get a core dump with either accessing this URL.
>I am using a SPARC/Solaris 2.5.1/Sun cc.
>I think that we need more information about versions of lynx, options
>selected, and OS versions before we are going to track down this problem.

        If you use an LY_FIND_LEAKS build for Lynx, and you simply:


and immedialy exit, the lynx.leaks file will tell you:

Invalid pointer detected.
Pointer:        39B410
FileName:       LYMap.c
LineCount:      82

Invalid pointer detected.
Pointer:        34B1B8
FileName:       LYMap.c
LineCount:      69

because the first of three MAPs on that page got trashed, and an
invalid FREE() is being done at those two lines in the code for
freeing all MAP elements and structures at exit.

        As Klaus pointed out, that's not due to anything wrong
with the code in LYMap.c (as far as visual inspections of the code,
and walks through it with a debugger, are concerned).  Also, if you
repeatedly invoke the Netscape home page and just exit, sometimes
the first MAP gets trashed, and other times it doesn't.  That FREE()
won't bother VMS or Solaris, but linux is vulnerable to any glitch
in the memory management.

        That's very strange.  You must not be getting exactly the
same document from the same server each time when you repeatedly
do:  lynx  and one of them must have
something in it which corrupts memory in Lynx.


 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.

reply via email to

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