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

Profiling executable - saving sesion over existing file crash

$
0
0

Hello there :)

 

I've started profiling sesion with some executable. When I wanted to start another sesion and save sesion file over previous sesion file, an exception was thrown (exception dump bellow).

When I used new file everything was all right.

Have a nice day and thank you for great work :)

 

Bobrník

 

-------------------------------------------------------------------------------

SharpDevelop Version : 5.0.0.4395-Beta 4-6585614e

.NET Version         : 4.0.30319.18449

OS Version           : Microsoft Windows NT 6.2.9200.0

Current culture      : Czech (Czech Republic) (cs-CZ)

Current UI language  : en

Running under WOW6432, processor architecture: x86-64

Terminal Server Session

Working Set Memory   : 127756kb

GC Heap Memory       : 14981kb

 

Exception thrown:

System.IO.IOException: File already exists!

   at ICSharpCode.Profiler.Controller.Data.ProfilingDataSQLiteWriter..ctor(String fileName)

   at ICSharpCode.Profiler.AddIn.Dialogs.ProfileExecutableForm.btnStartClick(Object sender, RoutedEventArgs e)

 

---- Recent log messages:

10:59:55.771 [14] DEBUG - Preload-Thread started.

10:59:56.157 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Editor.IEditorControlService

10:59:56.228 [1] DEBUG - Preload-Thread finished.

11:00:02.204 [1] INFO - Loading addin Profiler AddIn

11:00:46.661 [1] INFO - Profiler settings:

11:00:46.661 [1] INFO - Shared memory size: 67108864 (64 MB)

11:00:46.661 [1] INFO - Combine recursive calls: False

11:00:46.661 [1] INFO - Enable DC: True

11:00:46.661 [1] INFO - Profile .NET internals: True

11:00:46.661 [1] INFO - Track events: False

11:00:46.774 [1] DEBUG - ActiveContentChanged to 

11:01:48.815 [1] INFO - Open file F:\Projekty\Testovací optimalizátory\Třinec\2013\Po hodinách bez fix UC bez AS\Opt\Session20140606_110038.sdps

11:01:48.817 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Workbench.IDisplayBindingService

11:01:49.391 [1] DEBUG - OpenedFileClosed: F:\Projekty\Testovací optimalizátory\Třinec\2013\Po hodinách bez fix UC bez AS\Opt\Session20140606_110038.sdps

11:01:49.393 [1] DEBUG - ActiveContentChanged to ICSharpCode.Profiler.AddIn.Views.ProfilingReportViewer

11:01:49.393 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Session20140606_110038.sdps]

11:01:49.394 [1] DEBUG - NavigationService

ActiveViewContent: Session20140606_110038.sdps

         Subview: Session20140606_110038.sdps

11:01:49.394 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.Profiler.AddIn.Views.ProfilingReportViewer

11:01:57.663 [1] DEBUG - ActiveViewContentChanged to 

11:01:57.664 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent

11:01:58.369 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Start Page]

11:01:58.369 [1] DEBUG - NavigationService

ActiveViewContent: Start Page

         Subview: TabPageText

11:01:58.369 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.StartPage.StartPageViewContent

11:02:17.037 [1] ERROR - 

--> Exception:

System.IO.IOException: File already exists!

   at ICSharpCode.Profiler.Controller.Data.ProfilingDataSQLiteWriter..ctor(String fileName)

   at ICSharpCode.Profiler.AddIn.Dialogs.ProfileExecutableForm.btnStartClick(Object sender, RoutedEventArgs e)

11:02:17.120 [1] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Profiler.AddIn.Dialogs.ProfileExecutableForm.btnStartClick(Object sender, RoutedEventArgs e)

   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.RaiseEvent(RoutedEventArgs e)

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

   at System.Windows.Controls.Button.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)

   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Window.ShowHelper(Object booleanBox)

   at System.Windows.Window.Show()

   at System.Windows.Window.ShowDialog()

   at ICSharpCode.Profiler.AddIn.Commands.ProfileExecutable.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

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

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

   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)

   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)

   at System.Windows.Threading.DispatcherOperation.InvokeImpl()

   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Windows.Threading.DispatcherOperation.Invoke()

   at System.Windows.Threading.Dispatcher.ProcessQueue()

   at System.Windows.Threading.Dispatcher.WndProcHook(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)

   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.Run()

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)

   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)

 

---- Post-error application state information:

Installed 3rd party AddIns: 

ProjectService.CurrentSolution: <null>

ProjectService.CurrentProject: <null>

Workbench.ActiveContent: ICSharpCode.StartPage.StartPageViewContent


Viewing all articles
Browse latest Browse all 1764

Latest Images

Trending Articles



Latest Images