|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6656 Child segfault when executing CURL functions
Submitted: 2000-09-10 22:15 UTC Modified: 2000-10-28 23:19 UTC
From: rckstr42 at hotmail dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 4.0.2 OS: RedHat Linux 6.2, Kernel 2.2.16
Private report: No CVE-ID: None
 [2000-09-10 22:15 UTC] rckstr42 at hotmail dot com
Originally linked with cURL SSL 7.1

if it is linked with 7.2.1 apache crashes on startup, with:

Cannot load /etc/httpd/modules/ into server: /usr/lib/ undefined symbol: RAND_status

I have a simple script like this:

starting curl...<br>

	$ch=curl_init ("");
	$fp=fopen ("/tmp/curl_test.txt","w");

	curl_setopt($ch, CURLOPT_INFILE, $fp);
	curl_setopt($ch, CURLOPT_HEADER, 1);

curl completed<br>

I have PHP4 compiled with the following options:

--with-apxs=/usr/bin/apxs --with-mysql=/usr/local/mysql --with-curl=/usr --enable-sysvsem --enable-sysvshm --enable-versioning


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-25 07:05 UTC]
I forwarded your message to the author of curl, he had this to say:

"This sounds very much like it was built against an newer OpenSSL lib
than it is run with. The RAND_status function is a pretty newly added
function (OpenSSL 0.9.5 I believe).

Anyway, it is obviously a symbol problem and this *should* occur with the
normal 'curl' tool as well...

Get him to verify that he's using the same openssl lib for php that the
configure script in curl detects. RAND_status is known not to be present in
every openssl version and therefor the curl configure script checks for it
and the source uses it accordingly."

So is it so?
 [2000-09-25 07:07 UTC]
Sorry, this should have been feedback...
 [2000-10-28 23:19 UTC]
No feedback.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Mar 03 18:01:24 2021 UTC