lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Lynx 2.7.1ac-0.74 and LYUnEscapeEntities problem under digi


From: Heikki Kantola
Subject: Re: LYNX-DEV Lynx 2.7.1ac-0.74 and LYUnEscapeEntities problem under digital UNIX
Date: Sat, 4 Oct 1997 22:28:55 +0300

According to Klaus Weide <address@hidden>:
> Anyway, for the original problem:
> 
> Do you get the same error when invoking Lynx from the command line on
> such a page with
> 
> a) lynx -dump [URL here]

Yes.

> b) lynx -source [URL here]

No.

> c) lynx -source -preparsed [URL here]
 
No. 
 
> Also, try changing the relevant lines in LYCharUtils.c from
[...]
> (to get some more diagnostic output), and changing calloc(1, len) to
> calloc(len, 1) or to just malloc(len); and changing "int len;" at the
> beginning of LYUnEscapeEntities to "size_t len;".  These are just wild
> guesses, also lynx -trace may reveal something, or you'll have to compile

With -trace and suggested debug printouts the last lines for <URL:http://
www.helsinki.fi/> will be:
        New anchor 1400a0e00 has hash 44 and address
        http://www.helsinki.fi/yliopisto/'Linking anchor 1400a0d40 to anchor
        1400a0e00
        HTML:begin_element: adding style to stack - Normal
        SGML: Unknown attribute vspace for tag IMG
        SGML: Attribute value 5 ignored
        SGML: Unknown attribute hspace for tag IMG
        SGML: Attribute value 5 ignored
        SGML: Start <IMG>
        LYUnEscapeEntities: alloc 0 failed!
        trying to unescape ''

        ./LYCharUtils.c LYUnEscapeEntities: out of memory.  Aborting...

        Memory exhausted!  Program aborted! 

> with -g (configure --enable-debug should do it) and run under a
> debugger...

Hmm, I tried, but didn't manage to get anything useful out from gdb,
but then I'm not very experienced in its use...

-- 
Heikki "Hezu" Kantola, <address@hidden>
Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.
;
; 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]