ToolkitPro - Singleton - critical section crash |
Post Reply |
Author | |
Calvin
Newbie Joined: 17 October 2017 Location: Croatia Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 10 November 2017 at 5:28am |
> I have a problem since a few days ago, cannot tell for sure. I have ToolkitPro 18.01, dinamically linked. When I start my application, it hangs and crashes in the function GetAssocAt, in afxtempl.h, but call stack suggests it is a ToolkitPro problem: ToolkitPro1801vc140x64U.dll!CMap<CXTPRWCriticalSection const * __ptr64,CXTPRWCriticalSection const * __ptr64,long,long>::GetAssocAt(const CXTPRWCriticalSection * key=0x0000000061f65d58, unsigned int & nHashBucket=1969909414, unsigned int & nHashValue=1969909414) Line 1541 C++ ToolkitPro1801vc140x64U.dll!CMap<CXTPRWCriticalSection const * __ptr64,CXTPRWCriticalSection const * __ptr64,long,long>::Lookup(const CXTPRWCriticalSection * key, long & rValue=0) Line 1556 C++ ToolkitPro1801vc140x64U.dll!CXTPRWCriticalSection::GetLocalSharedLockCounter() Line 368 C++ ToolkitPro1801vc140x64U.dll!CXTPRWCriticalSection::PushLocalSharedLockState() Line 252 C++ ToolkitPro1801vc140x64U.dll!CXTPRWCriticalSection::LockExclusive() Line 197 C++ ToolkitPro1801vc140x64U.dll!XTPAccessExclusive<CXTPApplication>(CXTPApplication * pObject=0x0000000061f65d20) Line 678 C++ ToolkitPro1801vc140x64U.dll!CXTPSingletonPointer::CXTPSingletonPointer(unsigned __int64 cbObjectSize, int (void *) * pfnCreator, void (void *) * pfnDestroyer) Line 49 C++ ToolkitPro1801vc140x64U.dll!CXTPSingleton<CXTPActiveScriptStdRuntime::TimeoutTaskRegistry>::InstancePointer() Line 144 C++ ToolkitPro1801vc140x64U.dll!`dynamic initializer for 'CXTPActiveScriptStdRuntime::TimeoutTaskRegistry::m_pInstance''() Line 608 C++ ucrtbase.dll!00007ff89a5a7f4e() Unknown ToolkitPro1801vc140x64U.dll!dllmain_crt_process_attach(HINSTANCE__ * const instance=0x00000000613b0000, void * const reserved=0x0000000000000000) Line 67 C++ ToolkitPro1801vc140x64U.dll!dllmain_dispatch(HINSTANCE__ * const instance=0x00000000613b0000, const unsigned long reason=1, void * const reserved=0x0000000000000000) Line 182 C++ However, on 2 machines in the office it still works, on 4 of them it crashes regularly. Maybe it is because of some Windows update, I have to check first.
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Calvin,
Can you provide callstack during crash for other threads? Also It will be great if you make and share sample application where we can reproduce this crash. I see your ticket on support site, so please write description and add attachment there. Regards, Oleksandr Lebed |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |