Page 1 of 1

Application Crash

Posted: Wed Jan 02, 2008 16:09
by daves
The following is a stack trace associated with a lurking bug within our application.

We recently turned on the use of tooltips within the application. The stack trace seems to indicate something relative to this mechanism.

Code: Select all

stack follows:
  msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x011cb4c8, const wchar_t * file=0x011cb510, unsigned int line=756)  Line 24 C++
  CEGUIBase_d.dll!std::vector<CEGUI::Window *,std::allocator<CEGUI::Window *> >::operator[](unsigned int _Pos=156)  Line 756 + 0x17 bytes C++
> CEGUIBase_d.dll!CEGUI::Window::update(float elapsed=0.79500002)  Line 1746 + 0x16 bytes C++
  CEGUIBase_d.dll!CEGUI::System::injectTimePulse(float timeElapsed=0.79500002)  Line 1004 C++
  svt.exe!GUIManager::update(const WIN32_TimeStamp & currTime={...}, const WIN32_TimeStamp & timeSinceLastUpdate={...})  Line 1418 + 0x15 bytes C++
  svt.exe!MainApp::processTimerClients()  Line 428 + 0x2c bytes C++
  svt.exe!MainApp::start()  Line 384 C++
  svt.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * __formal=0x00000000, char * strCmdLine=0x00151f09, HINSTANCE__ * __formal=0x00000000)  Line 34 C++
  svt.exe!__tmainCRTStartup()  Line 589 + 0x35 bytes C
  svt.exe!WinMainCRTStartup()  Line 414 C






At the time of the crash the cegui is processing the time pulse injection for the MainView. The debugger says that this window should have 157 children, though the vector of children seen down inside ceguiwindow.cpp seems to be 156 long.

Any thoughts what this might be, or how to further isolate?

Posted: Thu Jan 03, 2008 09:47
by CrazyEddie
Hi,

not sure exactly what to suggest. Do tool-tips ever work, or is it a case of whenever you try to use them you get the crash? If tool-tips never work right could you post the code that initialises the tool-tip related stuff? Oh, and I assume there is nothing of interest in the CEGUI.log?

CE

Posted: Fri Jan 04, 2008 13:44
by daves
yes tooltips seem to work. next time i see this crash i'll capture the cegui log.