Advertisement
bryan-kihomac

C# AccessViolationException

Jan 31st, 2014
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.95 KB | None | 0 0
  1. System.AccessViolationException was unhandled
  2.   HResult=-2147467261
  3.   Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  4.   Source=System.Windows.Forms
  5.   StackTrace:
  6.        at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  7.        at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
  8.        at System.Windows.Forms.Control.DefWndProc(Message& m)
  9.        at System.Windows.Forms.Control.WndProc(Message& m)
  10.        at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
  11.        at System.Windows.Forms.RichTextBox.WndProc(Message& m)
  12.        at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  13.        at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  14.        at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  15.        at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, Int32 wParam, Int32 lParam)
  16.        at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
  17.        at System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
  18.        at System.Windows.Forms.RichTextBox.set_SelectedText(String value)
  19.        at System.Windows.Forms.TextBoxBase.AppendText(String text)
  20.        at COG.GUI.Forms.LoggingForm.<>c__DisplayClass7.<tailLogToLoggingTextBox>b__4() in C:\cygwin\home\bryan\code\cog2\COG\GUI\Forms\LoggingForm.cs:line 138
  21.        at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
  22.        at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
  23.        at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  24.        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  25.        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  26.        at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
  27.        at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
  28.        at System.Windows.Forms.Control.WndProc(Message& m)
  29.        at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  30.        at System.Windows.Forms.Form.WndProc(Message& m)
  31.        at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  32.        at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  33.        at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  34.        at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
  35.        at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  36.        at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  37.        at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  38.        at System.Windows.Forms.Application.Run(Form mainForm)
  39.        at COG.GUI.GUIController.<openCurrentLogFile>b__11() in C:\cygwin\home\bryan\code\cog2\COG\GUI\GUIController.cs:line 226
  40.        at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  41.        at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  42.        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  43.        at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  44.        at System.Threading.ThreadHelper.ThreadStart()
  45.   InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement