Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
Crash when loading layout
posted

I'm getting crashes when loading layouts with xamDockManager.  The layout has lots of windows in it.  Stack trace points to ToolWindow and Transparency.

exception:
The thread tried to read from or write to a virtual adress for which it dos not have the appropriate access

Stack Track:
     [Managed to Native Transition]   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindowHostWindow.HookProc(int nCode, System.IntPtr wParam, System.IntPtr lParam) + 0x9d bytes   
     [Native to Managed Transition]   
     [Managed to Native Transition]   
     WindowsBase.dll!MS.Win32.UnsafeNativeMethods.CreateWindowEx(int dwExStyle, string lpszClassName, string lpszWindowName, int style, int x, int y, int width, int height, System.Runtime.InteropServices.HandleRef hWndParent, System.Runtime.InteropServices.HandleRef hMenu, System.Runtime.InteropServices.HandleRef hInst, object pvParam) + 0x3c bytes   
     WindowsBase.dll!MS.Win32.HwndWrapper.HwndWrapper(int classStyle, int style, int exStyle, int x, int y, int width, int height, string name, System.IntPtr parent, MS.Win32.HwndWrapperHook[] hooks) + 0x382 bytes   
     PresentationCore.dll!System.Windows.Interop.HwndSource.Initialize(System.Windows.Interop.HwndSourceParameters parameters) + 0x276 bytes   
     PresentationFramework.dll!System.Windows.Window.EnsureHiddenWindow() + 0xf7 bytes   
     PresentationFramework.dll!System.Windows.Window.SetTaskbarStatus() + 0x51 bytes   
     PresentationFramework.dll!System.Windows.Window.CreateAllStyle() + 0x3d bytes   
     PresentationFramework.dll!System.Windows.Window.CreateSourceWindow(bool duringShow) + 0x13e bytes   
     PresentationFramework.dll!System.Windows.Window.CreateSourceWindowDuringShow() + 0xa bytes   
     PresentationFramework.dll!System.Windows.Window.SafeCreateWindowDuringShow() + 0x40 bytes   
     PresentationFramework.dll!System.Windows.Window.ShowHelper(object booleanBox) + 0x81 bytes   
     PresentationFramework.dll!System.Windows.Window.Show() + 0x61 bytes   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindowHostWindow.Show(bool activate) + 0x29 bytes   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindowHostWindow.DeferShowHelper.Show(bool activate) + 0x7c bytes   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindow.DeferredShowInfo.ProcessShow(bool cancel) + 0x52 bytes   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindow.DeferredShowInfo.System.IDisposable.Dispose() + 0x7 bytes   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindow.Reshow() + 0xa2 bytes   
     InfragisticsWPF4.v11.2.dll!Infragistics.Windows.Controls.ToolWindow.OnSupportsAllowsTransparencyChanged() + 0x74 bytes   
     InfragisticsWPF4.DockManager.v11.2.dll!Infragistics.Windows.DockManager.PaneToolWindow.VerifyPreventAllowsTransparencyImpl() + 0xd0 bytes   
     [Native to Managed Transition]   
     [Managed to Native Transition]   
     mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x77 bytes   
     WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0xae bytes   
     WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x42 bytes   
     WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0x8d bytes   
     WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) + 0x38 bytes   
     mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x51 bytes   
     [Native to Managed Transition]   
     [Managed to Native Transition]   
     mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x6a bytes   
     mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool ignoreSyncCtx) + 0x7e bytes   
     mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x2c bytes   
     WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x68 bytes   
     WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x15e bytes   
     WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x63 bytes   
     WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0xbe bytes   
     WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x7d bytes   
     WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes   
     WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x42 bytes   
     WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0xb4 bytes   
     WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x104 bytes   
     [Native to Managed Transition]   
     [Managed to Native Transition]   
     WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) + 0xc1 bytes   
     WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame frame) + 0x49 bytes   
     PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) + 0x5b bytes   
     PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) + 0x74 bytes   
     PresentationFramework.dll!System.Windows.Application.Run(System.Windows.Window window) + 0x2b bytes   
>    Zetta.exe!RCS.ZettaUI.App.Main() Line 263 + 0x2c bytes    C#
     [Native to Managed Transition]   
     00050003()   
     user32.dll!_DispatchHookW@16()  + 0x38 bytes   
     user32.dll!___fnHkINLPCBTCREATESTRUCT@4()  + 0xa7 bytes   
     ntdll.dll!_KiUserCallbackDispatcher@12()  + 0x2e bytes   
     user32.dll!_NtUserCreateWindowEx@60()  + 0x15 bytes   
     user32.dll!_VerNtUserCreateWindowEx@52()  + 0x18a bytes   
     user32.dll!__CreateWindowEx@52()  + 0xd4 bytes   
     user32.dll!_CreateWindowExW@48()  + 0x33 bytes   
     user32.dll!_InternalCallWinProc@20()  + 0x23 bytes   
     user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes   
     user32.dll!_DispatchMessageWorker@8()  + 0xed bytes   
     user32.dll!_DispatchMessageW@4()  + 0xf bytes   
     mscoreei.dll!__CorExeMain@0()  + 0x38 bytes   
     mscoree.dll!_ShellShim__CorExeMain@0()  + 0x227 bytes   
     mscoree.dll!__CorExeMain_Exported@0()  + 0x8 bytes   
     kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes   
     ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes   
     ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes   

  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it, but I wasn’t able to reproduce your behavior, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.

     

    Looking forward for your reply.

  • 138253
    Offline posted

    Hello,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.