Bug #15500 Updated: segfault on pear-get list
| From: | jan at horde dot org | Date: | Sun, 17 Feb 2002 16:58:54 +0000 |
| Subject: | Bug #15500 Updated: segfault on pear-get list | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4761@lists.php.net to get a copy of this message | ||
ID: 15500
Updated by: jan@horde.org
Reported By: jan@horde.org
Status: Closed
Bug Type: PEAR related
Operating System: Linux
PHP Version: 4.0CVS-2002-02-11
New Comment:
Hm, isn't pear-get meant to be used with remote (or installed) packages
opposed to pear? It seems that is just calls 'pear info', at least
that's what's the following message makes me guess:
pear info: tgz :: could not open file
Previous Comments:
------------------------------------------------------------------------
[2002-02-17 10:33:26] mj@php.net
This bug has been fixed in CVS.
------------------------------------------------------------------------
[2002-02-17 10:17:28] jan@horde.org
And I get the following error message if I try to run 'pear-get info
XXX' both with installed and uninstalled packages:
Fatal error: Cannot instantiate non-existent class: pear_common in
/usr/local/bin/pearcmd-info.php on line 3
/usr/local/bin/pearcmd-info.php(3) : Fatal error - Cannot instantiate
non-existent class: pear_common
------------------------------------------------------------------------
[2002-02-17 10:14:01] jan@horde.org
Yeah, that's fixed now, thanks!
Btw, I don't know if this is the intended behaviour, but I get debug
messages from the Zend engine to the console if I compiled php
--with-debug and run 'pear-get list'
------------------------------------------------------------------------
[2002-02-16 12:16:57] mj@php.net
Could you please try the latest version and report if the problem still
occurs?
------------------------------------------------------------------------
[2002-02-11 07:36:46] jan@horde.org
When calling pear-get list php segfaults with the following bt:
#0 0x403c8013 in memcpy () at ../sysdeps/generic/memcpy.c:64
#1 0x8083d13 in _mem_block_check (ptr=0x8305e44, silent=0,
__zend_filename=0x825bb68 "overload.c", __zend_lineno=606,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at
zend_alloc.c:667
#2 0x8083cce in _mem_block_check (ptr=0x8305e44, silent=1,
__zend_filename=0x825bb68 "overload.c", __zend_lineno=606,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at
zend_alloc.c:659
#3 0x80828fc in _efree (ptr=0x8305e44, __zend_filename=0x825bb68
"overload.c", __zend_lineno=606,
__zend_orig_filename=0x0, __zend_orig_lineno=0) at
zend_alloc.c:224
#4 0x81053c4 in overload_call_method (ht=2, return_value=0x83ba3b4,
this_ptr=0x83ba87c, return_value_used=1,
property_reference=0xbfffd958) at overload.c:606
#5 0x81b1adb in call_overloaded_function (T=0xbfffd94c, arg_count=2,
return_value=0x83ba3b4) at ./zend_execute.c:953
#6 0x81b53b8 in execute (op_array=0x837a244) at ./zend_execute.c:1660
#7 0x81b7185 in execute (op_array=0x83827a4) at ./zend_execute.c:2141
#8 0x8095874 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at zend.c:810
#9 0x80a6115 in php_execute_script (primary_file=0xbffff7d0) at
main.c:1330
#10 0x807b0cf in main (argc=4, argv=0xbffff854) at php_cli.c:556
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15500&edit=1