locked
Application hang .. RRS feed

  • Question

  • I got an application. it run fine...

    If I let the app running and from another pc connect with rdp on the running pc. the app "can hang"

    I Can't not click on any button... keyboard not working.. Other apps are ok

    when I attach to the application with the debugger no thread is running

    the only thing I can tell it seem to be waiting (see call stack OnThemeChanged, main thread)

      WindowsBase.dll!System.Windows.Threading.DispatcherSynchronizationContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Line 74 C#
      mscorlib.dll!System.Threading.SynchronizationContext.InvokeWaitMethodHelper(System.Threading.SynchronizationContext syncContext, System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) Unknown
      mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) Unknown
      System.Windows.Forms.dll!System.Windows.Forms.Control.WaitForWaitHandle(System.Threading.WaitHandle waitHandle) Unknown
      System.Windows.Forms.dll!System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control caller, System.Delegate method, object[] args, bool synchronous) Unknown
      System.Windows.Forms.dll!System.Windows.Forms.Control.Invoke(System.Delegate method, object[] args) Unknown
      System.Windows.Forms.dll!System.Windows.Forms.WindowsFormsSynchronizationContext.Send(System.Threading.SendOrPostCallback d, object state) Unknown
      System.dll!Microsoft.Win32.SystemEvents.SystemEventInvokeInfo.Invoke(bool checkFinalization, object[] args) Line 1634 C#
      System.dll!Microsoft.Win32.SystemEvents.RaiseEvent(bool checkFinalization, object key, object[] args) Line 1314 C#
    > System.dll!Microsoft.Win32.SystemEvents.OnThemeChanged() Line 992 C#
      System.dll!Microsoft.Win32.SystemEvents.WindowProc(System.IntPtr hWnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Line 1495 C#
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) Line 1000 C#
      WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame frame) Line 978 C#
      PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) Unknown
      PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) Unknown
      PresentationFramework.dll!System.Windows.Application.Run(System.Windows.Window window) Unknown
      PresentationFramework.dll!System.Windows.Application.Run() Unknown
      Maximum.Net.exe!Maximum.Presentation.App.Main() Line 51 C#

    Friday, November 4, 2016 11:02 PM

All replies