#38393 [Opn->Fbk]: Segmentation Fault when using curl_close in an object context
| From: | tony2001@php.net | Date: | Wed, 09 Aug 2006 21:30:07 +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-100615@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:
I'd appreaciate if you try this:
1) install Mysql 5.0.13;
or
2) build any MySQL version > 5.0.13 from sources.
And then rebuild PHP with --with-mysql.
If this would work for you, then the cause is clearly in MySQL. See
http://bugs.mysql.com/bug.php?id=19817.
Previous Comments:
------------------------------------------------------------------------
[2006-08-09 21:01:06] asubstitute at gmail dot com
I updated:
* MySQL-devel package
* OpenSSL
* libcurl
Compiled with --with-mysql and not with --open-ssl.
Install worked.
Https worked with curl. THe cause of this bug is still TBD.
------------------------------------------------------------------------
[2006-08-09 12:11:01] tony2001@php.net
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.
------------------------------------------------------------------------
[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)
------------------------------------------------------------------------
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