After report from one of our users I've installed a clean Win7 x64 on a VirtualBox virtual machine and attempted to run our WPF .NET Core 3.0 app there. It is definitely crashing every time I close it without any stack trace with a generic C# exception code (e0434352). Event viewer shows a missing Stack trace ("Stack:" and nothing after it).
I've tried running it under WinDbg but all I get is this:
(4e0.608): C++ EH exception - code e06d7363 (first chance)
ModLoad: 000007fe`fb8a0000 000007fe`fb8cc000 C:\Windows\system32\POWRPROF.DLL
(4e0.ab4): Unknown exception - code 0000071a (first chance)
ModLoad: 000007fe`fc860000 000007fe`fc8b7000 C:\Windows\system32\apphelp.dll
ModLoad: 000007fe`edd20000 000007fe`eddbc000 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
Any ideas on how to debug it further? The crash is reproduced every time I close the program. The program runs fine itself before I try to close it.
Update: (answering comments)
- we're using a win-x64 self contained deployment;
- our app handles all first chance exceptions and logs them, there are none before the shutdown (the log looks like the shutdown went properly);
- our app has an updater written using the same technology stack (WPF .NET Core 3.0 win-x64 self-contained app) and it shuts down properly;
- just tested it out on another machine (real machine this time) with Win7 x64 - crashes as well;
- installed Visual Studio on that virtual machine, the program still crashes after I shut down it but Visual Studio doesn't capture anything even if I launch the app in debug mode from VS.
!threads output:
!pe output:
k output: