View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000951 | Xdebug | Uncategorized | public | 2013-06-19 12:35 | 2016-11-29 10:48 |
| Reporter | gamesh | Assigned To | derick | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | resolved | Resolution | unable to reproduce | ||
| Platform | PHP 5.2.17 | OS | Windows x64 | OS Version | Server 2008 R2 |
| Product Version | 2.1.3 | ||||
| Summary | 0000951: when extension is loaded IIS crashed most of the time with 500 http code Error 0xC0000005 | ||||
| Description | Tried with most recent version 2.2.3, also with 2.1.4 result is the same. | ||||
| Steps To Reproduce | Just load xdebug extension and hit reload page multiple times and error appears. | ||||
| Additional Information | xdebug cofniguration: PHP Version 5.2.17 VC9 | ||||
| Tags | iis, windows | ||||
| Attached Files | 6Thread3952.htm (17,887 bytes)
<link rel=STYLESHEET type=text/css href=res/default.css title=default>
<!-- Begin Analysis Summary Section -->
<table border=0 cellpadding=0 cellspacing=0 class=mycustomContainer>
<tr>
<td valign=top width=50% style=padding-left:5px; padding-right:5px;>
<table border=0 cellpadding=2 cellspacing=2 class=mycustomTable>
<tr class=mycustomHeader>
<td>
<table border=0 cellpadding=2 cellspacing=0 bgcolor=#818181>
<tr>
<td><img id=Icon_Results src=res/bulletpoint.gif></td>
</tr>
</table>
</td>
<td width=100% style=padding-left:5px;> Analysis Summary </td>
</tr>
<tr id=Table_Results>
<td width=15 class=mycustomText> </td>
<td class=row>
<table border=1 class=mycustomTable>
<tr class=mycustomText>
<th>Type</th>
<th>Description</th>
<th>Recommendation</th>
</tr>
<tr><td class=mycustomText align=center valign=middle nowrap><img border=0 src=res/error.png width=16 height=16> Error</td><td class=mycustomText><b>WARNING</b> - DebugDiag was not able to locate debug symbols for <b>ntdll.dll</b>, so the information below may be incomplete.<br><br>In php-cgi__PID__3856__Date__06_19_2013__Time_03_22_37PM__172__Second_Chance_Exception_C0000005.dmp the assembly instruction at <b>ntdll!RtlInitUnicodeString+196</b> in <b>C:\Windows\SysWOW64\ntdll.dll</b> from <b>Microsoft Corporation</b> has caused an <b>access violation exception (0xC0000005)</b> when trying to <b>read from</b></b> memory location <b>0x03950d6c</b> on thread <a href='#3856:6Thread3952'><b>0</b></a><br></td><td class=mycustomText>Please follow up with the vendor <b>Microsoft Corporation</b> for <b>C:\Windows\SysWOW64\ntdll.dll</b><br></td></tr>
<tr><td class=mycustomText align=center valign=middle nowrap><img border=0 src=res/information.png width=16 height=16> Information</td><td class=mycustomText>DebugDiag determined that this dump file (php-cgi__PID__3856__Date__06_19_2013__Time_03_22_37PM__172__Second_Chance_Exception_C0000005.dmp) is a crash dump and did not perform any hang analysis. If you wish to enable <b>combined crash and hang analysis</b> for crash dumps, edit the Globals.asp script (located in the DebugDiag\Scripts\inc folder) and set the <b>g_DoCombinedAnalysis</b> constant to <font color='Red'><b>True</b></font>.</td><td class=mycustomText> </td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- End Analysis Summary Section -->
<br>
<!-- Begin Analysis Details Section -->
<table border=0 cellpadding=0 cellspacing=0 class=mycustomContainer>
<tr>
<td valign=top width=50% style=padding-left:5px; padding-right:5px;>
<table border=0 cellpadding=2 cellspacing=2 class=mycustomTable>
<tr class=mycustomHeader>
<td>
<table border=0 cellpadding=2 cellspacing=0 bgcolor=#818181>
<tr>
<td><img id=Icon_Data src=res/bulletpoint.gif></td>
</tr>
</table>
</td>
<td width=100% style=padding-left:5px;> Analysis Details </td>
</tr>
<tr id=Table_Data>
<td width=15 class=mycustomText> </td>
<td class=row>
<b><a onclick='javascript:doToggle();return false;' id=':ScriptOff-t' class='ToggleStartCollapsed'
style='cursor: hand;'></a></b>
<br><div id=':ScriptOff-s' style='DISPLAY: block'><br>
<table border=0 cellpadding=0 cellspacing=0 class=myCustomText width='100%'>
<tr>
<td width='20px' />
<td>
<table cellpadding=5 cellspacing=0 class=myCustomText>
<tr>
<td>
<img src='res/information.png'>
</td>
<td>
<font color='red'><b>Your browser settings are currently prohibiting this report's scripts
from running. </b>
</font>
<br>
This is preventing some features of this analysis report from displaying properly.
To enable scripts to run, right-click the security warning above and choose "Allow
Blocked Content..." or enable the <font color='blue'><b>"Allow active content to run
in files on My Computer*"</b></font> setting on the Advanced tab of your "Internet
Options" dialog to avoid being prompted in the future
</td>
</tr>
</table>
<br>
<br>
</td>
</tr>
</table>
</div>
</P>
<P> </P>
<script for=window event=onload language='JavaScript'>
// initially collapse all 'ToggleStartCollapsed' sections
for(i=0; i < document.anchors.length; i++)
{
var elem = document.anchors[i];
if (elem.className.toUpperCase() == "TOGGLESTARTCOLLAPSED")
doToggle2(elem);
}
// invoke any additional togglers
var togglers = (new VBArray(g_Togglers.Items())).toArray();
for (i in togglers)
window.execScript(togglers[i] + '();', 'JScript');
</script>
<script language="JavaScript">
var g_Togglers = new ActiveXObject("Scripting.Dictionary");
function AddToggler(togglerFunctionName)
{
g_Togglers.Add(togglerFunctionName, togglerFunctionName);
}
function doToggle()
{
var srcElement = window.event.srcElement;
doToggle2(srcElement);
}
function doToggle2(srcElement)
{
doToggle3(srcElement, false);
}
function doToggle3(srcElement, expandOnly)
{
var img, a, div, base
if(srcElement == null)
return;
if (srcElement.className.substr(0, 6).toUpperCase() == "TOGGLE")
{
try
{
base = srcElement.id.substr(0, srcElement.id.length - 1);
a = document.all(base + "t");
img = document.all(base + "i");
div = document.all(base + "s");
if (div != null)
{
if (div.style.display == "none")
{
div.style.display = "block";
if (img != null)
{
img.src = "res/up.png";
}
}
else if(expandOnly == false)
{
div.style.display = "none";
if (img != null)
{
img.src = "res/down.png";
}
}
}
}
catch(Ex){}
}
}
</script>
<h4>Table Of Contents</h4><a href='#Dump3856:6-t'><b>php-cgi__PID__3856__Date__06_19_2013__Time_03_22_37PM__172__Second_Chance_Exception_C0000005.dmp</b></a><br> <a href='#3856:6Thread3952'><b>Faulting Thread</b></a><br> <a href='#3856:6Module'><b>Faulting Module Information</b></a><br><br><b><a onclick='javascript:doToggle();return false;' id='CrashHangAnalysis:3856:6-t' class='ToggleStartExpanded' style='cursor:hand; '><IMG class='ToggleStartExpanded' align='bottom' src='res/up.png' id='CrashHangAnalysis:3856:6-i'> Report for php-cgi__PID__3856__Date__06_19_2013__Time_03_22_37PM__172__Second_Chance_Exception_C0000005.dmp</a></b><br><div id='CrashHangAnalysis:3856:6-s' style='DISPLAY: block'><br>
<table border=0 cellpadding=0 cellspacing=0 class=myCustomText width='100%'><tr><td width='20px'/><td><h1>Report for php-cgi__PID__3856__Date__06_19_2013__Time_03_22_37PM__172__Second_Chance_Exception_C0000005.dmp</h1>
<table cellpadding=0 cellspacing=0 border=0 class=myCustomText ID="Table1">
<tr><td>Type of Analysis Performed</td><td> <b>Crash Analysis</b></td></tr>
<tr><td>Machine Name</td><td> <b>SRVITUVSTEST</b></td></tr>
<tr><td>Operating System</td><td> <b>Windows Server 2008 R2 Service Pack 1</b></td></tr>
<tr><td>Number Of Processors</td><td> <b>2</b></td></tr>
<tr><td>Process ID</td><td> <b>3856</b></td></tr>
<tr><td>Process Image</td><td> <b>C:\php\php-cgi.exe</b></td></tr>
<tr><td>System Up-Time</td><td> <b>21 day(s) 06:11:40</b></td></tr>
<tr><td>Process Up-Time</td><td> <b>00:00:06</b></td></tr>
</table>
<p class="myCustomText">
<h4><a name='3856:6Thread3952'>Thread 0 - System ID 3952</a></h4>
<table border=0 cellpadding=0 cellspacing=0 class=myCustomText><tr><td>Entry point</td><td> <b>php_cgi!mainCRTStartup</b></td></tr><tr><td>Create time</td><td> <b>2013.06.19 15:22:31</b></td></tr><tr><td>Time spent in user mode</td><td> <b>0 Days 0:0:1.406</b></td></tr><tr><td>Time spent in kernel mode</td><td> <b>0 Days 0:0:0.328</b></td></tr></table><br><br>
</p>
<b>Full Call Stack</b><br><br> <table border=0 cellpadding=0 cellspacing=0 class=mycustomText>
<tr>
<th>Function</th>
<th> Arg 1</th>
<th> Arg 2</th>
<th> Arg 3</th>
<th> Arg 4</th>
<th> Source</th>
</tr>
<tr>
<td nowrap>ntdll!ZwRaiseException+12</td>
<td nowrap> <font face = "courier new">01bd8ef8</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">00c0513c</font></td>
<td nowrap> <font face = "courier new">01bd8ef0</font></td>
<td nowrap> </td>
</tr>
<tr>
<td nowrap>ntdll!RtlFreeHeap+7e</td>
<td nowrap> <font face = "courier new">00dc0000</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">01bd8ef8</font></td>
<td nowrap> <font face = "courier new">92382771</font></td>
<td nowrap> </td>
</tr>
<tr>
<td nowrap>msvcrt!free+39</td>
<td nowrap> <font face = "courier new">01bd8ef8</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">0141ebe0</font></td>
<td nowrap> <font face = "courier new">100e0c84</font></td>
<td nowrap> </td>
</tr>
<tr>
<td nowrap>php5!php_set_error_handling+29</td>
<td nowrap> <font face = "courier new">00000002</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> main\main.c @ 792 + 3</td>
</tr>
<tr>
<td nowrap>php5!zim_DateTime___construct+24</td>
<td nowrap> <font face = "courier new">00000001</font></td>
<td nowrap> <font face = "courier new">0997e2e0</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">0992cca8</font></td>
<td nowrap> ext\date\php_date.c @ 1802</td>
</tr>
<tr>
<td nowrap>php5!execute_internal+32</td>
<td nowrap> <font face = "courier new">00c0513c</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">01424ba0</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> Zend\zend_execute.c @ 1376 + 2c</td>
</tr>
<tr>
<td nowrap>php_xdebug!get_module+1b67</td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> <font face = "courier new">00000000</font></td>
<td nowrap> </td>
</tr>
</table>
<br><br>
<BR><BR><h4>Exception Information</h4>NTDLL!RTLINITUNICODESTRING+196<b>WARNING</b> - DebugDiag was not able to locate debug symbols for <b>ntdll.dll</b>, so the information below may be incomplete.<br><br>In php-cgi__PID__3856__Date__06_19_2013__Time_03_22_37PM__172__Second_Chance_Exception_C0000005.dmp the assembly instruction at <b>ntdll!RtlInitUnicodeString+196</b> in <b>C:\Windows\SysWOW64\ntdll.dll</b> from <b>Microsoft Corporation</b> has caused an <b>access violation exception (0xC0000005)</b> when trying to <b>read from</b></b> memory location <b>0x03950d6c</b> on thread <a href='#3856:6Thread3952'><b>0</b></a><br><BR><BR>
<table cellpadding=0 cellspacing=0 border=0 class='myCustomText' ID="Table2">
<tr>
<td nowrap><h2><a name='3856:6Module'>Module Information</a></h2></td>
</tr>
<TR>
<TD><b>Image Name:</b></TD>
<td>C:\Windows\SysWOW64\ntdll.dll</td>
<TD> <b>Symbol Type:</b> </TD>
<td>Export</td>
</TR>
<TR>
<TD><b>Base address:</b></TD>
<td>0x00905a4d</td>
<TD> <b>Time Stamp:</b> </TD>
<td>Thu Nov 17 07:28:47 2011
</td>
</TR>
<TR>
<TD><b>Checksum:</b></TD>
<td>0x7a04bd00</td>
<TD> <b>Comments:</b> </TD>
<td></td>
</TR>
<TR>
<TD><b>COM DLL:</b></TD>
<td>False</td>
<TD> <b>Company Name:</b> </TD>
<td>Microsoft Corporation</td>
</TR>
<TR>
<TD><b>ISAPIExtension:</b></TD>
<td>False</td>
<TD> <b>File Description:</b> </TD>
<td>NT Layer DLL</td>
</TR>
<TR>
<TD><b>ISAPIFilter:</b></TD>
<td>False</td>
<TD> <b>File Version:</b> </TD>
<td>6.1.7601.17725 (win7sp1_gdr.111116-1503)</td>
</TR>
<TR>
<TD><b>Managed DLL:</b></TD>
<td>False</td>
<TD> <b>Internal Name:</b> </TD>
<td>ntdll.dll</td>
</TR>
<TR>
<TD><b>VB DLL:</b></TD>
<td>False</td>
<TD> <b>Legal Copyright:</b> </TD>
<td>� Microsoft Corporation. All rights reserved.</td>
</TR>
<TR>
<TD><b>Loaded Image Name:</b> </TD>
<td>ntdll.dll</td>
<TD> <b>Legal Trademarks:</b> </TD>
<td></td>
</TR>
<TR>
<TD><b>Mapped Image Name:</b> </TD>
<td></td>
<TD> <b>Original filename:</b> </TD>
<td>ntdll.dll</td>
</TR>
<TR>
<TD><b>Module name:</b> </TD>
<td>ntdll</td>
<TD> <b>Private Build:</b> </TD>
<td></td>
</TR>
<TR>
<TD><b>Single Threaded:</b> </TD>
<td>False</td>
<TD> <b>Product Name:</b> </TD>
<td>Microsoft� Windows� Operating System</td>
</TR>
<TR>
<TD><b>Module Size:</b> </TD>
<td><font color=SaddleBrown>1,50 MBytes</font></td>
<TD> <b>Product Version:</b> </TD>
<td>6.1.7601.17725</td>
</TR>
<TR>
<TD><b>Symbol File Name:</b> </TD>
<td>ntdll.dll</td>
<TD> <b>Special Build:</b> </TD>
<td>&</td>
</TR>
</table>
<br><br>
</td></tr></table></div>
<script language='JavaScript'>
AddToggler('doToggleCrashHangAnalysis');
function doToggleCrashHangAnalysis()
{
}
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- End Analysis Details Section -->
<br>
<!-- Begin Script Summary Section -->
<table border=0 cellpadding=0 cellspacing=0 class=mycustomContainer>
<tr>
<td valign=top width=50% style=padding-left:5px; padding-right:5px;>
<table border=0 cellpadding=2 cellspacing=2 class=mycustomTable>
<tr class=mycustomHeader>
<td>
<table border=0 cellpadding=2 cellspacing=0 bgcolor=#818181>
<tr><td><img id=Icon_Summary src=res/bulletpoint.gif></td></tr>
</table>
</td>
<td width=100% style=padding-left:5px;> Script Summary </td>
</tr>
<tr id=Table_Summary>
<td width=15 class=mycustomText> </td>
<td class=row>
<table border=1 class=mycustomTable cellpadding=1 cellspacing=1>
<tr class=mycustomText align=left>
<th>Script Name</th>
<th>Status</th>
<th>Error Code</th>
<th>Error Source</th>
<th>Error Description</th>
<th>Source Line</th>
</tr><tr align=left><td class=mycustomText>CrashHangAnalysis.asp</td><td class=mycustomText>Completed</td><td class=mycustomText colspan='4'> </td></tr>
</table>
</td>
</tr>
</td>
</tr>
</table>
<!-- End Script Summary Section -->
error-log.txt (2,569 bytes)
-------------------------------------------------
Error:
-------------------------------------------------
Faulting application name: php-cgi.exe, version: 5.2.17.17, time stamp: 0x4d25fde8
Faulting module name: php5.dll, version: 5.2.17.17, time stamp: 0x4d25fd3b
Exception code: 0xc0000005
Fault offset: 0x00013905
Faulting process id: 0x1328
Faulting application start time: 0x01ce92808a16c172
Faulting application path: C:\php\php-cgi.exe
Faulting module path: C:\php\php5.dll
Report Id: d2211674-fe73-11e2-8e81-00155d1a5c0a
-------------------------------------------------
Details:
-------------------------------------------------
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2013-08-06T08:40:18.000000000Z
EventRecordID 619356
Channel Application
Computer srvituvstest.in.telecom.lt
Security
- EventData
php-cgi.exe
5.2.17.17
4d25fde8
php5.dll
5.2.17.17
4d25fd3b
c0000005
00013905
1328
01ce92808a16c172
C:\php\php-cgi.exe
C:\php\php5.dll
d2211674-fe73-11e2-8e81-00155d1a5c0a
-----------------------------------------
Error Information:
-------------------------------------------------
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: php-cgi.exe
P2: 5.2.17.17
P3: 4d25fde8
P4: php5.dll
P5: 5.2.17.17
P6: 4d25fd3b
P7: c0000005
P8: 00013905
P9:
P10:
Attached files:
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: d2211674-fe73-11e2-8e81-00155d1a5c0a
Report Status: 0
-------------------------------------------------
Details:
-------------------------------------------------
- System
- Provider
[ Name] Windows Error Reporting
- EventID 1001
[ Qualifiers] 0
Level 4
Task 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2013-08-06T08:40:18.000000000Z
EventRecordID 619357
Channel Application
Computer srvituvstest.in.telecom.lt
Security
- EventData
0
APPCRASH
Not available
0
php-cgi.exe
5.2.17.17
4d25fde8
php5.dll
5.2.17.17
4d25fd3b
c0000005
00013905
0
d2211674-fe73-11e2-8e81-00155d1a5c0a
0
| ||||
| Operating System | Windows Server 2008 R2 Service Pack 1 x64 | ||||
| PHP Version | 5.2.10 | ||||
|
|
Do you run the Non-Thread-Safe version of the PHP and Xdebug as advised on the IIS site ? |
|
|
xdebug and PHP versions are both NTS. |
|
|
php-cli.exe also crashes: |
|
|
Can you provide your php.ini |
|
|
If you can provide a snippet of PHP code that you try to run would be great. |
|
|
it happens regardless of code. it just most of the time does crash if xdebug extension is loaded. i don't know what else i can provide for you to easier trace back the problem, |
|
|
Attached error report form Windows Error Event log |
|
|
I have exactly the same issue with apache 2.2 and PHP 5.2.17 on Windows 7 (64Bit). |
|
|
With the latest versions of PHP (7.0) and Xdebug (2.4.x), does this still cause a problem for you? |
|
|
it's no longer relevant for me personaly, as we migrated away from IIS and PHP 5.2, to apache with php 5.5 |
|
|
Okay, thanks for letting me know. I'll be closing this then. Please don't hesitate to open a new issue if you run into any. I'll promise to answer faster :-/ |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-06-19 12:35 | gamesh | New Issue | |
| 2013-06-19 12:35 | gamesh | File Added: 6Thread3952.htm | |
| 2013-06-24 13:21 | najcik | Note Added: 0002518 | |
| 2013-06-25 05:18 | gamesh | Note Added: 0002521 | |
| 2013-06-25 05:23 | gamesh | Note Added: 0002522 | |
| 2013-06-28 10:03 | najcik | Note Added: 0002526 | |
| 2013-06-28 10:05 | najcik | Note Added: 0002527 | |
| 2013-06-28 10:14 | gamesh | Note Added: 0002528 | |
| 2013-08-05 10:34 | gamesh | Tag Attached: iis | |
| 2013-08-05 10:34 | gamesh | Tag Attached: windows | |
| 2013-08-06 08:46 | gamesh | File Added: error-log.txt | |
| 2013-08-06 08:46 | gamesh | Note Added: 0002552 | |
| 2014-05-22 09:30 | therochworks | Note Added: 0002841 | |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
| 2016-11-28 21:29 | derick | Note Added: 0003830 | |
| 2016-11-28 21:29 | derick | Assigned To | => derick |
| 2016-11-28 21:29 | derick | Status | new => feedback |
| 2016-11-29 06:27 | gamesh | Note Added: 0003842 | |
| 2016-11-29 06:27 | gamesh | Status | feedback => assigned |
| 2016-11-29 10:48 | derick | Note Added: 0003846 | |
| 2016-11-29 10:48 | derick | Status | assigned => resolved |
| 2016-11-29 10:48 | derick | Resolution | open => unable to reproduce |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |