cURL / Mailing Lists / curl-users / Single Mail

curl-users

apache+php402+curl crash

From: Antoine EMERIT <antoine.emerit_at_netlink.fr>
Date: Mon, 4 Sep 2000 19:46:46 +0200

Hi,

I have apache crash with the curl library on php module :

Modules/library :
-----------------

- apache 1.3.13
- php 4.0.2 (module using apache apxs)
- curl 7.2.1 (staticaly or dynamically link in php)

Build :
-------

php :

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-sybas
e=/opt/sybase/ --with-curl --enable-static
or
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-sybas
e=/opt/sybase/ --with-curl

Test :
------

I've tried with the last curl rpm package.
I've tried in compiling the last sources (no problem).

I've tried with php as a cgi -> it works.

But it crash with php as an apache module, with curl staticaly or dynamicaly
linked.

Apache start well and launch its child, but when is treats a request the
child craches :

[Mon Sep 4 19:15:48 2000] [notice] child pid 29694 exit signal Segmentation
fault (11), possible coredump in /usr/local/apache

Any idea ?

Regards
Received on 2000-09-04