Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPCommandBarsFrameHook::SetWinHook
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPCommandBarsFrameHook::SetWinHook

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 891
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: CXTPCommandBarsFrameHook::SetWinHook
    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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.