最近から、AccessViolationException
Visual Studio 2010 内から WinForms アプリのほとんどのスタートアップで s を取得するようになり、アプリが中止されました。
しかし、通常の F5 の代わりに Ctrl-F5 を実行すると、問題が修正されます。つまり、Visual Studio の外で AccessViolationException の反対のようなものですか? .
これはそのような例外の例ですが、これだけでなく、他のさまざまなスタック トレースも付属しています。
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Environment.get_TickCount()
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at OurApp.BaseForm.WndProc(Message& m)
at OurApp.OtherForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ところで。もう一度起動すると、これとまったく同じスタックトレースがありましたが、
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
AccessViolationException の代わりに。しかし、全体として、AccessViolationExceptions は s よりも頻繁に発生しSEHException
ます。
更新一方、ExecutionEngineException
上記の代わりに s が表示されることがあります。
Windows 7 64 ビット (VirtualBox 内) を実行しています。念のため、Visual Studio 2010 SP1 を含むすべての Windows Update をインストールしても、問題は解決しませんでした。
これが何であるか、またはそれをより深く掘り下げる方法についてのアイデアはありますか?