ID:               38837
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Solaris 9
 PHP Version:      5.2.0RC4
 New Comment:

It was a completely clean download from
http://downloads.php.net/ilia/php-5.2.0RC4.tar.bz2 (ilias mail)
compiled with:

./configure --prefix=/pangaea/gnu --enable-cli
--with-nsapi=/pangaea/webserver61 --with-sybase-ct=/opt/csw
--with-mysql=/opt/csw/mysql4 --enable-ftp --enable-versioning
--enable-session --enable-trans-sid --with-zlib=/opt/csw
--enable-mbstring=all --with-openssl=/opt/csw --with-gd
--with-png-dir=/opt/csw --with-jpeg-dir=/opt/csw --with-ttf=/opt/csw
--with-libxml-dir=/opt/csw --with-iconv=/opt/csw
--with-iconv-dir=/opt/csw --with-xsl=/opt/csw --enable-soap
--without-sqlite --enable-exif --with-curl=/opt/csw
--with-pdo-mysql=/opt/csw/mysql4 --with-xmlrpc --without-pdo-sqlite
--with-pdo-dblib=/opt/csw --with-tidy=/opt/csw --enable-zip

After installation I tried a "pear upgrade-all" which failed with the
given SIGBUS. After that I tried a manual upgrade with "pear upgrade
mail" that worked.

[EMAIL PROTECTED]:~$ pear list
Installed packages, channel pear.php.net:
=========================================
Package              Version State
Archive_Tar          1.3.1   stable
Console_Getopt       1.2     stable
DB                   1.7.6   stable
HTML_Template_IT     1.2.1   stable
Mail                 1.1.13  stable
Net_SMTP             1.2.8   stable
Net_Socket           1.0.6   stable
Net_UserAgent_Detect 2.2.0   stable
PEAR                 1.4.11  stable
PHPUnit              1.3.2   stable
PHP_Compat           1.5.0   stable
XML_Parser           1.2.7   stable
XML_RPC              1.5.0   stable
[EMAIL PROTECTED]:~$


Previous Comments:
------------------------------------------------------------------------

[2006-09-15 14:23:22] [EMAIL PROTECTED]

I can't reproduce it so far on Solaris 2.8.
Please make sure you've updated Zend/ folder from CVS.
If you're still able to replicate it - please tell me which PEAR
packages are installed in your system (i.e. `pear list`).


------------------------------------------------------------------------

[2006-09-15 08:49:49] [EMAIL PROTECTED]

Description:
------------
After installing PHP 5.2.0RC4 I started pear upgrade-all to update my
PEAR packages, but this crashes after "Will upgrade mail" with SIGBUS.
The backtrace shows that something in parsing a URL fails (parse_url
crashes)

Interesting is that upgrading "mail" with "pear upgrade mail" works and
after that no BUS error happens anymore (because no more packages needed
an upgrade).

PHP is compiled with ZTS, because webserver plugin is multithreaded, so
CLI is also multithread-enabled.

Reproduce code:
---------------
# pear upgrade-all
Will upgrade mail
Bus Error (core dumped)


Actual result:
--------------
(gdb) bt
#0  _zend_mm_alloc_int (heap=0x5c7a88, size=6) at
/pangaea/install/php-5.2.0RC4/Zend/zend_alloc.c:1090
#1  0x002a2ef0 in _estrndup (s=0x6 <Address 0x6 out of bounds>,
length=5)
    at /pangaea/install/php-5.2.0RC4/Zend/zend_alloc.c:1761
#2  0x002c2a88 in add_assoc_string_ex (arg=0xc08198, key=0x508a08
"scheme", key_len=7, str=0x8f6860 "/mail", 
    duplicate=1) at /pangaea/install/php-5.2.0RC4/Zend/zend_API.c:1030
#3  0x00220ac4 in zif_parse_url (ht=12613968, return_value=0xc08198,
return_value_ptr=0x0, this_ptr=0x0, 
    return_value_used=1, tsrm_ls=0x5c4f80) at
/pangaea/install/php-5.2.0RC4/ext/standard/url.c:389
#4  0x002e0f3c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbf6338, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:200
#5  0x002e0618 in execute (op_array=0x862338, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#6  0x002e093c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbf72a8, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:234
#7  0x002e0618 in execute (op_array=0xb69128, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#8  0x002e093c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbf7e90, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:234
#9  0x002e0618 in execute (op_array=0xbb8f30, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#10 0x002e093c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbf9ca0, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:234
#11 0x002e0618 in execute (op_array=0xa13118, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#12 0x002e093c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbfc898, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:234
#13 0x002e0618 in execute (op_array=0x95c468, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#14 0x002e093c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbfcd08, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:234
#15 0x002e0618 in execute (op_array=0x961bc8, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#16 0x002e093c in zend_do_fcall_common_helper_SPEC
(execute_data=0xffbff348, tsrm_ls=0x5c4f80)
    at zend_vm_execute.h:234
#17 0x002e0618 in execute (op_array=0x5db848, tsrm_ls=0x5c4f80) at
zend_vm_execute.h:92
#18 0x002c0ecc in zend_execute_scripts (type=8, tsrm_ls=0x5c4f80,
retval=0x0, file_count=3)
    at /pangaea/install/php-5.2.0RC4/Zend/zend.c:1096
#19 0x00273d84 in php_execute_script (primary_file=0xffbffbc8,
tsrm_ls=0x5c4f80)
    at /pangaea/install/php-5.2.0RC4/main/main.c:1759
#20 0x0034a3e4 in main (argc=13, argv=0xffbffc64) at
/pangaea/install/php-5.2.0RC4/sapi/cli/php_cli.c:1102



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38837&edit=1

Reply via email to