cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: core dump on long 1-line page

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 May 2002 09:58:17 +0200 (MET DST)

On Thu, 9 May 2002, Roger Collins wrote:

> I've come across one page that causes a core dump everytime using the
> latest versions of PHP and curl. The HTML is all on a single line (without
> even a newline at the end of it) with many carriage returns by themselves.
>
> The page downloads fine using curl from the command line.

It certainly indicates a problem in the PHP binding.

Would you be capable of getting a stack trace from the core to see exactly
where it went kaboom?

> I was reproducing this problem on both Linux and FreeBSD, but when I
> upgraded to the latest PHP (4.1.2), the problem went away on Linux (RH 7.0)
> but not FreeBSD (4.4), which is my more important web hosting server.
>
> I'll be glad to send you a URL and some code if anyone wants to look into
> it.

Please do. I can't promise that *I* can do anything about it, but additional
information will help whoever that looks into this.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-10