Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

"The program 'NNN.exe' has exited with code 3221226356 (0xc0000374)" Error Randomly Occurs or no in fresh ".NET MAUI Blazor Hybrid and Web App"

$
0
0

I have initialized the empty solution and added the ".NET MAUI Blazor Hybrid and Web App" type project:

enter image description here

I have not touched the source code yet.Once I have launched the debugging of Native Windows version, the following error has occurred:

The program '[31136] Calendar.exe' has exited with code 3221226356 (0xc0000374).

Full debug output:

'Calendar.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Calendar.dll'. Symbols loaded.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\hotreload\Microsoft.Extensions.DotNetDeltaApplier.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.IO.Pipes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.AccessControl.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.Principal.Windows.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.Loader.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\WinRT.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.WinUI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.CompilerServices.Unsafe.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.Windows.SDK.NET.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.Cryptography.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.InteractiveExperiences.Projection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.Maui.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Linq.Expressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.The program '[31136] Calendar.exe' has exited with code 3221226356 (0xc0000374).

This error randomly occurs or no.Here are the experiment results:

Launch No.Result
1Error
2Error
3Normal
4Normal
5Error
6Normal
7Error

Here is how normally operating application appears:

enter image description here

Additionally, one time the application has dead after has been normally launched.Here is the output:

'Calendar.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'. The thread '.NET TP Worker' (17480) has exited with code 0 (0x0).The thread '.NET TP Worker' (19488) has exited with code 0 (0x0).The thread '.NET TP Worker' (16504) has exited with code 0 (0x0).The program '[34436] Calendar.exe' has exited with code 3221226356 (0xc0000374).

It is impossible to develop the application while this error occurs.How I can locate the cause?

Additional information

  • .NET Version: .NET 9.0 (Standard Term Support)
  • Visual Studio Version: Microsoft Visual Studio Community 2022 (64-bit) - 17.13.6 (Newest for 27 Apr 2025)

📄 Repro Repository (GitHub)

Update - Even Logs

Application Error

Original (Japanese Windows)

障害が発生しているアプリケーション名: Calendar.exe、バージョン: 1.0.0.0、タイムスタンプ: 0x67d30000障害が発生しているモジュール名: ntdll.dll、バージョン: 10.0.19041.5794、タイムスタンプ: 0x3af2a74f例外コード: 0xc0000374障害オフセット: 0x00000000000ff3c9障害が発生しているプロセス ID: 0xde88障害が発生しているアプリケーションの開始時刻: 0x01dbc6daa520ff67障害が発生しているアプリケーションパス: D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Calendar.exe障害が発生しているモジュールパス: C:\Windows\SYSTEM32\ntdll.dllレポート ID: 728fe14b-ce19-4642-abd1-8984df78081f障害が発生しているパッケージの完全な名前: 障害が発生しているパッケージに関連するアプリケーション ID: 

Translation by ChatGPT

Faulting application name: Calendar.exe, version: 1.0.0.0, time stamp: 0x67d30000Faulting module name: ntdll.dll, version: 10.0.19041.5794, time stamp: 0x3af2a74fException code: 0xc0000374Fault offset: 0x00000000000ff3c9Faulting process id: 0xde88Faulting application start time: 0x01dbc6daa520ff67Faulting application path: D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Calendar.exeFaulting module path: C:\Windows\SYSTEM32\ntdll.dllReport Id: 728fe14b-ce19-4642-abd1-8984df78081fFaulting package full name:Faulting package-relative application ID:

Windows Error Reporting

Original (Japanese Windows)

障害バケット 1649935993773551568、種類 4イベント名: APPCRASH応答: 使用不可Cab ID: 0問題の署名:P1: Calendar.exeP2: 1.0.0.0P3: 67d30000P4: StackHash_e92dP5: 10.0.19041.5794P6: 3af2a74fP7: c0000374P8: PCH_E4_FROM_ntdll+0x00000000000FF3C9P9: P10: 添付ファイル:\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6ABF.tmp.dmp\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6BD9.tmp.WERInternalMetadata.xml\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6C09.tmp.xml\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6C0D.tmp.csv\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6C5C.tmp.txtこれらのファイルは次の場所にある可能性があります:\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Calendar.exe_c049a3fcbe53ed302ae4913989dd8491a2dede9d_622855fc_883b4e7e-831d-4cdd-a132-f4bccf039578分析記号: 解決策を再確認中: 0レポート ID: 728fe14b-ce19-4642-abd1-8984df78081fレポートの状態: 268435456ハッシュされたバケット: 61fbd990bbdaedfea6e5c00b6b00efd0Cab GUID: 0

Translation by ChatGPT

Fault bucket 1649935993773551568, type 4Event Name: APPCRASHResponse: Not availableCab Id: 0Problem signature:P1: Calendar.exeP2: 1.0.0.0P3: 67d30000P4: StackHash_e92dP5: 10.0.19041.5794P6: 3af2a74fP7: c0000374P8: PCH_E4_FROM_ntdll+0x00000000000FF3C9P9: P10: Attached files:\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6ABF.tmp.dmp\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6BD9.tmp.WERInternalMetadata.xml\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6C09.tmp.xml\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6C0D.tmp.csv\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER6C5C.tmp.txtThese files may be available here:\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Calendar.exe_c049a3fcbe53ed302ae4913989dd8491a2dede9d_622855fc_883b4e7e-831d-4cdd-a132-f4bccf039578Analysis symbol: Rechecking for solution: 0Report Id: 728fe14b-ce19-4642-abd1-8984df78081fReport Status: 268435456Hashed bucket: 61fbd990bbdaedfea6e5c00b6b00efd0

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>