Robot Crash

Hi John,

I followed your suggestions.

(1) With -bfs - -redir -single , I got a deadlock problem: webbot hangs
up on a _read operation (It ran 3 times and got the same problem):

HTTP........ Generating HTTP/1.x Request Headers
HTTP........ Generating General Headers
Buffer...... Flushing 1253a8
Write Socket 251 bytes written to 15

#0  0xff1955fc in _read () from /usr/lib/libc.so.1
#1  0x557d4 in HTReader_read (me=0x133900) at HTReader.c:116
#2  0x5db6c in HTHost_read (host=0x129d90, net=0x12baf8) at
HTHost.c:1632
#3  0x3f2e4 in HTTPEvent (soc=645176, pVoid=0x11ca08, type=HTEvent_READ)
    at HTTP.c:1230
#4  0x3ea68 in HTLoadHTTP (soc=-1, request=0x9d838) at HTTP.c:963
#5  0x60914 in HTNet_newClient (request=0x9d838) at HTNet.c:808
#6  0x6472c in HTLoad (me=0x9d838, recursive=0 '\000') at
HTReqMan.c:1643
#7  0x2aa38 in launch_request (request=0x9d838, recursive=0 '\000')
    at HTAccess.c:77
#8  0x2ad3c in HTLoadAnchor (anchor=0x0, request=0x9d838) at
HTAccess.c:208
#9  0x279ac in Serving_queue (mr=0x9c0c8) at HTRobot.c:1224
#10 0x29b74 in main (argc=638976, argv=0xffbef614) at RobotMain.c:779


(2) With -bfs only, it works much better. It runs for about 10 minutes
but it ends with the following problem.

HTTimer.c:201 Timer ffbef240 not found

#0  0xff196870 in _libc_kill () from /usr/lib/libc.so.1
#1  0xff1392e0 in abort () from /usr/lib/libc.so.1
#2  0x6c1cc in HTDebugBreak (file=0xffbef240 "", line=201, 
    fmt=0x811f0 "Timer %p not found\n") at HTTrace.c:108
#3  0x668b8 in HTTimer_new (timer=0xc193d8, 
    cbf=0x2dd34 <EventListTimerHandler>, param=0x722e6a70,
millis=2004317998, 
    relative=1 '\001', repetitive=1 '\001') at HTTimer.c:201
#4  0x66acc in HTTimer_refresh (timer=0xc193d8, now=1579480685)
    at HTTimer.c:264
#5  0x2dff4 in EventOrder_add (s=34, type=HTEvent_WRITE, now=1579480685)
    at HTEvtLst.c:286
#6  0x2eb2c in HTEventList_loop (theRequest=0x0) at HTEvtLst.c:753

The last traces have been:


Event Loop.. select returns 22
............ READ : 13 15 16 17 20 21 22 23 27 29 31 33 35 37 40 41 43
44 45
............ WRITE: 34 39 42
............ OOB  :
............ Timeout is 5 s, 239000 microsecs
Memory Free. bfa210
Timer....... Found timer c2c9b8 with callback 2dd34, context 3bddc8, and
relative timeout 60000
Memory Free. b299f0
Timer....... Found timer 6aa690 with callback 2dd34, context b27708, and
relative timeout 60000
Memory Free. d90d68
Timer....... Found timer c4d278 with callback 2dd34, context d8cab8, and
relative timeout 60000
Memory Free. 5efe10
Timer....... Found timer 5cf020 with callback 2dd34, context 27eea8, and
relative timeout 60000
Memory Free. d0f950
Timer....... Found timer b22ac8 with callback 2dd34, context d0eea0, and
relative timeout 60000
Memory Free. 1070d0
Timer....... Found timer b8d718 with callback 2dd34, context 1020a8, and
relative timeout 60000
Memory Free. a23950
Timer....... Found timer 64b700 with callback 2dd34, context a23278, and
relative timeout 60000
Memory Free. b2a168
Timer....... Found timer 6c09f0 with callback 2dd34, context b277d0, and
relative timeout 60000
Memory Free. 7328d8
Timer....... Found timer 722080 with callback 2dd34, context 731d38, and
relative timeout 60000
Memory Free. 5cb9d8
Timer....... Found timer 507188 with callback 2dd34, context 58dfa0, and
relative timeout 60000
Memory Free. d4b368
Timer....... Found timer d49e78 with callback 2dd34, context 3c6870, and
relative timeout 60000
Memory Free. 3fef78
Timer....... Found timer 3f0440 with callback 2dd34, context 2d4a70, and
relative timeout 60000
HTTimer.c:201 Timer ffbef240 not found



-- 
Guy Ferran
e-mail: guy.ferran@ardentsoftware.fr
tel: (33) 01 30 84 77 77
fax: (33) 01 30 84 77 90

Received on Monday, 2 August 1999 06:25:39 UTC