#38393 [NoF]: Segmentation Fault when using curl_close in an object context
| From: | darkelder@php.net | Date: | Sat, 30 Dec 2006 06:16:39 +0000 |
| Subject: | #38393 [NoF]: Segmentation Fault when using curl_close in an object context | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107031@lists.php.net to get a copy of this message | ||
ID: 38393
Updated by: darkelder@php.net
Reported By: asubstitute at gmail dot com
Status: No Feedback
Bug Type: cURL related
Operating System: RHEL4
PHP Version: 5.1.4
New Comment:
It is caused by mySQL version. I did tested with MySQL 5.0.27-0 and it
worked by CGI. As CLI it worked by at curl_close it gives segmentation
fault yet. I did not testes but at
http://bugs.mysql.com/bug.php?id=19817 they
told it is fixed in mySQL
CVS.
Previous Comments:
------------------------------------------------------------------------
[2006-08-17 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-08-09 21:30:07] tony2001@php.net
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.
------------------------------------------------------------------------
[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)
------------------------------------------------------------------------
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