#38393 [Opn]: Segmentation Fault when using curl_close in an object context
| From: | asubstitute at gmail dot com | Date: | Wed, 09 Aug 2006 12:08:56 +0000 |
| Subject: | #38393 [Opn]: Segmentation Fault when using curl_close in an object context | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100588@lists.php.net to get a copy of this message | ||
ID: 38393
User updated by: asubstitute at gmail dot com
Reported By: asubstitute at gmail dot com
Status: Open
Bug Type: cURL related
Operating System: RHEL4
PHP Version: 5.1.4
New Comment:
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]#
Previous Comments:
------------------------------------------------------------------------
[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]#
------------------------------------------------------------------------
[2006-08-09 11:13:35] asubstitute at gmail dot com
When compiling. (WITH mysql) but I had just upgraded OpenSSL to 0.9b
(from0.7a).
Going to try without myself now.
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)(.text+0x224): In function
`CRYPTO_lock':
: multiple definition of `CRYPTO_lock'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o)(.text+0x54):/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/taocrypt/src/misc.cpp:33:
first defined here
/usr/bin/ld: Warning: size of symbol `CRYPTO_lock' changed from 7 in
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o) to 283 in
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)(.text+0x340): In function
`CRYPTO_add_lock':
: multiple definition of `CRYPTO_add_lock'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o)(.text+0x5c):/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/taocrypt/src/misc.cpp:34:
first defined here
/usr/bin/ld: Warning: size of symbol `CRYPTO_add_lock' changed from 7
in /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o) to 98 in
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)
/usr/local/ssl/lib/libcrypto.a(bn_lib.o)(.text+0xc08): In function
`BN_bin2bn':
: multiple definition of `BN_bin2bn'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.text+0x1d3c):/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/src/ssl.cpp:757:
first defined here
/usr/bin/ld: Warning: size of symbol `BN_bin2bn' changed from 178 in
/usr/lib/mysql/libmysqlclient.a(ssl.o) to 447 in
/usr/local/ssl/lib/libcrypto.a(bn_lib.o)
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
real 3m41.666s
user 2m55.375s
sys 0m48.024s
[root@86335-app6 php-5.1.4]#
------------------------------------------------------------------------
[2006-08-09 10:56:49] tony2001@php.net
Does it work if you build it without MySQL support?
------------------------------------------------------------------------
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