Edit report at https://bugs.php.net/bug.php?id=63528&edit=1
ID: 63528 Comment by: a...@php.net Reported by: a...@php.net Summary: Generators crash on Zend\tests\generators\clone_with_stack.phpt Status: Open Type: Bug Package: *General Issues Operating System: Windows PHP Version: 5.5Git-2012-11-15 (Git) Block user comment: N Private report: N New Comment: Btw. there are no valgrind complains on Linux for this test. Previous Comments: ------------------------------------------------------------------------ [2012-11-15 14:35:20] a...@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