Windows10でPowerShellISEを使用していると、頻繁に以下の「ハンドルされない例外のため、プロセスが中止されました。」のダイアログが出て、PowerShellISEが再起動します。
問題なくコマンドを実行できることもありますが、スクリプトを書いている途中、他のアプリを触っていて、PowerShellISEをアクティブにした時、などに突然上記エラーが発生することが多発しています。
イベントビューアーの、Windowsログ>Applicationには「.NET Runtime」で以下のエラーがでています。
例外コード「c0000095」はオーバーフローのようですが、原因がわかりません。お心当たりの有る方はご教授ください。
===
アプリケーション:powershell_ise.exe
フレームワークのバージョン:v4.0.30319
説明: ハンドルされない例外のため、プロセスが中止されました。
例外情報:例外コード c0000095、例外アドレス 000001E16C838902
スタック:
場所 MS.Win32.UnsafeNativeMethods+ITfMessagePump.GetMessageW(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32, Int32 ByRef)
場所 MS.Win32.UnsafeNativeMethods+ITfMessagePump.GetMessageW(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32, Int32 ByRef)
場所 System.Windows.Threading.Dispatcher.GetMessage(System.Windows.Interop.MSG ByRef, IntPtr, Int32, Int32)
場所 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
場所 System.Windows.Application.RunDispatcher(System.Object)
場所 System.Windows.Application.RunInternal(System.Windows.Window)
場所 Microsoft.Windows.PowerShell.Gui.Internal.Program.ShowMainWindow(System.Collections.Generic.List`1<System.String>, Boolean, Boolean, System.Threading.SendOrPostCallback)
場所 System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
場所 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
場所 System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
場所 Microsoft.Windows.PowerShell.GuiExe.Internal.GPowerShell.Main(System.String[])
あなたの回答
tips
プレビュー