VS Error after finished debugging

Sysprogs forums Forums VisualGDB VS Error after finished debugging

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #736
    kbzowski
    Participant

    I have started getting strange error each time when I finished debugging my programs using VisualGDB (see attached image)
    It occurs only in VisualGDB projects – old and new one.

    If I think carefully I believed it has started after refreshing of sources caches.

    #2932
    ket
    Participant

    Hi,

    That looks strange. Could you please give us the dump file?
    When this error happens, go to Task Manager and right-click on the Visual Studio process and choose “Create Dump File”.
    If the file is huge, then you can use a service like Dropbox.

    #2933
    kbzowski
    Participant
    #2931
    ket
    Participant

    Hi,

    Based on the call stack below, the error seems to be thrown by the Intel OpenCL SDK dll (icldbgcfg.dll). The error does not seem to be related to VisualGDB at all, as VisualGDB is not mentioned in the entire call stack and as it seems to be icldbgcfg.dll trying to delete its own registry keys. Also, as there is no source available for icldbgcfg.dll, we cannot look into its functions. As such you may want to contact Intel OpenCL SDK support for help about the error.

     	[Managed to Native Transition]
    >	System.Windows.Forms.dll!System.Windows.Forms.MessageBox.ShowCore(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, bool showHelp)	Unknown
    icldbgcfg.dll!Intel.OpenCL.Tools.RegistryHelper.Delete(uint PID) Unknown
    icldbgeng.dll!Intel.OpenCL.Tools.OCLDebugEnginePackage.Microsoft.VisualStudio.Debugger.Interop.IDebugEventCallback2.Event(Microsoft.VisualStudio.Debugger.Interop.IDebugEngine2 pEngine, Microsoft.VisualStudio.Debugger.Interop.IDebugProcess2 pProcess, Microsoft.VisualStudio.Debugger.Interop.IDebugProgram2 pProgram, Microsoft.VisualStudio.Debugger.Interop.IDebugThread2 pThread, Microsoft.VisualStudio.Debugger.Interop.IDebugEvent2 pEvent, ref System.Guid riidEvent, uint dwAttrib) Unknown
    [Native to Managed Transition]
    [Managed to Native Transition]
    Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(string verb, object pvaIn, out object pvaOut) Unknown
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter) Unknown
    PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated) Unknown
    PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnClick() Unknown
    PresentationFramework.dll!System.Windows.Controls.Button.OnClick() Unknown
    PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e) Unknown
    PresentationCore.dll!System.Windows.UIElement.OnMouseLeftButtonUpThunk(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown
    PresentationCore.dll!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget) Unknown
    PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown
    PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown
    PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown
    PresentationCore.dll!System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent) Unknown
    PresentationCore.dll!System.Windows.UIElement.OnMouseUpThunk(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown
    PresentationCore.dll!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget) Unknown
    PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown
    PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown
    PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown
    PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args) Unknown
    PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args) Unknown
    PresentationCore.dll!System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs args, bool trusted) Unknown
    PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() Unknown
    PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) Unknown
    PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport) Unknown
    PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel) Unknown
    PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown
    PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown
    WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown
    WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown
    WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown
    WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) Unknown
    WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown
    WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown
    [Native to Managed Transition]
    #2929
    kbzowski
    Participant

    Well it is unfortunate case that error shows only with VisualGDB solutions. I have checked almost all solution types available in VS, and only after debugging VisualGDB that error appears. Sorry for the inconvenience. I will submit bug to their support.

    Thank you for your help and your time.

    #2930
    ket
    Participant

    Hi,

    The error can very well be triggered only for VisualGDB projects. Their tool could likely be assuming something about debug sessions that only holds for Windows or standard Visual Studio project debug sessions. Then at the end of the debug session their assumption does not hold and the error is not silently handled. Nevertheless, this is not something we can fix on our side.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.