Bug #62313 [Com]: Zend\tests\errmsg_021.phpt fails
| From: | ab@php.net | Date: | Sun, 17 Jun 2012 14:37:08 +0000 |
| Subject: | Bug #62313 [Com]: Zend\tests\errmsg_021.phpt fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171320@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62313&edit=1
ID: 62313
Comment by: ab@php.net
Reported by: ab@php.net
Summary: Zend\tests\errmsg_021.phpt fails
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: windows
PHP Version: 5.4Git-2012-06-13 (snap)
Block user comment: N
Private report: N
New Comment:
Debugging the snapshot ra18cede the backtrace is incomplete:
php5.dll!ZEND_NEW_SPEC_HANDLER(_zend_execute_data * execute_data) Line 816 + 0xf bytes C
00000001()
php5.dll!52bd0c2f()
Custom compilation with PGO gives more:
php5ts.dll!ZEND_NEW_SPEC_HANDLER(_zend_execute_data * execute_data, void * * * tsrm_ls) Line 816 +
0x12 bytes C
php5ts.dll!execute(_zend_op_array * op_array, void * * * tsrm_ls) Line 410 + 0xb bytes C
php5ts.dll!zend_execute_scripts(int type, void * * * tsrm_ls, _zval_struct * * retval, int
file_count, ...) Line 1280 C
php5ts.dll!php_execute_script(_zend_file_handle * primary_file, void * * * tsrm_ls) Line 2473 +
0x12 bytes C
php.exe!do_cli(int argc, char * * argv, void * * * tsrm_ls) Line 989 C
php.exe!main(int argc, char * * argv) Line 1361 + 0x14 bytes C
php.exe!__tmainCRTStartup() Line 582 + 0x17 bytes C
kernel32.dll!7603ed6c()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77b7377b()
ntdll.dll!77b7374e()
Previous Comments:
------------------------------------------------------------------------
[2012-06-15 15:53:49] ab@php.net
the patch was updated to exlude zend_disable_class only from optimization
------------------------------------------------------------------------
[2012-06-15 15:52:55] ab@php.net
The following patch has been added/updated:
Patch Name: 62313.patch
Revision: 1339775574
URL: https://bugs.php.net/patch-display.php?bug=62313&patch=62313.patch&revision=1339775574
------------------------------------------------------------------------
[2012-06-15 10:38:28] pajoye@php.net
Disable optimization for the new handler is going to kill many perf improvements
in 5.4+.
I am sure the issue occurs later on, inside the error management or the ini
fetching code. But I cannot let this patch in as it is now, disabling optimization
for new is no-no :)
------------------------------------------------------------------------
[2012-06-15 09:39:27] ab@php.net
The fail seems to be caused only in builds using PGO, the patch disables it for the relevant place.
------------------------------------------------------------------------
[2012-06-15 09:38:28] ab@php.net
The following patch has been added/updated:
Patch Name: 62313.patch
Revision: 1339753108
URL: https://bugs.php.net/patch-display.php?bug=62313&patch=62313.patch&revision=1339753108
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62313
--
Edit this bug report at https://bugs.php.net/bug.php?id=62313&edit=1