From:
Operating system: Win 7 x64
PHP version: 5.3SVN-2010-07-02 (SVN)
Package: Reproducible crash
Bug Type: Bug
Bug description:GC crash on updating property of nonobject
Description:
------------
> php5ts_debug.dll!zval_addref_p(_zval_struct * pz=0x034e1b73) Line 381 +
0x3 bytes C
php5ts_debug.dll!zend_fetch_property_address(_temp_variable *
result=0x028e3778, _zval_struct * * container_ptr=0x3d767c8c, _zval_struct
* prop_ptr=0x3d529e48, int type=1, void * * * tsrm_ls=0x024c1b18) Line
1150 + 0x18 bytes C
php5ts_debug.dll!ZEND_FETCH_OBJ_W_SPEC_VAR_CONST_HANDLER(_zend_execute_data
* execute_data=0x028e3070, void * * * tsrm_ls=0x024c1b18) Line 10092 +
0x20 bytes C
php5ts_debug.dll!execute(_zend_op_array * op_array=0x03161028, void * *
*
tsrm_ls=0x024c1b18) Line 107 + 0x11 bytes C
php5ts_debug.dll!zend_execute_scripts(int type=8, void * * *
tsrm_ls=0x024c1b18, _zval_struct * * retval=0x00000000, int file_count=3,
...) Line 1194 + 0x21 bytes C
php5ts_debug.dll!php_execute_script(_zend_file_handle *
primary_file=0x00c1fed8, void * * * tsrm_ls=0x024c1b18) Line 2260 + 0x1b
bytes C
php.exe!main(int argc=2, char * * argv=0x024c3f38) Line 1192 + 0x13
bytes C
php.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C
php.exe!mainCRTStartup() Line 403 C
kernel32.dll!763c3677()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
ntdll.dll!76f39d72()
ntdll.dll!76f39d45()
Test script:
---------------
while (1)
{
$data = 'test';
parse_str($data,$data->info);
}
Expected result:
----------------
should throw Warning: Attempt to modify property of non-object
Actual result:
--------------
crash
--
Edit bug report at http://bugs.php.net/bug.php?id=52237&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52237&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52237&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52237&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52237&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52237&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52237&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52237&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52237&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52237&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52237&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52237&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52237&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52237&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52237&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52237&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52237&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52237&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52237&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52237&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52237&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52237&r=mysqlcfg