Horde3D

Next-Generation Graphics Engine
It is currently 28.03.2024, 11:18

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 04.12.2010, 16:49 
Offline

Joined: 28.11.2010, 22:45
Posts: 1
Greetings to community.

Just downloaded Gameengine and got first trouble:
While exiting DemoApp (it compiles okay) by pressing Escape, i got exception in this code:
Code:
TTSComponent::~TTSComponent()
{
   TTSManager::instance()->removeComponent(this);
   if (m_pVoice) m_pVoice->Release();
   CoUninitialize();
   delete m_getDistanceEvent;
}


Call stack:
Quote:
> GameSapiComponentd.dll!TTSComponent::~TTSComponent() Line 117 + 0x15 bytes C++
GameSapiComponentd.dll!TTSComponent::`scalar deleting destructor'() + 0x2b bytes C++
GameEngineCored.dll!GameEntityPrivate::~GameEntityPrivate() Line 55 + 0x2f bytes C++
GameEngineCored.dll!GameEntityPrivate::`scalar deleting destructor'() + 0x16 bytes C++
GameEngineCored.dll!GameEntity::~GameEntity() Line 130 + 0x1e bytes C++
GameEngineCored.dll!GameEntity::`scalar deleting destructor'() + 0x16 bytes C++
GameEngineCored.dll!GameWorldPrivate::~GameWorldPrivate() Line 62 + 0x29 bytes C++
GameEngineCored.dll!GameWorldPrivate::`scalar deleting destructor'() + 0x16 bytes C++
GameEngineCored.dll!GameWorld::~GameWorld() Line 119 + 0x1e bytes C++
GameEngineCored.dll!GameWorld::`scalar deleting destructor'() + 0x16 bytes C++
GameEngineCored.dll!GameModules::release() Line 38 + 0x1e bytes C++
GameEngineCored.dll!GameEngine::release() Line 78 C++
DemoAppd.exe!DemoApp::~DemoApp() Line 13 + 0x8 bytes C++
DemoAppd.exe!DemoApp::`scalar deleting destructor'() + 0x16 bytes C++
DemoAppd.exe!WinMain(HINSTANCE__ * hInstance=0x00000000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x0160740f, int nCmdShow=0) Line 76 + 0x1c bytes C++
DemoAppd.exe!main(int argc=2, char * * argv=0x016073c8) Line 85 + 0x12 bytes C++
DemoAppd.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C
DemoAppd.exe!mainCRTStartup() Line 403 C
kernel32.dll!7c817067()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
Luad.dll!_strcoll_l(const char * _string1=0x00000000, const char * _string2=0x413f2e00, localeinfo_struct * plocinfo=0x676f6c56) Line 58 + 0x27 bytes C++
6e788400()



While debugging, i noted that destructor calls two times: first time its okay, but second time i caught exception.

Also, i tried this:
Code:
if (m_pVoice)
   {
      m_pVoice->Release();
      m_pVoice = NULL;
   }

but when this function called second time, m_pVoice isnt NULL and exception raised on m_pVoice->Release();.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group