#31987 [Asn]: hirokawa

From: Date: Sat, 19 Feb 2005 08:01:10 +0000
Subject: #31987 [Asn]: hirokawa
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74304@lists.php.net to get a copy of this message
ID: 31987 User updated by: hirokawa@php.net Reported By: hirokawa@php.net Status: Assigned Bug Type: mbstring related Operating System: Windows XP PRo SP2 PHP Version: 5CVS-2005-02-15 (dev) Assigned To: fujimoto New Comment: Here is a patch to solve this problem, I don't know if it has any side-effect. *** Zend/zend_language_scanner.l 13 Feb 2005 13:50:48 -0000 1.120 --- Zend/zend_language_scanner.l 19 Feb 2005 07:42:35 -0000 *************** *** 135,140 **** --- 135,144 ---- SCNG(script_org_size) = 0; SCNG(script_filtered) = NULL; SCNG(script_filtered_size) = 0; + SCNG(input_filter) = NULL; + SCNG(output_filter) = NULL; + SCNG(script_encoding) = NULL; + SCNG(internal_encoding) = NULL; #endif /* ZEND_MULTIBYTE */ } Previous Comments: ------------------------------------------------------------------------ [2005-02-15 16:05:12] hirokawa@php.net 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 this bug report at http://bugs.php.net/?id=31987&edit=1

« previous php.bugs (#74304) next »