Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Bug when winform frozen

$
0
0

I have a long-running win form app, which regularly freezes after a day or two.

When it freezes, if I press "pause" in sharpDevelop, I get this error:

 

SharpDevelop Version : 4.2.2.8818-3d0b926b

.NET Version         : 4.0.30319.18034

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : English (Australia) (en-AU)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 375844kb

GC Heap Memory       : 175906kb

 

Unhandled WPF exception

Exception thrown:

System.Runtime.InteropServices.COMException (0x80131301): Process was terminated. (Exception from HRESULT: 0x80131301)

   at Debugger.Interop.CorDebug.ICorDebugProcess.__Stop(UInt32 dwTimeoutIgnored)

   at Debugger.Process.Break()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Break()

   at ICSharpCode.SharpDevelop.Project.Commands.BreakDebuggingCommand.Run()

   at ICSharpCode.Core.Presentation.CommandWrapper.Execute(Object parameter)

   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)

   at System.Windows.Controls.Primitives.ButtonBase.OnClick()

   at System.Windows.Controls.Button.OnClick()

   at ICSharpCode.Core.Presentation.ToolBarButton.OnClick()

   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

09:25:01.136 [1] DEBUG - Debugger: Callback: CreateThread 12960

09:25:01.554 [1] DEBUG - Debugger: Callback: CreateThread 1720

09:25:01.797 [1] DEBUG - Debugger: Callback: ExitThread 5716

09:25:01.797 [1] DEBUG - Debugger: Thread 5716 exited

09:25:01.817 [1] DEBUG - Debugger: Callback: ExitThread 12960

09:25:01.817 [1] DEBUG - Debugger: Thread 12960 exited

09:25:01.821 [1] DEBUG - Debugger: Callback: CreateThread 9068

09:25:01.960 [1] DEBUG - Debugger: Callback: CreateThread 5004

09:25:02.208 [1] DEBUG - Debugger: Callback: LogMessage

09:25:02.208 [1] DEBUG - Debugger: Debugger event: OnLogMessage

09:25:02.209 [1] DEBUG - Debugger: Callback: Exception

09:25:02.209 [1] DEBUG - Debugger: Process has queued callbacks

09:25:02.210 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_FIRST_CHANCE)

09:25:02.212 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_USER_FIRST_CHANCE)

09:25:02.213 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_CATCH_HANDLER_FOUND)

09:25:02.262 [1] DEBUG - Debugger: Callback: ExitThread 1720

09:25:02.262 [1] DEBUG - Debugger: Thread 1720 exited

09:25:02.533 [1] DEBUG - Debugger: Callback: ExitThread 9068

09:25:02.533 [1] DEBUG - Debugger: Thread 9068 exited

09:25:02.755 [1] DEBUG - Debugger: Callback: ExitThread 5004

09:25:02.755 [1] DEBUG - Debugger: Thread 5004 exited

09:25:03.277 [1] DEBUG - Debugger: Callback: CreateThread 8796

09:25:03.278 [1] DEBUG - Debugger: Callback: CreateThread 7712

09:29:09.537 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.BreakDebuggingCommand', activation=Toolbar

09:29:09.537 [1] INFO - Debugger Command: Break

 

---- Post-error application state information:

Installed 3rd party AddIns: 

Workbench.ActiveContent: [AvalonEditViewContent L:\Projects\LiveTrader\LiveTrader\StratRunner.cs]

ProjectService.OpenSolution: [Solution: FileName=L:\Projects\LiveTrader\LiveTrader.sln, HasProjects=True, ReadOnly=False]

ProjectService.CurrentProject: [CSharpProject: LiveTrader]


Viewing all articles
Browse latest Browse all 1764

Trending Articles