Hi;
After upgrading the toolkit from v19.1 to 20.3 our customers report crashes when shutting down any of our applications. All of them use SkinFramework (Office2010 skin). Analyzing the crash with windbg shows:
EXCEPTION_CODE_STR: c0000005
EXCEPTION_PARAMETER1: 0000000000000008
EXCEPTION_PARAMETER2: 0000000000000000
STACK_TEXT: 000000b6`fd9de338 00000000`72743b0d : 00000202`468e6de4 00000202`468e6dd0 00000000`00000000 00000000`000d0d44 : 0x0 000000b6`fd9de340 00007fff`3fe53a42 : 000000b6`fd9de641 00007fff`403eab58 00000000`00000000 00000000`00000000 : ToolkitPro2030vc150x64U!CXTPSkinManager::CbtFilterHook+0xed 000000b6`fd9de5e0 00007fff`3fe539b1 : 000000b6`fd9de6c8 00007fff`404796d0 000000b6`00000003 00000000`000d0d44 : user32!DispatchHookW+0x32 000000b6`fd9de610 00007fff`40479824 : 00000000`00008002 00000000`00000000 00000000`00000000 000000b6`fd9de818 : user32!__fnHkINLPCBTCREATESTRUCT+0x81 000000b6`fd9de670 00007fff`3d301f44 : 00007fff`3fe3d441 000000b6`fd9de890 ffffffff`ffff0000 00000000`00000000 : ntdll!KiUserCallbackDispatcherContinue 000000b6`fd9de778 00007fff`3fe3d441 : 000000b6`fd9de890 ffffffff`ffff0000 00000000`00000000 00000103`00000010 : win32u!NtUserCreateWindowEx+0x14 000000b6`fd9de780 00007fff`3fe4a2f9 : 00000000`00000000 000000b6`fd9debc0 000000b6`fd9dec10 00000000`000001d1 : user32!VerNtUserCreateWindowEx+0x21d 000000b6`fd9deb10 00007fff`3fe5e7f9 : 00000000`0000015e 00000000`00000041 00000000`00000000 00007fff`3fe3793d : user32!InternalCreateDialog+0x549 000000b6`fd9decc0 00007fff`3febb20b : 00000000`00010003 000000b6`fd9dedf9 00000000`0000015e 00000000`00000078 : user32!InternalDialogBox+0x125 000000b6`fd9ded20 00007fff`3feb8c98 : 000000b6`fd9df030 00000000`000000a2 00000000`00007f01 00000202`000001cb : user32!SoftModalMessageBox+0x228b 000000b6`fd9dee60 00007fff`3feb8915 : 00000000`025c7970 00000000`00000000 00000202`4cbb3bc8 00000202`4cbf4728 : user32!MessageBoxWorker+0x2ec 000000b6`fd9df010 00007fff`3feb899e : 00000000`00000078 000000b6`fd9df0f0 00000000`025c7970 00000000`00000000 : user32!MessageBoxTimeoutW+0xd5 000000b6`fd9df110 00000000`025db37e : 00000000`00000000 000000b6`fd9df278 00000202`4cbf4728 00000202`4cbe0738 : user32!MessageBoxW+0x4e 000000b6`fd9df150 00000000`025db5d7 : 00000202`468e7158 00000202`4cbf4728 00000202`4cbb3bc8 000000b6`00000010 : cxll24oc!TMethodImplementationIntercept+0x23730e 000000b6`fd9df230 00000000`025db1a7 : 000000b6`fd9df2e0 000000b6`fd9df310 000000b6`fd9df2d8 000000b6`fd9df308 : cxll24oc!TMethodImplementationIntercept+0x237567 000000b6`fd9df2a0 00000000`024dd04e : 00000202`4cbe0738 000000b6`fd9df350 00000000`00000000 00000000`00000000 : cxll24oc!TMethodImplementationIntercept+0x237137 000000b6`fd9df2e0 00000000`02435f36 : 00000202`4cbe0738 000000b6`fd9df350 0000e5e4`6a45b7ae 000000b6`fd9df758 : cxll24oc!TMethodImplementationIntercept+0x138fde 000000b6`fd9df330 00007fff`3fe421e4 : 00000000`80000010 000000b6`fd9df3d0 000000b6`fd9df3e0 000000b6`fd9df3c8 : cxll24oc!TMethodImplementationIntercept+0x91ec6 000000b6`fd9df380 00007fff`3fe41ed7 : 00000000`00000000 00000202`49890fae 00000000`008d050a 00000000`00000000 : user32!UserCallWinProcCheckWow+0x274 000000b6`fd9df4e0 00007fff`3fe52a53 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : user32!DispatchClientMessage+0xa7 000000b6`fd9df540 00007fff`40479824 : 00000202`487e0000 00000000`023525bd 00000202`4cbe0738 00000000`00000000 : user32!_fnDWORD+0x33 000000b6`fd9df5a0 00007fff`3d302424 : 00000000`024dc782 000000b6`fd9df6b0 00000000`025ca7e7 00000202`4cbe0738 : ntdll!KiUserCallbackDispatcherContinue 000000b6`fd9df628 00000000`024dc782 : 000000b6`fd9df6b0 00000000`025ca7e7 00000202`4cbe0738 00000000`00000000 : win32u!NtUserDestroyWindow+0x14 000000b6`fd9df630 00000000`025cfc8d : 00000202`4cbe0738 00000202`49b282b0 00000cf4`c60826ff 00000000`11000011 : cxll24oc!TMethodImplementationIntercept+0x138712 000000b6`fd9df680 00000000`025ca8b7 : 00000202`49ba8ed0 00007fff`40521101 00000202`49b20900 00000202`487e0000 : cxll24oc!TMethodImplementationIntercept+0x22bc1d 000000b6`fd9df6b0 00000000`0231c478 : 00000202`4cbe0738 00000202`49b28201 00000202`00000007 00000000`00000007 : cxll24oc!TMethodImplementationIntercept+0x226847 000000b6`fd9df750 00000000`026076f5 : 00000000`0261a9b0 000000b6`fd9df970 00000000`02660da8 00007fff`000e5a12 : cxll24oc+0xc478 000000b6`fd9df780 00000000`0231ec15 : 00000000`00000000 00000000`00000011 00000000`00000360 00000202`487e2360 : cxll24oc!DllCanUnloadNow+0xf235 000000b6`fd9df7c0 00000000`0231f4ed : 00000202`49b2f370 00000000`00800000 00000000`000000b1 00007fff`40416956 : cxll24oc+0xec15 000000b6`fd9df820 00000000`0231ee32 : 00000202`46b70120 00000202`487e0300 00000000`0000000d 00007fff`40416956 : cxll24oc+0xf4ed 000000b6`fd9df860 00000000`0232a282 : 00000202`49b20a10 00000000`00000000 00000202`49b20948 00007fff`3e0b9dac : cxll24oc+0xee32 000000b6`fd9df9a0 00000000`02607f25 : 00007fff`2474f930 00007fff`246b0000 00000000`00000000 00007fff`2474fb3c : cxll24oc!_dbk_fcall_wrapper+0x3e2 000000b6`fd9dfa10 00007fff`403e85af : 00000000`00000000 00000000`00000001 00007fff`2ef10000 00000000`00000000 : cxll24oc!DllCanUnloadNow+0xfa65 000000b6`fd9dfba0 00007fff`403d6d1b : 000000b6`fdb52000 00000000`02310000 00000000`00000000 00000000`00000000 : ntdll!LdrpCallInitRoutine+0x4b 000000b6`fd9dfc00 00007fff`403d6bb4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!LdrShutdownProcess+0x14b 000000b6`fd9dfd10 00007fff`3fd9d2aa : 00000000`00000000 000000b6`fd9dfde0 00000000`00000000 00007fff`3c9529e8 : ntdll!RtlExitUserProcess+0xb4 000000b6`fd9dfd40 00007fff`3c8a720d : 00000000`00070001 00000000`00000000 00000000`00000000 00007fff`1c783578 : kernel32!ExitProcessImplementation+0xa 000000b6`fd9dfd70 00007fff`3c8a719f : 00000000`00000000 00000000`00000000 00000000`00000000 000000b6`fd9dfdc0 : ucrtbase!exit_or_terminate_process+0x5d 000000b6`fd9dfda0 00007ff6`4a659504 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000001 : ucrtbase!common_exit+0x6f 000000b6`fd9dfdf0 00007fff`3fd884d4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : XRLIMSClient!__scrt_common_main_seh+0x168 000000b6`fd9dfe30 00007fff`40421791 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14 000000b6`fd9dfe60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
FAULTING_SOURCE_LINE: c:\program files (x86)\codejock software\mfc\xtreme toolkitpro v20.3.0\source\skinframework\xtpskinmanager.cpp
FAULTING_SOURCE_FILE: c:\program files (x86)\codejock software\mfc\xtreme toolkitpro v20.3.0\source\skinframework\xtpskinmanager.cpp
FAULTING_SOURCE_LINE_NUMBER: 818
FAULTING_SOURCE_CODE: 814: TRACE(_T("Warning: Window already attached\n")); 815: } 816: else 817: { > 818: pSkinManager->SetHook(hWnd, szClassName, lpcs, TRUE); 819: } 820: } 821: } 822: } 823: }
SYMBOL_NAME: toolkitpro2030vc150x64u!CXTPSkinManager::CbtFilterHook+ed
MODULE_NAME: ToolkitPro2030vc150x64U
IMAGE_NAME: ToolkitPro2030vc150x64U.dll
STACK_COMMAND: ~0s ; .ecxr ; kb
FAILURE_BUCKET_ID: SOFTWARE_NX_FAULT_c0000005_ToolkitPro2030vc150x64U.dll!CXTPSkinManager::CbtFilterHook
OS_VERSION: 10.0.14393.5125
BUILDLAB_STR: rs1_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
FAILURE_ID_HASH: {85265cc6-3dc5-dadf-cd6f-9be3e8005f2e}
|
Any ideas what's wrong and how to fix this? Did something special change between 19.1 and 20.3 in SkinFramework?