Application Crash

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

Application Crash

Postby daves » Wed Jan 02, 2008 16:09

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?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Jan 03, 2008 09:47

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

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

Postby daves » Fri Jan 04, 2008 13:44

yes tooltips seem to work. next time i see this crash i'll capture the cegui log.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 23 guests