アプリケーションが実行されてWindows Embedded Standard 7
おり、OS の起動時に起動します。
初回ロード時に が表示されることがありますUnknown Hard Error
。イベント ビューアを確認すると、次のメッセージが表示されます。
The application requested process termination through System.Environment.FailFast(string message).
Message: Unrecoverable system error.
言うまでもなく、私はもちろんこの関数を呼び出していません。これは Windows Embedded でのみ発生するようで、Windows の標準インストールで再現されるのは見たことがありません。
なぜそれが起こるのか本当にわからないので、これを診断する方法や、どの「修正」が適切かはわかりません。
編集:
イベント ビューアーのログ全体:
Application: WinForm.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unrecoverable system error.
Stack:
at System.Environment.FailFast(System.String)
at MS.Internal.Invariant.FailFast(System.String, System.String)
at System.IO.Packaging.Package.AddIfNoPrefixCollisionDetected(ValidatedPartUri,
System.IO.Packaging.PackagePart) at System.IO.Packaging.Package.GetPartHelper(System.Uri)
at System.IO.Packaging.Package.GetPart(System.Uri)
at System.Windows.Application.GetResourceOrContentPart(System.Uri)
at System.Windows.Application.LoadComponent(System.Object, System.Uri)
at Pms.PmControl.InitializeComponent()
at Pms.PmControl..ctor(Boolean)
at Pms.PmAppControl.StartWpfThread()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()