lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev dev.10 progress


From: Thomas Dickey
Subject: Re: lynx-dev dev.10 progress
Date: Tue, 19 Nov 2002 21:01:51 -0500
User-agent: Mutt/1.3.27i

On Tue, Nov 19, 2002 at 07:37:20PM +0300, Leonid Pauzner wrote:
> 19-Nov-2002 05:56 Thomas E. Dickey wrote:
> 
> > I didn't see anything in your followup patches which would relate to this,
> > but I ran into a problem with the d-snapshot (something broken by the
> > changes to GridText.c).  If I run "lynx ." and then view a file, come back
> > to the directory listing and then right-arrow into the same file, it does
> > not redisplay the file, but instead shows the directory listing (with the
> > page numbers for the file).  Pressing ^R does show the file again.  If I
> > hadn't run into that, I would have finished the e-snapshot last night...
> 
> I cannot reproduce your report. The problem of that kind may be possible
> when LYMainLoop.c/LYGetFile.c/LYHistory.c logic became broken for some
> reason. GridText.c changes mostly incapsulated within that file,
> you may revert it easily...

It's something to do with the pool-allocation.  valgrind is probably showing
me the problem that I'm looking for, e.g., this (repeated a lot of times):

==6270== Invalid read of size 1
==6270==    at 0x805C0EC: display_line (./GridText.c:1282)
==6270==    by 0x805D446: display_page (./GridText.c:2001)
==6270==    by 0x8069BF2: HText_pageDisplay (./GridText.c:6820)
==6270==    by 0x808656E: mainloop (./LYMainLoop.c:6241)
==6270==    by 0x807A28A: main (./LYMain.c:2060)
==6270==    by 0x402A6577: (within /lib/libc-2.1.3.so)
==6270==    Address 0x4331E80E is 18 bytes inside a block of size 32776 free'd
==6270==    at 0x40042630: free (vg_clientfuncs.c:171)
==6270==    by 0x805BFE7: HText_free (./GridText.c:1177)
==6270==    by 0x806BD94: HTuncache_current_document (./GridText.c:8112)
==6270==    by 0x807DCBD: handle_LYK_ACTIVATE (./LYMainLoop.c:1427)
==6270==    by 0x8087DBE: mainloop (./LYMainLoop.c:7113)
==6270==    by 0x807A28A: main (./LYMain.c:2060)
==6270== 

The problem happens with/without color-style.  Since it's probably a memory
issue, it's not necessarily going to break the same way for everyone.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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