Re: Bus error in LWP/Perl5
Hans de Graaff (J.J.deGraaff@twi.tudelft.nl)
Fri, 20 Oct 1995 11:06:26 +0100
Gisle Aas writes:
> > > > It also core dumps for me (SunOS4.1.4) and it seems to be in
> > > > pp_sselect() somewhere. Hans de Graaff once reported a bug
> > > > involving pp_sselect so I guess this is that same problem. I still
> > > > don't know what the problem is.
> > >
> > > Nope. I haven't had time to track this down any further. I just worked
> > > around the URL giving me the crash.
> >
> > I tried that. The list of URLs I included is part of a larger list
> > (5,500 or so). It didn't matter whether I deleted the URLs that caused
> > the crash, it seemed to be position dependent.
> >
> > I.e., after n URLs, where n is 17 (as far as I can tell) it dumps core.
>
> I manage to get a core dump with this url-list:
>
> http://alpha.mkn.co.uk/help/flower/info
> #http://anther.learning.cs.cmu.edu/priest.html
> http://artaids.dcs.qmw.ac.uk:8001/entrance/entrance.html
>
> There might be something strange that happens after we have visited
> "flower/info". Some more checking seems to indicate that any URL checked
> after "flower/info" will give a segmentation fault.
Yes. This is the pattern I also noted. Like Nik I figured that it had
to be the nth URL checked, but then I found out that the URL causing
the problem was actually the one before the crash. It probably leaves
the socket in some weird state?
The server I had problems with wasn't an HTTP/1.0 server.
Hans
--
Hans de Graaff J.J.deGraaff@TWI.TUDelft.NL
Delft University of Technology Department of Information Systems
----- <a href=http://is.twi.tudelft.nl/~graaff/>Hans de Graaff</a> ----