From: [EMAIL PROTECTED]
Operating system: Windows XP PRo SP2
PHP version: 5CVS-2005-02-15 (dev)
PHP Bug Type: mbstring related
Bug description: phpinfo() crash PHP when --enable-zend-multibyte is enabled
on Win-XP
Description:
------------
When ZEND_MULTIBYTE option is defined on Windows XP Pro SP2,
and PHP is compiled as Apache 2 module,
PHP 5.0.x break up by phpinfo().
Here is backtrace by VC6++ for PHP 5.0.4dev,
zif_phpinfo()
-> php_print_info(-1 TSRMLS_CC);
-> zend_html_puts(zend_version,
strlen(zend_verison TSRMLS_CC)
-> (L66)
LANG_SCNG(output_filter)(&filtered,
&filtered_len, s, len TSRMLS_CC)
filtered = 0xcccccccc "";
&filtered = 0x04fcf54c
filtered_len = -858993460
s = "Zend Engine v2.1.0-dev,..."
len = 66
Reproduce code:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
php releated info.
Actual result:
--------------
PHP 5.0.4dev executed as Apache 2 module will crash.
--
Edit bug report at http://bugs.php.net/?id=31987&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31987&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31987&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31987&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31987&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31987&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31987&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31987&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31987&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31987&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31987&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31987&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31987&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31987&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31987&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31987&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31987&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31987&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31987&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31987&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31987&r=mysqlcfg