When I run with skins, I am getting a variety of issues. For example, I used the Codejock.cjstyles shipped with 19 and when I exit the app, I get a read access violation:
> ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::OnHookGetModuleHandleW(XTPSkinFrameworkApiFunctionIndex nFunctionIndex=xtpSkinApiGetModuleHandleW_KERNEL32, const wchar_t * lpModuleName=0x0000000000000000) Line 3639 C++ Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::OnHookGetModuleHandleW_KERNEL32(const wchar_t * lpModuleName=0x0000000000000000) Line 3204 C++ Symbols loaded. System.Windows.Forms.ni.dll!00007ff8738f7560() Unknown No symbols loaded. System.Windows.Forms.ni.dll!00007ff8738955a9() Unknown No symbols loaded. System.Windows.Forms.ni.dll!00007ff87385a277() Unknown No symbols loaded. System.Windows.Forms.ni.dll!00007ff873855e79() Unknown No symbols loaded. clr.dll!CallDescrWorkerInternal() Unknown Symbols loaded. clr.dll!CallDescrWorkerWithHandler() Unknown Symbols loaded. clr.dll!DispatchCallSimple() Unknown Symbols loaded. clr.dll!InvokeNotifyInner() Unknown Symbols loaded. clr.dll!InvokeNotify() Unknown Symbols loaded. clr.dll!DistributeEventReliably() Unknown Symbols loaded. clr.dll!AppDomain::RaiseOneExitProcessEvent() Unknown Symbols loaded. clr.dll!AppDomain::RaiseOneExitProcessEvent_Wrapper() Unknown Symbols loaded. clr.dll!AppDomain::RaiseExitProcessEvent(void) Unknown Symbols loaded. clr.dll!FinalizerThread::FinalizerThreadStart(void *) Unknown Symbols loaded. clr.dll!Thread::intermediateThreadProc(void *) Unknown Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::ThreadProcHook(void * lpThreadData=0x00000000425e2cf0) Line 2021 C++ Symbols loaded. kernel32.dll!00007ff8d10c4034() Unknown No symbols loaded. ntdll.dll!00007ff8d3c93691() Unknown No symbols loaded.
Run with Office2010.cjstyles and I get an assert and quick shutdown (I'm in debug and I can't even react quickly enough to the assert to stop the debugger) occurs at line 658 in XTPSynchro.h because the pObject input is null.
template<class T> AFX_INLINE CXTPAsyncGuard<T, CXTPRWCriticalSection::CSharedLock> XTPAccessShared(T* pObject, long& nConditionCounter) { ASSERT(NULL != pObject); return CXTPAsyncGuard<T, CXTPRWCriticalSection::CSharedLock>( *pObject, pObject->CXTPSynchronized::GetAccessCriticalSection(), nConditionCounter); }
Run with WinXP.Royale.cjstyles and the same happens as with Offic2010.cjstyles. But, then the process hangs as it won't exit due to the crt seh :
ntdll.dll!NtWaitForSingleObject() Unknown Symbols loaded. KernelBase.dll!WaitForSingleObjectEx() Unknown Symbols loaded. d3d10warp.dll!ThreadPool::WaitWhileBusy(struct WarpPlatform::Event *,int) Unknown Symbols loaded. d3d10warp.dll!DeinitDLL(void) Unknown Symbols loaded. d3d10warp.dll!DllMain() Unknown Symbols loaded. d3d10warp.dll!dllmain_dispatch() Unknown Symbols loaded. ntdll.dll!LdrpCallInitRoutine() Unknown Symbols loaded. ntdll.dll!LdrShutdownProcess() Unknown Symbols loaded. ntdll.dll!RtlExitUserProcess() Unknown Symbols loaded. kernel32.dll!ExitProcessImplementation() Unknown Symbols loaded. mscoreei.dll!00007ff8b609ee58() Unknown No symbols loaded. mscoree.dll!ShellShim_CorExitProcess() Unknown Symbols loaded. ucrtbased.dll!try_cor_exit_process(const unsigned int return_code=0) Line 98 C++ Symbols loaded. ucrtbased.dll!exit_or_terminate_process(const unsigned int return_code=0) Line 143 C++ Symbols loaded. ucrtbased.dll!common_exit(const int return_code=0, const _crt_exit_cleanup_mode cleanup_mode=_crt_exit_full_cleanup, const _crt_exit_return_mode return_mode=_crt_exit_terminate_process) Line 282 C++ Symbols loaded. ucrtbased.dll!exit(int return_code=0) Line 294 C++ Symbols loaded. > EdgeD.exe!__scrt_common_main_seh() Line 297 C++ Symbols loaded. EdgeD.exe!__scrt_common_main() Line 331 C++ Symbols loaded. EdgeD.exe!wWinMainCRTStartup() Line 17 C++ Symbols loaded. kernel32.dll!BaseThreadInitThunk() Unknown Symbols loaded. ntdll.dll!RtlUserThreadStart() Unknown Symbols loaded.
Run with Windows10.cjstyles and I see another AV (nConditionCounter was 0xFFFFFFFFFFFFFFFF) when trying to enter CXTPAsyncGuard.
> ToolkitPro1900vc150x64UD.dll!CXTPAsyncGuard<CXTPSkinManagerApiHook,CXTPRWCriticalSection::CSharedLock>::CXTPAsyncGuard<CXTPSkinManagerApiHook,CXTPRWCriticalSection::CSharedLock>(CXTPSkinManagerApiHook & adaptee, CXTPRWCriticalSection & cs, long & nConditionCounter) Line 446 C++ Symbols loaded. ToolkitPro1900vc150x64UD.dll!XTPAccessShared<CXTPSkinManagerApiHook>(CXTPSkinManagerApiHook * pObject=0xdddddddddddddddd, long & nConditionCounter) Line 659 C++ Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::GetHookedFunction(XTPSkinFrameworkApiFunctionIndex nIndex=xtpSkinApiGetModuleHandleW_KERNEL32) Line 526 C++ Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::EnterHookedCall(XTPSkinFrameworkApiFunctionIndex nIndex=xtpSkinApiGetModuleHandleW_KERNEL32) Line 1253 C++ Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::OnHookGetModuleHandleW(XTPSkinFrameworkApiFunctionIndex nFunctionIndex=xtpSkinApiGetModuleHandleW_KERNEL32, const wchar_t * lpModuleName=0x0000000000000000) Line 3641 C++ Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::OnHookGetModuleHandleW_KERNEL32(const wchar_t * lpModuleName=0x0000000000000000) Line 3204 C++ Symbols loaded. System.Windows.Forms.ni.dll!00007ff8738f7560() Unknown No symbols loaded. System.Windows.Forms.ni.dll!00007ff8738955a9() Unknown No symbols loaded. System.Windows.Forms.ni.dll!00007ff87385a277() Unknown No symbols loaded. System.Windows.Forms.ni.dll!00007ff873855e79() Unknown No symbols loaded. clr.dll!CallDescrWorkerInternal() Unknown Symbols loaded. clr.dll!CallDescrWorkerWithHandler() Unknown Symbols loaded. clr.dll!DispatchCallSimple() Unknown Symbols loaded. clr.dll!InvokeNotifyInner() Unknown Symbols loaded. clr.dll!InvokeNotify() Unknown Symbols loaded. clr.dll!DistributeEventReliably() Unknown Symbols loaded. clr.dll!AppDomain::RaiseOneExitProcessEvent() Unknown Symbols loaded. clr.dll!AppDomain::RaiseOneExitProcessEvent_Wrapper() Unknown Symbols loaded. clr.dll!AppDomain::RaiseExitProcessEvent(void) Unknown Symbols loaded. clr.dll!FinalizerThread::FinalizerThreadStart(void *) Unknown Symbols loaded. clr.dll!Thread::intermediateThreadProc(void *) Unknown Symbols loaded. ToolkitPro1900vc150x64UD.dll!CXTPSkinManagerApiHook::ThreadProcHook(void * lpThreadData=0x0000000042b4c8f0) Line 2021 C++ Symbols loaded. kernel32.dll!BaseThreadInitThunk() Unknown Symbols loaded. ntdll.dll!RtlUserThreadStart() Unknown Symbols loaded.
All I have to do to get the above issues is merely start the app and then exit. Our app has native and .NET components in it. And, I only see this if I load a skin. I got that last one using skins I had used previously, including some that were downloaded from the 'net and which have worked for years. I got rid of all "old" skins and ran the test that resulted with the above issues using the V19 skins in the CJ Utils\Styles folders.
Is CJ V19 skin framework incompatible with the .NET runtime on Windows 10?
|