lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Re: lynx randomly hanging at "HTTP/1.1 200 OK"


From: Thomas Dickey
Subject: Re: [Lynx-dev] Re: lynx randomly hanging at "HTTP/1.1 200 OK"
Date: Mon, 2 Jan 2006 18:05:26 -0500
User-agent: Mutt/1.3.27i

On Mon, Jan 02, 2006 at 08:52:35PM -0200, Frédéric L. W. Meunier wrote:

> It took some time, but here's the gdb. Please tell me if it's 
> complete, otherwise tell me what I should do under gdb (it's 
> still attached).

I think the obvious thing to check is whether it's stuck in a loop
trying to open a temporary file.  There are a couple of loops to
check on: fmt_tempname (the current function), and LYOpenTemp (the
caller of fmt_tempname).

If you type "finish", gdb will try to finish the current function.
If it's stuck in a loop, it won't come back - and you can control/C
back to gdb's prompt.  Doing that twice would normally get back to
HTCompressed.

Perhaps there's some problem making the temporary files not created properly.
That would be relatively easy to diagnose, by looking at the local variables
of the function that's stuck.
 
> 0x0808c037 in fmt_tempname (
>     result=0xbfcc5880 "ÿÿÿÿ32&t4\210Ó·\204\221Ó·\204\221Ó·x(à·@(à· ",
>     prefix=0x81d8f60 "/home/fredlwm/tmp/", suffix=0xbfcc5780 ".html.gz")
>     at /usr/local/src/networking/http/browsers/lynx2-8-6/src/LYUtils.c:3360
> 3360            counter = (unsigned) (((float) MAX_TEMPNAME * lynx_rand()) /
> (gdb) where
> #0  0x0808c037 in fmt_tempname (
>     result=0xbfcc5880 "ÿÿÿÿ32&t4\210Ó·\204\221Ó·\204\221Ó·x(à·@(à· ",
>     prefix=0x81d8f60 "/home/fredlwm/tmp/", suffix=0xbfcc5780 ".html.gz")
>     at /usr/local/src/networking/http/browsers/lynx2-8-6/src/LYUtils.c:3360
> #1  0x0808dec8 in LYOpenTemp (
>     result=0xbfcc5880 "ÿÿÿÿ32&t4\210Ó·\204\221Ó·\204\221Ó·x(à·@(à· ",
>     suffix=0xbfcc5780 ".html.gz", mode=0x81334b1 "")
>     at /usr/local/src/networking/http/browsers/lynx2-8-6/src/LYUtils.c:6082
> #2  0x080bc403 in HTCompressed (pres=0x8206328, anchor=0x8ac93a0, sink=0x0)
>     at 
>     /usr/local/src/networking/http/browsers/lynx2-8-6/src/HTFWriter.c:1146

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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