Bug #63528 [NEW]: Generators crash on Zend\tests\generators\clone_with_stack.phpt

From: Date: Thu, 15 Nov 2012 14:35:20 +0000
Subject: Bug #63528 [NEW]: Generators crash on Zend\tests\generators\clone_with_stack.phpt
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174720@lists.php.net to get a copy of this message
From:             ab
Operating system: Windows
PHP version:      5.5Git-2012-11-15 (Git)
Package:          *General Issues
Bug Type:         Bug
Bug description:Generators crash on Zend\tests\generators\clone_with_stack.phpt

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 bug report at https://bugs.php.net/bug.php?id=63528&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=63528&r=trysnapshot54
Try a snapshot (PHP 5.3):   https://bugs.php.net/fix.php?id=63528&r=trysnapshot53
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=63528&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63528&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63528&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63528&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63528&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63528&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63528&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63528&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=63528&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=63528&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63528&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63528&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63528&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63528&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63528&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63528&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63528&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63528&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#174720) next »