Destroying GUIContext makes destruction of associated windows lead to a crash afterwards

Issue #864 resolved
Lukas Meindl created an issue

Reproducibility: always

Steps to reproduce: 1. Make guicontext 2. Attach window to it 3. Destroy GUICOntext 4. Destroy System

Or run samplebrowser and quit it

Additional information: > CEGUIBase_d.dll!CEGUI::Window::syncTargetSurface() Line 1138 + 0x16 bytes C++ CEGUIBase_d.dll!CEGUI::Window::setParent(CEGUI::Element * parent=0x00000000) Line 1127 C++ CEGUIBase_d.dll!CEGUI::Element::removeChild_impl(CEGUI::Element * element=0x0b3008f0) Line 563 + 0x11 bytes C++ CEGUIBase_d.dll!CEGUI::Window::removeChild_impl(CEGUI::Element * element=0x0b3008f0) Line 1199 C++ CEGUIBase_d.dll!CEGUI::Element::removeChild(CEGUI::Element * element=0x0b3008f0) Line 355 + 0x13 bytes C++ CEGUIBase_d.dll!CEGUI::Window::cleanupChildren() Line 1159 C++ CEGUIBase_d.dll!CEGUI::Window::destroy() Line 1720 + 0x12 bytes C++ CEGUIBase_d.dll!CEGUI::WindowManager::destroyWindow(CEGUI::Window * window=0x0b1c5630) Line 215 + 0xf bytes C++ CEGUIBase_d.dll!CEGUI::WindowManager::destroyAllWindows() Line 233 + 0x32 bytes C++ CEGUIBase_d.dll!CEGUI::System::System() Line 273 C++ CEGUIBase_d.dll!CEGUI::System::`vector deleting destructor'() + 0x57 bytes C++ CEGUIBase_d.dll!CEGUI::System::destroy() Line 911 + 0x24 bytes C++ CEGUISampleFramework_d.exe!CEGuiBaseApplication::cleanup() Line 174 + 0x8 bytes C++ CEGUISampleFramework_d.exe!CEGuiBaseApplication::execute(SamplesFrameworkBase * sampleApp=0x00eefd6c) Line 163 C++ CEGUISampleFramework_d.exe!SamplesFrameworkBase::runApplication() Line 267 + 0xf bytes C++ CEGUISampleFramework_d.exe!SamplesFrameworkBase::run() Line 130 + 0xf bytes C++ CEGUISampleFramework_d.exe!main(int formal=1, int formal=1) Line 61 + 0x8 bytes C++ CEGUISampleFramework_d.exe!tmainCRTStartup() Line 555 + 0x19 bytes C CEGUISampleFramework_d.exe!mainCRTStartup() Line 371 C kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes ntdll.dll!_RtlUserThreadStart@8() + 0x27 bytes ntdll.dll!RtlUserThreadStart@8() + 0x1b bytes

Comments (1)

  1. Paul Turner

    changeset: 3464:5a5be0268487 user: Paul Turner <paul@cegui.org.uk> date: Thu Jul 19 10:16:49 2012 +0100 summary: FIX: Ensure Window target surfaces are in sync when setting GUIContext.

  2. Log in to comment