ID: 46369
Updated by: [EMAIL PROTECTED]
Reported By: pcdinh at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP SP3
PHP Version: 5.3CVS-2008-10-22 (CVS)
New Comment:
Please, disable Xdebug and try again.
Previous Comments:
------------------------------------------------------------------------
[2008-10-22 20:01:23] pcdinh at gmail dot com
Description:
------------
var_dump() calls on an array returned by a method or function can cause
Apache 2.2.9 crashed and restarted immediately
Reproduce code:
---------------
<?php
function getArray()
{
return array(1, 2, 3);
}
var_dump(getArray());
?>
Expected result:
----------------
var_dump() should print out string representation of the array. Apache
2.2.x work as usual: no crash, no restart.
Actual result:
--------------
Report for
httpd__PID__5048__Date__10_23_2008__Time_02_52_51AM__593__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed Crash Analysis
Machine Name G33K
Operating System Windows XP Service Pack 3
Number Of Processors 2
Process ID 5048
Process Image C:\server\Apache2.2\bin\httpd.exe
System Up-Time 06:05:13
Process Up-Time 00:12:29
Thread 209 - System ID 4780
Entry point msvcrt!_endthreadex+3a
Create time 10/23/2008 2:40:23 AM
Time spent in user mode 0 Days 0:0:0.15
Time spent in kernel mode 0 Days 0:0:0.0
Function Arg 1 Arg 2 Arg 3 Source
0x00000004 0809e38c 012380f0 00000001
php5ts!zend_hash_apply_with_arguments+8a 0809daf0 012380f0
00000004
php_xdebug_2_0_3_5_3_0!xdebug_init_oparray+f98c 075cfa78
075cfa64 00000001
php_xdebug_2_0_3_5_3_0!xdebug_init_oparray+ff27 00000000
0809fad8 075cfa9c
php_xdebug_2_0_3_5_3_0!get_module+578f 00000001 0809e410
00000000
php5ts!execute_internal+53 080d0070 00000000 03d63f90
php_xdebug_2_0_3_5_3_0!get_module+36cc 080d0070 00000000
00000000
php5ts!execute+a84 03d84350 0809fa48 00000001
php5ts!zend_hash_quick_find+6c 03d63f90 080d0070 0809e1f8
php5ts!execute+5d20 00000000 00000000 080d0070
php5ts!execute+327 0809db20 03d63f90 03d5dfd0
php_xdebug_2_0_3_5_3_0!get_module+283c 0809db20 03d63f90
7e4277b0
php5ts!zend_execute_scripts+152 00000000 00000000 00000000
WARNING - DebugDiag was not able to locate debug symbols for
C:\server\Apache2.2\bin\php5ts.dll, so the information below may be
incomplete.
In
httpd__PID__5048__Date__10_23_2008__Time_02_52_51AM__593__Second_Chance_Exception_C0000005.dmp
the module C:\server\Apache2.2\bin\php5ts.dll has caused an access
violation exception (0xC0000005) when trying to read from memory
location 0x00000004 on thread 209
Module Information
Image Name: C:\server\Apache2.2\bin\php5ts.dll Symbol Type: Export
Base address: 0x00780000 Time Stamp: Fri Oct 17 16:41:11 2008
Checksum: 0x00000000 Comments:
COM DLL: False Company Name: The PHP Group
ISAPIExtension: False File Description: PHP Script Interpreter
ISAPIFilter: False File Version: 5.3.0alpha3-dev
Managed DLL: False Internal Name: PHP Script Interpreter
VB DLL: False Legal Copyright: Copyright © 1997-2008 The PHP Group
Loaded Image Name: php5ts.dll Legal Trademarks: PHP
Mapped Image Name: C:\server\Apache2.2\bin\php5ts.dll Original
filename: php5ts.dll
Module name: php5ts Private Build:
Single Threaded: False Product Name: PHP
Module Size: 6.17 MBytes Product Version: 5.3.0alpha3-dev
Symbol File Name: php5ts.dll Special Build: &
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46369&edit=1