[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev 2-8-1 bug: strace
From: |
Philip Webb |
Subject: |
Re: lynx-dev 2-8-1 bug: strace |
Date: |
Thu, 3 Dec 1998 02:12:01 -0500 (EST) |
i've now tracked the bug using strace : below are 2 sections of output
for the 2 cases in the same Lynx session, where (1) the document is
fetched from afar, then p entered at once (at the top of the document),
& (2) where the document is recovered from cache, 5p entered to move down
to page 5, then p entered. i have deleted a large number of lines
of the form: ioctl(0, 0x4004667f, [0]) = 0 .
please refer to my original message for a full description of the problem:
i hope this helps someone offer a suggestion as to what is going wrong.
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "C", 1) = 1
write(1, "\rGetting http://www.ft.com/hipp"..., 49) = 49
write(1, "\rLooking up www.ft.com.\33[K", 26) = 26
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
waitid(P_ALL, 0, 0x7fff9230, WNOHANG|WEXITED|WTRAPPED) = -1 ECHILD (No child
processes)
pipe([4, 5]) = 4
fork() = 14284
close(5) = 0
select(5, [0 4], NULL, NULL, {1, 0}) = 1 (in [4])
read(4, "\0\0\0\4", 4) = 4
read(4, "\302\304I)", 4) = 4
waitid(P_PID, 14284, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14284,
si_status=0, ...}, WNOHANG|WEXITED|WTRAPPED) = 0
close(4) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4
connect(4, {sin_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("194.196.73.41")}, 16) = -1 EINPROGRESS (Operation now in
progress)
select(1024, NULL, [4], NULL, {0, 100000}) = 0 (Timeout)
connect(4, {sin_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("194.196.73.41")}, 16) = -1 EALREADY (Operation already in
progress)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, NULL, [4], NULL, {0, 100000}) = 1 (out [4])
connect(4, {sin_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("194.196.73.41")}, 16) = -1 EISCONN (Transport endpoint is
already connected)
write(1, "\rSending HTTP request.\33[0m\17"..., 48) = 48
write(4, "GET /hippocampus/qdd3ca.htm HTTP"..., 319) = 319
write(1, "\r\33[0;7m\17HTTP request sent; "..., 48) = 48
time() = 912663885
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "HTTP/1.1 200 OK\r\nDate: Thu, 03"..., 1023) = 1023
time() = 912663885
write(1, "\33[36D/1.1 200 OK\33[K", 19) = 19
time() = 912663885
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "<", 4096) = 1
time() = 912663885
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "IFRAME SRC=\"http://banner.ft.co"..., 4096) = 1536
brk(0x10110000) = 0
brk(0x10112000) = 0
time() = 912663885
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "DER=\"0\" ALT=\"\"><a href=\"wa"..., 4096) = 2048
brk(0x10114000) = 0
brk(0x10116000) = 0
time() = 912663885
write(1, "\33[H\33[23C\33[0m\17SCOTLAND: M"..., 811) = 811
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, " src=\"/images/v_trnsp.gif\" HEI"..., 4096) = 4096
brk(0x10118000) = 0
brk(0x1011a000) = 0
brk(0x1011c000) = 0
time() = 912663886
write(1, "\33[0;7m\17Read 7681 of 21093 by"..., 56) = 56
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "if\" WIDTH=\"234\" HEIGHT=\"20\""..., 4096) = 4096
brk(0x1011e000) = 0
brk(0x10120000) = 0
brk(0x10122000) = 0
brk(0x10124000) = 0
brk(0x10126000) = 0
brk(0x10128000) = 0
brk(0x1012a000) = 0
brk(0x1012c000) = 0
time() = 912663886
write(1, "\33[44D11777 of 21093 bytes of d"..., 51) = 51
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "\"><FONT face=\"Arial, Helvetica"..., 4096) = 4096
brk(0x1012e000) = 0
brk(0x10130000) = 0
brk(0x10132000) = 0
brk(0x10134000) = 0
time() = 912663887
write(1, "\33[45D5873\33[25C7936 bytes/sec"..., 36) = 36
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "lt=\"\"><B><FONT face=Arial, Hel"..., 4096) = 4096
brk(0x10136000) = 0
brk(0x10138000) = 0
brk(0x1013a000) = 0
time() = 912663887
write(1, "\33[44D\33[0;7m\0179969\33[25C99"..., 30) = 30
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "ORDER=\"0\"></A></NOSCRIPT></IFR"..., 4096) = 343
brk(0x1013c000) = 0
time() = 912663887
write(1, "\33[45D20312\33[25C10156 bytes/s"..., 31) = 31
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
select(1024, [4], NULL, NULL, {0, 100000}) = 1 (in [4])
read(4, "", 4096) = 0
write(1, "\rData transfer complete\33[K", 26) = 26
close(4) = 0
write(1, "\33[H\33[77C\33[0m\0178\33[23B\r"..., 20) = 20
write(1, "\33[0;7m\17-more- http://www.ft."..., 53) = 53
write(1, "\33[21A\33[40DFT.com\33[21B\33[6"..., 26) = 26
write(1, "\r-more- http://www.ft.com/hippo"..., 47) = 47
write(1, "\33[33C", 5) = 5
read(0, "p", 1) = 1
getpid() = 14252 (ppid 14251)
open("/homes/purslow/tmp/L14252-1TMP.html", O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
fxstat(2, 4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
fxstat(2, 4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
ioctl(4, TCGETA, 0x7fff96c8) = -1 ENOTTY (Not a typewriter)
write(4, "<html>\n<head>\n<META http-equiv"..., 838) = 838
close(4) = 0
write(1, "\rGetting file://localhost/homes"..., 60) = 60
xstat(2, "/homes/purslow/tmp/L14252-1TMP.html", {st_mode=S_IFREG|0600,
st_size=838, ...}) = 0
open("/homes/purslow/tmp/L14252-1TMP.html", O_RDONLY) = 4
xstat(2, "/homes/purslow/tmp/L14252-1TMP.html", {st_mode=S_IFREG|0600,
st_size=838, ...}) = 0
syssgi(SGI_GETGROUPS, 0x10, 0x7fff9bc0, 0, 0x10132d08, 0xfabc944) = 1
getuid() = 1300 (euid 1300)
time() = 912663922
fxstat(2, 4, {st_mode=S_IFREG|0600, st_size=838, ...}) = 0
ioctl(4, TCGETA, 0x7fff9620) = -1 ENOTTY (Not a typewriter)
read(4, "<html>\n<head>\n<META http-equiv"..., 4096) = 838
read(4, "", 4096) = 0
brk(0x1013e000) = 0
brk(0x10140000) = 0
time() = 912663922
write(1, "\33[H\33[62C\33[1K\33[0m\17 Prin"..., 581) = 581
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
read(4, "", 4096) = 0
close(4) = 0
write(1, "\n\33[0;7m\17LYNXPRINT://LOCAL_F"..., 43) = 43
write(1, "\33[14A\33[26DSave to a local fi"..., 40) = 40
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "B", 1) = 1
write(1, "\33[14A\33[73D\33[0;1m\17Save to"..., 80) = 80
write(1, "\33[13A\33[25D\33[0;7m\17Mail th"..., 40) = 40
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "C", 1) = 1
write(1, "\rPlease enter a valid internet "..., 45) = 45
write(1, "address@hidden"..., 30) = 30
read(0, "\25", 1) = 1
write(1, "\33[25D\33[K", 8) = 8
read(0, "p", 1) = 1
...
read(0, "\r", 1) = 1
pipe([4, 5]) = 4
fork() = 14313
close(4) = 0
fxstat(2, 5, {st_mode=S_IFIFO, st_size=0, ...}) = 0
fxstat(2, 5, {st_mode=S_IFIFO, st_size=0, ...}) = 0
ioctl(5, TCGETA, 0x7fff8fc8) = -1 ENOSYS (Operation not applicable)
write(5, "Mime-Version: 1.0\nContent-Trans"..., 231) = 231
write(5, "\n [1]FT.com \n \n IFRAME:"..., 8297) = 8297
close(5) = 0
waitid(P_PID, 14313, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14313,
si_status=0, ...}, WEXITED|WTRAPPED) = 0
write(1, "\33[H\33[23CSCOTLAND: Ministers "..., 826) = 826
write(1, "\33[0;7m\17-more- http://www.ft."..., 56) = 56
write(1, "\33[21A\33[40DFT.com\33[21B\33[6"..., 26) = 26
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "D", 1) = 1
write(1, "\rGetting http://www.ft.com/hipp"..., 53) = 53
write(1, "\33[H\33[55C\33[1K UK & Ireland "..., 1019) = 1019
write(1, "\33[0;7m\17-more- http://www.ft."..., 54) = 54
write(1, "\33[20A\33[40DMinisters criticis"..., 56) = 56
-------------------------------------
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "C", 1) = 1
write(1, "\rGetting http://www.ft.com/hipp"..., 49) = 49
write(1, "\33[H\33[23C\33[0m\17SCOTLAND: M"..., 811) = 811
write(1, "\33[0;7m\17-more- http://www.ft."..., 62) = 62
write(1, "\33[21A\33[40D\33[0;7m\17FT.com\33"..., 33) = 33
read(0, "5", 1) = 1
write(1, "\rFollow link (or goto link or p"..., 55) = 55
write(1, "5", 1) = 1
read(0, "p", 1) = 1
write(1, "p", 1) = 1
read(0, "\r", 1) = 1
write(1, "\33[H\33[72C5\n\r towards inde"..., 965) = 965
write(1, "\33[0;7m\17-more- http://www.ft."..., 62) = 62
write(1, "\33[5A\33[22D\33[0;7m\17IMF/Worl"..., 40) = 40
read(0, "p", 1) = 1
lxstat(2, "/homes/purslow/tmp/L14252-1TMP.html", {st_mode=S_IFREG|0600,
st_size=838, ...}) = 0
unlink("/homes/purslow/tmp/L14252-1TMP.html") = 0
getpid() = 14252 (ppid 14251)
open("/homes/purslow/tmp/L14252-2TMP.html", O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
fxstat(2, 4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
fxstat(2, 4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
ioctl(4, TCGETA, 0x7fff96c8) = -1 ENOTTY (Not a typewriter)
write(4, "<html>\n<head>\n<META http-equiv"..., 838) = 838
close(4) = 0
write(1, "\rGetting file://localhost/homes"..., 60) = 60
xstat(2, "/homes/purslow/tmp/L14252-2TMP.html", {st_mode=S_IFREG|0600,
st_size=838, ...}) = 0
open("/homes/purslow/tmp/L14252-2TMP.html", O_RDONLY) = 4
xstat(2, "/homes/purslow/tmp/L14252-2TMP.html", {st_mode=S_IFREG|0600,
st_size=838, ...}) = 0
syssgi(SGI_GETGROUPS, 0x10, 0x7fff9bc0, 0, 0x10098790, 0xfabc944) = 1
getuid() = 1300 (euid 1300)
time() = 912663958
fxstat(2, 4, {st_mode=S_IFREG|0600, st_size=838, ...}) = 0
ioctl(4, TCGETA, 0x7fff9620) = -1 ENOTTY (Not a typewriter)
read(4, "<html>\n<head>\n<META http-equiv"..., 4096) = 838
read(4, "", 4096) = 0
brk(0x10142000) = 0
brk(0x10144000) = 0
time() = 912663958
write(1, "\33[H\33[62C\33[1K\33[0m\17 Prin"..., 603) = 603
select(1024, [0], NULL, NULL, {0, 100}) = 0 (Timeout)
read(4, "", 4096) = 0
close(4) = 0
write(1, "\n\33[0;7m\17LYNXPRINT://LOCAL_F"..., 43) = 43
write(1, "\33[14A\33[26DSave to a local fi"..., 40) = 40
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "B", 1) = 1
write(1, "\33[14A\33[73D\33[0;1m\17Save to"..., 80) = 80
write(1, "\33[13A\33[25D\33[0;7m\17Mail th"..., 40) = 40
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "C", 1) = 1
write(1, "\rPlease enter a valid internet "..., 45) = 45
write(1, "address@hidden"..., 30) = 30
read(0, "\25", 1) = 1
write(1, "\33[25D\33[K", 8) = 8
read(0, "p", 1) = 1
...
read(0, "\r", 1) = 1
pipe([4, 5]) = 4
fork() = 14337
close(4) = 0
fxstat(2, 5, {st_mode=S_IFIFO, st_size=0, ...}) = 0
fxstat(2, 5, {st_mode=S_IFIFO, st_size=0, ...}) = 0
ioctl(5, TCGETA, 0x7fff8fc8) = -1 ENOSYS (Operation not applicable)
write(5, "Mime-Version: 1.0\nContent-Trans"..., 231) = 231
write(5, "\n [1]FT.com \n \n IFRAME:"..., 8297) = 8297
close(5) = 0
waitid(P_PID, 14337, {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14337,
si_status=0, ...}, WEXITED|WTRAPPED) = 0
write(1, "\33[H\33[23CSCOTLAND: Ministers "..., 992) = 992
write(1, "\33[0;7m\17-more- http://www.ft."..., 39) = 39
write(1, "\33[5A\33[22DIMF/World Bank\n\n\n"..., 33) = 33
read(0, "\33", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "O", 1) = 1
select(20, [0], NULL, NULL, {0, 100000}) = 1 (in [0])
read(0, "D", 1) = 1
write(1, "\rGetting http://www.ft.com/hipp"..., 46) = 46
--- SIGBUS (Bus error) ---
sigaction(SIGHUP, {SIG_IGN}, {0x40f430, [], SA_RESETHAND|SA_NODEFER}) = 0
sigaction(SIGTERM, {SIG_IGN}, {0x40f430, [], SA_RESETHAND|SA_NODEFER}) = 0
sigaction(SIGINT, {SIG_IGN}, {0x40f430, [], SA_RESETHAND|SA_NODEFER}) = 0
sigaction(SIGBUS, {SIG_IGN}, {SIG_DFL}) = 0
sigaction(SIGSEGV, {SIG_IGN}, {0x43a148, [], SA_RESETHAND|SA_NODEFER}) = 0
sigaction(SIGILL, {SIG_IGN}, {0x43a148, [], SA_NODEFER}) = 0
sigaction(SIGHUP, {SIG_IGN}, {SIG_IGN}) = 0
sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}) = 0
sigaction(SIGTERM, {SIG_IGN}, {SIG_IGN}) = 0
sigaction(SIGHUP, {SIG_IGN}, {SIG_IGN}) = 0
sigaction(SIGTERM, {SIG_IGN}, {SIG_IGN}) = 0
sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}) = 0
write(1, "\33[H\33[55C\33[1K\33[0m\17 UK &"..., 1036) = 1036
ioctl(1, TCSETAW, {B38400 opost isig icanon echo ...}) = 0
write(1, "\33[?1l", 5) = 5
sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}) = 0
time() = 912663978
lxstat(2, "/homes/purslow/tmp/L14252-2TMP.html", {st_mode=S_IFREG|0600,
st_size=838, ...}) = 0
unlink("/homes/purslow/tmp/L14252-2TMP.html") = 0
sigaction(SIGHUP, {SIG_DFL}, {SIG_IGN}) = 0
sigaction(SIGTERM, {SIG_DFL}, {SIG_IGN}) = 0
sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}) = 0
sigaction(SIGBUS, {SIG_DFL}, {SIG_IGN}) = 0
sigaction(SIGSEGV, {SIG_DFL}, {SIG_IGN}) = 0
sigaction(SIGILL, {SIG_DFL}, {SIG_IGN}) = 0
write(2, "\r\nA Fatal error has occurred i"..., 32) = 32
write(2, "Lynx Ver", 8) = 8
write(2, ". ", 2) = 2
write(2, "2.8.1rel.1", 10) = 10
write(2, "\r\n", 2) = 2
write(2, "\r\nPlease notify your system ad"..., 319) = 319
write(2, "\r\nDo NOT mail the core file if"..., 51) = 51
write(2, "\r\nLynx now exiting with signal"..., 33) = 33
write(2, "10\r\n\r\n", 6) = 6
sigaction(SIGABRT, {SIG_DFL}, {SIG_DFL}) = 0
getpid() = 14252 (ppid 14251)
kill(14252, SIGABRT) = 0
--- SIGABRT (Abort) ---
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : address@hidden
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto