#38393 [Opn->Fbk]: Segmentation Fault when using curl_close in an object context
| From: | tony2001@php.net | Date: | Wed, 09 Aug 2006 12:11:02 +0000 |
| Subject: | #38393 [Opn->Fbk]: Segmentation Fault when using curl_close in an object context | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100590@lists.php.net to get a copy of this message | ||
ID: 38393
Updated by: tony2001@php.net
Reported By: asubstitute at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: cURL related
Operating System: RHEL4
PHP Version: 5.1.4
New Comment:
Yes, please try 5.2 snapshot without MySQL.
MySQL has recently replaced OpenSSL with YaSSL in their binary builds
and I suspect this is the reason of the issue you're facing.
Previous Comments:
------------------------------------------------------------------------
[2006-08-09 12:09:36] asubstitute at gmail dot com
Without --with-mysql and --with-openssl, the script works fine (with
https)
------------------------------------------------------------------------
[2006-08-09 12:08:56] asubstitute at gmail dot com
With MySQL (note that compilng without mysql is a total no no for
production)
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
--07:06:56-- http://pear.php.net/install-pear-nozlib.phar
=> `pear/install-pear-nozlib.phar'
Resolving pear.php.net... 216.92.131.66
Connecting to pear.php.net|216.92.131.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,167,908 (3.0M) [text/plain]
100%[====================================>] 3,167,908 84.98K/s
ETA 00:00
07:07:31 (88.43 KB/s) - `pear/install-pear-nozlib.phar' saved
[3167908/3167908]
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
[root@86335-app6 php5.2-200608091030]#
------------------------------------------------------------------------
[2006-08-09 11:59:21] asubstitute at gmail dot com
Ah no, these have been the 5.1.4 tarball...
Ill try 5.2 WITH MySQL and WITHOUT as it seems to be the thing which
causes the segfault on installing (without mysql installs fine, with
fails)
------------------------------------------------------------------------
[2006-08-09 11:47:07] tony2001@php.net
You're using the latest snapshot, right?
------------------------------------------------------------------------
[2006-08-09 11:35:47] asubstitute at gmail dot com
Install now segfaults.
I have tried extracting the source again but got the same error.
$: php -v
Segmentation fault
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
[root@86335-app6 php-5.1.4]#
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38393
--
Edit this bug report at http://bugs.php.net/?id=38393&edit=1