Print Page | Close Window

CXTPCommandBarsFrameHook::SetWinHook

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=24205
Printed Date: 28 April 2024 at 9:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPCommandBarsFrameHook::SetWinHook
Posted By: rdhd
Subject: CXTPCommandBarsFrameHook::SetWinHook
Date Posted: 09 September 2021 at 12:35pm
I have crash dump files generated by DebugDiag where the STATUS_FATAL_USER_CALLBACK_EXCEPTION is occurring. This one occurs during shutdown of our app and happens if the .NET runtime is shutting down.
Crash is in CXTPSingletonPoniter::GetInstance where CJ specifically throws a memory exception.

Has anyone seen this? Is CJ leaving a windows hook hooked up too long?

     KERNELBASE.dll!RaiseException()    Unknown
     VCRUNTIME140.dll!_CxxThrowException(void * pExceptionObject, const _s__ThrowInfo * pThrowInfo) Line 75    C++
     mfc140u.dll!AfxThrowMemoryException() Line 218    C++
>    ToolkitPro1900vc150x64U.dll!CXTPSingletonPointer::GetInstance() Line 69    C++
     ToolkitPro1900vc150x64U.dll!CXTPCommandBarsFrameHook::WinEventProc(CXTPWinEventHook::HWINEVENTHOOK__ * __formal, unsigned long event, HWND__ * hWnd, long idObject, long __formal, unsigned long __formal, unsigned long __formal) Line 117    C++
     user32.dll!__ClientCallWinEventProc()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserPeekMessage()    Unknown
     user32.dll!_PeekMessage()    Unknown
     user32.dll!PeekMessageW()    Unknown
     combase.dll!CCliModalLoop::MyPeekMessage(tagMSG * pMsg, HWND__ * hwnd, unsigned int min, unsigned int max, unsigned short wFlag) Line 2925    C++
     combase.dll!CCliModalLoop::PeekRPCAndDDEMessage() Line 2607    C++
     combase.dll!CCliModalLoop::BlockFn(void * * ahEvent, unsigned long cEvents, unsigned long * lpdwSignaled) Line 2103    C++
     combase.dll!ClassicSTAThreadWaitForHandles(unsigned long dwFlags, unsigned long dwTimeout, unsigned long cHandles, void * * pHandles, unsigned long * pdwIndex) Line 51    C++
     combase.dll!CoWaitForMultipleHandles(unsigned long dwFlags, unsigned long dwTimeout, unsigned long cHandles, void * * pHandles, unsigned long * lpdwindex) Line 123    C++
     mscoreei.dll!RuntimeDesc::ShutdownAllActiveRuntimes(unsigned int,class RuntimeDesc *,enum RuntimeDesc::ShutdownCompatMode)    Unknown
     mscoree.dll!ShellShim_CorExitProcess()    Unknown
     ucrtbase.dll!try_cor_exit_process()    Unknown
     ucrtbase.dll!exit_or_terminate_process()    Unknown
     ucrtbase.dll!common_exit()    Unknown




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net