[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] Re: lynx randomly hanging at "HTTP/1.1 200 OK"
From: |
Frédéric L . W . Meunier |
Subject: |
[Lynx-dev] Re: lynx randomly hanging at "HTTP/1.1 200 OK" |
Date: |
Mon, 2 Jan 2006 20:52:35 -0200 (BRST) |
On Fri, 30 Dec 2005, Thomas Dickey wrote:
On Fri, 30 Dec 2005, Frédéric L. W. Meunier wrote:
I'll make a debuggable binary to try to get something, but from time to
time lynx hangs at "HTTP/1.1 200 OK", the CPU load starts increasing, and
only ^C works. This is on Linux (also on Windows, but I've been using
coLinux on the latter).
On Linux (any Unix) you can attach gdb to the process and get a walkback.
Without a debug-binary, that's not a lot of information, but still better
than nothing. I don't know if that would work with Cygwin.
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).
PS: pid 7352 was "fredlwm 7352 0.0 0.0 0 0 pts/0 Z+ 20:46 0:00 [ly]
<defunct>"
(gdb) attach 7352
Attaching to process 7352
ptrace: Operation not permitted.
(gdb) where
No stack.
(gdb) attach 576
Attaching to process 576
Reading symbols from /usr/local/bin/lynx...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libbz2.so.1...done.
Loaded symbols for /lib/libbz2.so.1
Reading symbols from /lib/libncursesw.so.6...done.
Loaded symbols for /lib/libncursesw.so.6
Reading symbols from /usr/lib/libssl.so.0...done.
Loaded symbols for /usr/lib/libssl.so.0
Reading symbols from /usr/lib/libcrypto.so.0...done.
Loaded symbols for /usr/lib/libcrypto.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
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
#3 0x0810bb7d in HTStreamStack (rep_in=0x82062f0, rep_out=0x8206328,
sink=0x0, anchor=0x8ac93a0)
at
/usr/local/src/networking/http/browsers/lynx2-8-6/WWW/Library/Implementation/HTFormat.c:503
#4 0x08112151 in HTMIME_put_character (me=0x82fdd38, c=56 '8')
at
/usr/local/src/networking/http/browsers/lynx2-8-6/WWW/Library/Implementation/HTMIME.c:461
#5 0x08112a70 in HTMIME_write (me=0x82fdd38, s=0x8729636 "\037\213\b",
l=141728084)
at
/usr/local/src/networking/http/browsers/lynx2-8-6/WWW/Library/Implementation/HTMIME.c:1937
#6 0x080e78e5 in HTLoadHTTP (
---Type <return> to continue, or q <return> to quit---
arg=0x8a2a3b0
"http://www.netvasco.com.br/forum/post.php?action=edit&fid=32&tid=6092&pid=184694",
anAnchor=0x8ac93a0, format_out=0x81e6e68, sink=0x0)
at
/usr/local/src/networking/http/browsers/lynx2-8-6/WWW/Library/Implementation/HTTP.c:1952
#7 0x080e3d76 in HTLoadDocument (
full_address=0x8b75e10
"http://www.netvasco.com.br/forum/post.php?action=edit&fid=32&tid=6092&pid=184694",
anchor=0x8ac93a0, format_out=0xb7e010d4,
sink=0x0)
at
/usr/local/src/networking/http/browsers/lynx2-8-6/WWW/Library/Implementation/HTAccess.c:695
#8 0x080e4ec7 in HTLoadAbsolute (docaddr=0xbfcc5e80)
at
/usr/local/src/networking/http/browsers/lynx2-8-6/WWW/Library/Implementation/HTAccess.c:1109
#9 0x080703b9 in getfile (doc=0x81816c0, target=0x423f62a4)
at /usr/local/src/networking/http/browsers/lynx2-8-6/src/LYGetFile.c:829
#10 0x0807c465 in mainloop ()
at /usr/local/src/networking/http/browsers/lynx2-8-6/src/LYMainLoop.c:5576
#11 0x08075a61 in main (argc=2, argv=0xbfcc6884)
at /usr/local/src/networking/http/browsers/lynx2-8-6/src/LYMain.c:2130
(
--
How to contact me - http://www.pervalidus.net/contact.html
- [Lynx-dev] Re: lynx randomly hanging at "HTTP/1.1 200 OK",
Frédéric L . W . Meunier <=