#35147 [Fbk->Ctl]: __HALT_COMPILER() breaks with --enable-zend-multibyte
| From: | dmitry@php.net | Date: | Wed, 09 Nov 2005 13:13:24 +0000 |
| Subject: | #35147 [Fbk->Ctl]: __HALT_COMPILER() breaks with --enable-zend-multibyte | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87936@lists.php.net to get a copy of this message | ||
ID: 35147
Updated by: dmitry@php.net
Reported By: cellog@php.net
-Status: Feedback
+Status: Critical
Bug Type: Scripting Engine problem
Operating System: *
PHP Version: 5CVS-2005-11-08 (CVS)
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2005-11-09 09:41:03] tony2001@php.net
Would be good to have a short reproduce script, as I can't see any
problems here.
------------------------------------------------------------------------
[2005-11-08 23:38:57] sniper@php.net
Making this critical, it really needs to be dealt with before 5.1 is
released.
------------------------------------------------------------------------
[2005-11-08 05:11:21] cellog@php.net
more details:
"make install-pear" uses install-pear-nozlib.phar, which uses
__HALT_COMPILER__ to prevent parsing of the rest of the file, as this
would result in redeclaration of class fatal errors (it contains
internal .tars for the PEAR package, but uses its own PEAR to install
these .tars).
When stepping through the invocation make install-pear does
(sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0
-derror_reporting=E_ALL pear/install-pear-nozlib.phar -d
"/usr/local/lib/php" -b "/usr/local/bin") in gdb, it appears that
zend_language_parser goes straight to an abort after the first return
from the language_scanner, as if the scanner was unable to find any
tokens.
I was unable to run through valgrind, all available memory was used up
and the process was killed before any leaks were displayed.
------------------------------------------------------------------------
[2005-11-08 03:04:14] cellog@php.net
Description:
------------
if --enable-zend-multibyte, __HALT_COMPILER__ fails, no output
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35147&edit=1