-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Occasional crash in IIS after compile #44546
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@davhdavh can you provide a stack with symbols or a full dump? From the partial stack, this looks like a managed exception potentially coming from user code. |
This issue has been marked |
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsDescriptionAfter updating to .net7 rc1, I am getting occasional crashes of the IIS process after compile has finished.
I have shadow copy enabled, and this is in the build file, so that iis properly reloads after my build.
Reproduction StepsNot sure Expected behaviorNo crash Actual behaviorcrash Regression?It seems to, did not get anything of the same sort in .net6 Known Workaroundsno Configuration.net 7 rc1, windows 10 21H2, iis 10.0.19041.1 Other informationno
|
As @jeffschwMSFT there is not enough information in this issue to take action. It appears to be a managed exception but no information about the managed callstack was shared. Can you please share either dump or a repro project? If that's not possible, then the managed stack of the crash might be enough. You can get this with the managed debugger, or using SOS in the native debugger. Putting this in milestone 8.0.0 while we wait for information since this is currently unactionable. |
w3wp.zip |
This dump seems to be at an odd spot. The crash is happening at shutdown.
.NET Core is not loaded:
The stack where the crash is happening indicates that it is happening in an unloaded module.
|
I noticed that my IIS was using aspnetcorev2 version 16.xxx. despite using .net 7 rc1. |
Nope still happening. When it happens the "attach debugger" window will popup, but it is no longer possible to attach before it pops up another "attach debugger" prompt. |
'w3wp__.NET Core__PID__29112__Date__10_14_2022__Time_01_50_40PM__796__First chance exception 0X04242420.dmp' 'w3wp__.NET Core__PID__29112__Date__10_14_2022__Time_01_50_40PM__45__First chance exception 0XE06D7363.dmp'
|
|
assuming I'm doing this right, it's an access denied trying to delete files in "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files" specifically "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\449"
|
Why is shadow copy configured to write to |
Triage: consider improving the error that is thrown when shadow copy folder is absent or inaccessible. |
Thanks for contacting us. |
@davhdavh just curious, when it crashes like this do you get anything useful in the event log (not sure if it's system or application event log)? if a managed exception is taking down the process, ideally we'd log a callstack and you wouldn't need a debugger to see it. |
Faulting application name: w3wp.exe, version: 10.0.19041.1, time stamp: 0x58c67bf3 A process serving application pool '.NET Core' suffered a fatal communication error with the Windows Process Activation Service. The process id was '11836'. The data field contains the error number. Application 'd:\src\cghg\x' was recycled after detecting app_offline.htm. Exception code: 0xc0000005 Application: w3wp.exe Fault bucket , type 0 Problem signature: Attached files: These files may be available here: Analysis symbol: Those files no longer exists, I will check next time I get the crash |
Don't cross the streams. This may not be the reason for the crash but I would avoid pointing 2 independent systems at the same folder. They don't know about each other and they may do things that the other doesn't expect. |
It didnt make any difference to use another path... |
Description
After updating to .net7 rc1, I am getting occasional crashes of the IIS process after compile has finished.
I have shadow copy enabled, and this is in the build file, so that iis properly reloads after my build.
Reproduction Steps
Not sure
Expected behavior
No crash
Actual behavior
crash
Regression?
It seems to, did not get anything of the same sort in .net6
Known Workarounds
no
Configuration
.net 7 rc1, windows 10 21H2, iis 10.0.19041.1
Other information
no
The text was updated successfully, but these errors were encountered: