From:             [EMAIL PROTECTED]
Operating system: Debian (2.4.5)
PHP version:      4.0.6
PHP Bug Type:     cURL related
Bug description:  curl_exec() kills script

Every script I have that uses cURL never makes it past the curl_exec()
line.  Apache just seems to die at that point.  Apache error log shows:

[Tue Jul 10 11:43:40 2001] [notice] child pid 27769 exit signal
Segmentation fault (11)
[Tue Jul 10 11:43:40 2001] [notice] child pid 27768 exit signal
Segmentation fault (11)

This is with PHP-4.0.6 Release, and cURL 7.8 final, on Debian (2.4.5-pre3).
 cURL is configured:

    configure --with-ssl

PHP is:

    ./configure \
    --with-mysql=/usr/local \
    --with-apxs=/usr/local/apache/bin/apxs \
    --enable-track-vars \
    --disable-magic-quotes \
    --disable-debug \
    --enable-ftp \
    --with-gettext \
    --with-xml \
    --with-dom \
    --enable-wddx \
    --with-curl \
    --with-pgsql \
    --with-zlib \
    --enable-versioning \
    --enable-sockets \
    --with-openssl \
    --with-snmp \

I was able to determine the following:

I have one script that cURL-posts to another URL on the same server, and
that script then cURL-posts to a URL outside.  In this case, the first
script dies.

I have another script that directly cURL-posts to the outside URL.  This
script works fine.

So it only seems to die if there are 2 cURL processes running on the same
server simultaneously (?).  This would explain the 2 segfaults in the
Apache log.

Let me know what other info I can give to help track down the problem.

- Colin
Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to