Open aromaa opened 11 months ago
Tagging subscribers to this area: @tommcdon See info in area-owners.md if you want to be subscribed.
Author: | aromaa |
---|---|
Assignees: | - |
Labels: | `area-Diagnostics-coreclr`, `untriaged` |
Milestone: | - |
Does <TieredPGO>false</TieredPGO>
help too?
Does
<TieredPGO>false</TieredPGO>
help too?
It does not.
Hi @aromaa! I am not able to reproduce the issue. Would you mind sharing a dump of the target process at the point of the ExecutionEngineException? This can be achieved by getting the app into the reproducible state with the debugger in break state displaying the ExceptionEngineException, and then choosing Debug->Save Dump As.
I was unable to take one from VS directly so I used the task manager instead.
HI @aromaa I apologize for the delay and have requested access to the dump to investigate.
You should be able to access it now.
@aromaa, just clarifying that by line 9 you mean this line? protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => optionsBuilder.UseInMemoryDatabase("test");
No, I mean literally the L9. The one with the context.Entities.Update(entity);
. I have also clarified it in the repro.
Description
When trying to step into a virtual call the runtime unexpectedly throws ExecutionEngineException. Setting the
<TieredCompilation>false</TieredCompilation>
flag to the project file seems to fix this.Reproduction Steps
Setting a breakpoint on the following code on L9 and executing step into the 6th time would trigger ExecutionEngineException when attempting to step into the
IDbContextDependencies.StateManager
onDbContext
.Expected behavior
No exception
Actual behavior
The runtime crashes with ExecutionEngineException
Regression?
No response
Known Workarounds
No response
Configuration
.NET 8 Windows 10 22H2 build 19045.3693 x64 Microsoft Visual Studio Community 2022 Version 17.9.0 Preview 1.0
Other information
No response