lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev valgrind-reverse.log.gz


From: Thomas E. Dickey
Subject: Re: lynx-dev valgrind-reverse.log.gz
Date: Fri, 20 Dec 2002 06:11:08 -0500 (EST)

On Fri, 20 Dec 2002, Leonid Pauzner wrote:

> >> Tom, please try this patch with valgrind whether it is OK.
> >> It uses fixed last line buffer (no line/pool logic).
> >> Applied against clean dev.12
>
> > it doesn't work (gets an assertion failure).
>
> Which assertion? Could you debug this code? (I can not install valgrind

will lookup (I'm at work).  It was a message about a void* pointer.

> since it doesn't build on my RH7.1 Linux - require system upgrade etc.)

it does require some work on some systems - since apparently there's no
single line of descent for the kernel.  I have it built & working
reasonably well with Slackware 7.1, 8.0, Debian 2.2 and Redhat 8.0.

>
> Fixed last line buffer used in color styles without problem,
> HText_EndAppend() removes last two lines and eliminate fixed buffer
> from HText lines list. Perhaps we should correct the condition
>     /*
>      *  Remove the blank lines at the end of document.
>      */
>     while (text->last_line->data[0] == '\0' && text->Lines > 2) {
> in function below ( > 2)???
>
> Invalid read of memory freed in previous HText by HTuncache_current_document
> seems to be an indirect error of memory overrun from some other code.
>
> Any ideas?

not yet (will read more closely tonight).

-- 
T.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]