#40474 [Opn->Csd]: Segmentation fault during install-pear-installer
| From: | tony2001@php.net | Date: | Wed, 07 Mar 2007 18:42:21 +0000 |
| Subject: | #40474 [Opn->Csd]: Segmentation fault during install-pear-installer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110069@lists.php.net to get a copy of this message | ||
ID: 40474
Updated by: tony2001@php.net
Reported By: zesigur at free dot fr
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Redhat 7.3 (2.4.29)
PHP Version: 5.2.1
New Comment:
Great news, thanks.
Previous Comments:
------------------------------------------------------------------------
[2007-03-07 18:32:53] zesigur at free dot fr
It's OK with this snapshot! ;)
Thank you very much
------------------------------------------------------------------------
[2007-03-06 12:06:25] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-02-14 17:19:33] zesigur at free dot fr
I've deleted the directory and rerun that :
root : h195-114 - /var/tmp/apache_1.3.34/php5.2-200702141130> rm -rf
/usr/local/lib/php
root : h195-114 - /var/tmp/apache_1.3.34/php5.2-200702141130>
USE_ZEND_ALLOC=0 valgrind --tool=memcheck ./sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir=
-derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0
pear/install-pear-nozlib.phar -d "/usr/local/lib/php" -b
"/usr/local/bin"
==23326== Memcheck, a memory error detector.
==23326== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et
al.
==23326== Using LibVEX rev 1732, a library for dynamic binary
translation.
==23326== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==23326== Using valgrind-3.2.3, a dynamic binary instrumentation
framework.
==23326== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et
al.
==23326== For more details, rerun with: -v
==23326==
Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 720
Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 720
Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 740
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 1207
Notice: Undefined variable: ret in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 1269
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 1207
Notice: Undefined variable: ret in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 1269
Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 757
Warning: array_merge(): Argument #2 is not an array in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 766
Notice: Undefined index: pearinstaller in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 777
Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 720
Warning: Invalid argument supplied for foreach() in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 1207
Notice: Undefined variable: ret in
phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on
line 1269
Warning: fopen(/usr/local/lib/php/.depdb): failed to open stream: No
such file or directory in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 510
Warning: fopen(/usr/local/lib/php/.depdb): failed to open stream: No
such file or directory in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 510
Fatal error: Cannot use object of type PEAR_Error as array in
phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 198
==23326==
==23326== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 65 from
2)
==23326== malloc/free: in use at exit: 63,249 bytes in 502 blocks.
==23326== malloc/free: 250,636 allocs, 250,134 frees, 40,886,451 bytes
allocated.
==23326== For counts of detected errors, rerun with: -v
==23326== searching for pointers to 502 not-freed blocks.
==23326== checked 2,048,056 bytes.
==23326==
==23326== LEAK SUMMARY:
==23326== definitely lost: 57,087 bytes in 338 blocks.
==23326== possibly lost: 0 bytes in 0 blocks.
==23326== still reachable: 6,162 bytes in 164 blocks.
==23326== suppressed: 0 bytes in 0 blocks.
==23326== Rerun with --leak-check=full to see details of leaked memory.
------------------------------------------------------------------------
[2007-02-14 17:03:15] tony2001@php.net
Well, no idea about the "correct" way, but I guess `rm -rf
/usr/local/lib/php` will do.
------------------------------------------------------------------------
[2007-02-14 17:01:10] zesigur at free dot fr
Can you tell me how to uninstall pear properly?
------------------------------------------------------------------------
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/40474
--
Edit this bug report at http://bugs.php.net/?id=40474&edit=1