Bug #63528 [Com]: Generators crash on Zend\tests\generators\clone_with_stack.phpt
Edit report at https://bugs.php.net/bug.php?id=63528&edit=1
ID: 63528
Comment by: ab@php.net
Reported by: ab@php.net
Summary: Generators crash on
Zend\tests\generators\clone_with_stack.phpt
Status: Assigned
Type: Bug
Package: *General Issues
Operating System: Windows
PHP Version: 5.5Git-2012-11-15 (Git)
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
No, only the mentioned test fails for me. Newly tested with both TS and NTS snaps from Nov 22th http://windows.php.net/downloads/snaps/php-5.5/
. A way to repro your fails?
Previous Comments:
------------------------------------------------------------------------
[2012-11-21 12:04:07] nikic@php.net
Is this the only test that is failing for you?
I just played around with it on Windows and for me anything involving pushed stack arguments
crashes. E.g. the yield_during_function_call test.
------------------------------------------------------------------------
[2012-11-15 15:57:05] ab@php.net
Btw. there are no valgrind complains on Linux for this test.
------------------------------------------------------------------------
[2012-11-15 14:35:20] ab@php.net
Description:
------------
Both TS and NTS crash. On a debug build VS gives the following error:
Unhandled exception at 0x102D369E (php5ts_debug.dll) in php.exe: 0xC0000005: Access violation
reading location 0x5A5A5A56.
and the debugger stops in zend_execute.h:337 (second line in zend_vm_stack_clear_multiple()).
Here is the corresponding BT:
php5ts_debug.dll!zend_vm_stack_clear_multiple(void * * * tsrm_ls) Line 337 C
php5ts_debug.dll!zend_do_fcall_common_helper_SPEC(_zend_execute_data * execute_data, void * * *
tsrm_ls) Line 736 C
php5ts_debug.dll!ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER(_zend_execute_data * execute_data, void * * *
tsrm_ls) Line 879 C
php5ts_debug.dll!execute_ex(_zend_execute_data * execute_data, void * * * tsrm_ls) Line 436 C
php5ts_debug.dll!execute(_zend_op_array * op_array, void * * * tsrm_ls) Line 461 C
php5ts_debug.dll!zend_execute_scripts(int type, void * * * tsrm_ls, _zval_struct * * retval, int
file_count, ...) Line 1309 C
php5ts_debug.dll!php_execute_script(_zend_file_handle * primary_file, void * * * tsrm_ls) Line
2468 C
php.exe!do_cli(int argc, char * * argv, void * * * tsrm_ls) Line 988 C
php.exe!main(int argc, char * * argv) Line 1364 C
php.exe!__tmainCRTStartup() Line 582 C
php.exe!mainCRTStartup() Line 399 C
kernel32.dll!76971866() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!770668f1() Unknown
ntdll.dll!7706689d() Unknown
Test script:
---------------
Zend\tests\generators\clone_with_stack.phpt
Expected result:
----------------
Test diff:
001+
001- string(10) "xxxxxxxxxx"
Actual result:
--------------
test pass
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63528&edit=1
Thread (7 messages)