Print Page | Close Window

Problem after update from 9.7 to 10.2

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=4535
Printed Date: 10 November 2025 at 8:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem after update from 9.7 to 10.2
Posted By: jerry2000
Subject: Problem after update from 9.7 to 10.2
Date Posted: 04 July 2006 at 8:37am
The application chrashes during the exit process. The exception is thrown in the bold marked line:

void CThreadSlotData::FreeSlot(int nSlot)
{
    EnterCriticalSection(&m_sect);
    ASSERT(nSlot != 0 && nSlot < m_nMax);
    ASSERT(m_pSlotData != NULL);
    ASSERT(m_pSlotData[nSlot].dwFlags & SLOT_USED);
    if( nSlot <= 0 || nSlot >= m_nMax ) // check for retail builds.
        return;

    // delete the data from all threads/processes
    CThreadData* pData = m_list;
    while (pData != NULL)
    {
        if (nSlot < pData->nCount)
        {
            delete (CNoTrackObject*)pData->pData[nSlot];
            pData->pData[nSlot] = NULL;
        }  
        pData = pData->pNext;
......


The error occurs only when the application is exited immediately after the start. Only a double click in a list box is done. This click opens a second frame window. When i open the second frame window with a menu entry, there is no problem!

Here the call stack


mfc80ud.dll!CThreadSlotData::FreeSlot(int nSlot=0x00000008)  Line 231 + 0x25 bytes    C++
mfc80ud.dll!CThreadLocalObject::~CThreadLocalObject()  Line 446    C++
ToolkitPro1020vc80UD.dll!CThreadLocal<CXTPMouseManager>::~CThreadLocal<CXTPMouseManager>()  + 0x2b bytes    C++
ToolkitPro1020vc80UD.dll!`dynamic atexit destructor for 'CXTPMouseManager::_xtpMouseThreadState''()  + 0x28 bytes    C++
ToolkitPro1020vc80UD.dll!_CRT_INIT(void * hDllHandle=0x00a30000, unsigned long dwReason=0x00000000, void * lpreserved=0x00000001)  Line 417    C
ToolkitPro1020vc80UD.dll!__DllMainCRTStartup(void * hDllHandle=0x00a30000, unsigned long dwReason=0x00000000, void * lpreserved=0x00000001)  Line 509 + 0x11 bytes    C
ToolkitPro1020vc80UD.dll!_DllMainCRTStartup(void * hDllHandle=0x00a30000, unsigned long dwReason=0x00000000, void * lpreserved=0x00000001)  Line 459 + 0x11 bytes    C
ntdll.dll!LdrInitializeThunk()  + 0x29 bytes   
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]   
ntdll.dll!LdrShutdownProcess()  + 0x142 bytes   
kernel32.dll!IsValidLocale()  + 0x8eb bytes   
kernel32.dll!ExitProcess()  + 0x14 bytes   
msvcr80d.dll!__crtExitProcess(int status=0x00000000)  Line 684    C
msvcr80d.dll!doexit(int code=0x00000000, int quick=0x00000000, int retcaller=0x00000000)  Line 596 + 0x9 bytes    C
msvcr80d.dll!exit(int code=0x00000000)  Line 398 + 0xd bytes    C
M230.exe!__tmainCRTStartup()  Line 599    C
M230.exe!wWinMainCRTStartup()  Line 403    C
kernel32.dll!RegisterWaitForInputIdle()  + 0x49 bytes


Has anybody an idea what is changed between this two versions? I have also tried the 9.81 version with the same troubles!

pleas help



Replies:
Posted By: Oleg
Date Posted: 05 July 2006 at 8:39am
Hi,
 
Hmm. Can you create new issue in issuetrack and describe architecture of application better. Is all application single exe? SDI/MDI/Dialog Based etc?
May be you can recreate it with new simple application with same architecture?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jerry2000
Date Posted: 05 July 2006 at 9:39am
Hi,

Today is my last working day. Tomorrow my holidays start. I come back in three weeks, then i start with the issue.

cu



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