W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

libwww crashes

From: Marc Necker <rusmarc@infotst2.rus.uni-stuttgart.de>
Date: Tue, 14 Dec 1999 17:16:01 +0100 (MEZ)
Message-Id: <199912141616.QAA13748@infotst2.rus.uni-stuttgart.de>
To: www-lib@w3.org
Hi!

I have severe trouble with libwww crashing with certain pages. My client
crashes with some pages when doing a GET. By debugging I found out that the
crash actually occurs within libwww. I tries the webbot, that comes with the
library, but this bot also crashes.

webbot -depth 2 -redir -prefix http://www http://www.uni-stuttgart.de:8888
[...]
Robot....... done with http://www.uni-stuttgart.de/organisation/daten/
             116 outstanding requests
Robot....... done with http://www.uni-stuttgart.de/organisation/rektoramt/
             115 outstanding requests
Robot....... done with http://www.uni-stuttgart.de/organisation/zentral/
             114 outstanding requests
Robot....... done with
http://www.uni-stuttgart.de/organisation/einrichtungen/
             113 outstanding requests
Robot....... Checking redirecting from
ttp://www.uni-stuttgart.de/stuttgart/stadtp'
Bus Error (core dumped)



Output of gdb is:

Program terminated with signal 10, Bus Error.
#0  0xef72cd9c in HTEventList_unregister (s=-1, type=HTEvent_READ) at
HTEvtLst.c:445
445         while (cur && (pres = (SockEvents *) HTList_nextObject(cur))) {
(gdb) where
#0  0xef72cd9c in HTEventList_unregister (s=-1, type=HTEvent_READ) at
HTEvtLst.c:445
#1  0xef483ea4 in HTEvent_unregister (s=-1, type=472) at HTEvent.c:51
#2  0xef487350 in HTHost_recoverPipe (host=0x33660) at HTHost.c:826
#3  0xef48c920 in HTNet_delete (net=0xc0178, status=200) at HTNet.c:911
#4  0xef5e9e9c in HTTPCleanup (req=0xc0058, status=200) at HTTP.c:168
#5  0xef5ec374 in HTTPEvent (soc=0, pVoid=0xbf3b8, type=HTEvent_READ) at
HTTP.c:1277
#6  0xef486100 in HostEvent (soc=3, pVoid=0x2af7c, type=HTEvent_READ)
    at HTHost.c:195
#7  0xef72c91c in EventOrder_executeAndDelete () at HTEvtLst.c:320
#8  0xef72d4b0 in HTEventList_loop (theRequest=0x0) at HTEvtLst.c:738
#9  0x1768c in main (argc=7, argv=0xeffffa24) at RobotMain.c:594


I am using SunOS 5.5.1 and gcc. Please, I spent a lot of time with searching
for errors, and I'd appreciate any suggestions!


-- 
Tschuess - Marc

-- RUS   : Necker@rus.uni-stuttgart.de
-- Privat: Marc@buster.apl.s.shuttle.de
Received on Tuesday, 14 December 1999 11:16:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT