ItemListBox windows crash on creation when setting a Size Property in the LNF

Issue #868 resolved
Lukas Meindl
created an issue

Reproducibility: always

Steps to reproduce: set a Size Property ( <Property name="Size" value="0, 256}, {0, 256" /> )in the LNF and create an ItemListBox of that mapping type.

Additional information: > CEGUIBase_d.dll!CEGUI::Element::setMinSize(const CEGUI::Size<CEGUI::UDim> & size={...}) Line 139 + 0xb bytes C++ CEGUIBase_d.dll!CEGUI::ScrolledItemListBase::configureScrollbars(const CEGUI::Size<float> & doc_size={...}) Line 158 C++ CEGUIBase_d.dll!CEGUI::ItemListbox::layoutItemWidgets() Line 88 C++ CEGUIBase_d.dll!CEGUI::ItemListBase::performChildWindowLayout(bool nonclient_sized_hint=true, bool client_sized_hint=true) Line 526 + 0x12 bytes C++ CEGUIBase_d.dll!CEGUI::Window::onSized(CEGUI::ElementEventArgs & e={...}) Line 2190 + 0x13 bytes C++ CEGUIBase_d.dll!CEGUI::Element::fireAreaChangeEvents(const bool moved=false, const bool sized=true) Line 516 + 0x13 bytes C++ CEGUIBase_d.dll!CEGUI::Element::setArea_impl(const CEGUI::Vector2<CEGUI::UDim> & pos={...}, const CEGUI::Size<CEGUI::UDim> & size={...}, bool topLeftSizing=false, bool fireEvents=true) Line 502 C++ CEGUIBase_d.dll!CEGUI::Window::setArea_impl(const CEGUI::Vector2<CEGUI::UDim> & pos={...}, const CEGUI::Size<CEGUI::UDim> & size={...}, bool topLeftSizing=false, bool fireEvents=true) Line 1828 C++ CEGUIBase_d.dll!CEGUI::Element::setArea(const CEGUI::Vector2<CEGUI::UDim> & pos={...}, const CEGUI::Size<CEGUI::UDim> & size={...}) Line 94 + 0x1b bytes C++ CEGUIBase_d.dll!CEGUI::Element::setSize(const CEGUI::Size<CEGUI::UDim> & size={...}) Line 614 + 0x1f bytes C++ CEGUIBase_d.dll!CEGUI::TplWindowProperty<CEGUI::Element,CEGUI::Size<CEGUI::UDim> >::setNative_impl(CEGUI::PropertyReceiver * receiver=0x0b52c4e0, const CEGUI::Size<CEGUI::UDim> & value={...}) Line 62 + 0x1d bytes C++ CEGUIBase_d.dll!CEGUI::TypedProperty<CEGUI::Size<CEGUI::UDim> >::setNative(CEGUI::PropertyReceiver * receiver=0x0b52c4e0, const CEGUI::Size<CEGUI::UDim> & value={...}) Line 84 + 0x17 bytes C++ CEGUIBase_d.dll!CEGUI::TypedProperty<CEGUI::Size<CEGUI::UDim> >::set(CEGUI::PropertyReceiver * receiver=0x0b52c4e0, const CEGUI::String & value={...}) Line 73 + 0x24 bytes C++ CEGUIBase_d.dll!CEGUI::PropertySet::setProperty(const CEGUI::String & name={...}, const CEGUI::String & value={...}) Line 142 + 0x31 bytes C++ CEGUIBase_d.dll!CEGUI::PropertyInitialiser::apply(CEGUI::PropertySet & target={...}) Line 45 C++ CEGUIBase_d.dll!CEGUI::WidgetLookFeel::initialiseWidget(CEGUI::Window & widget={...}) Line 275 + 0x16 bytes C++ CEGUIBase_d.dll!CEGUI::Window::setLookNFeel(const CEGUI::String & look={...}) Line 1878 C++ CEGUIBase_d.dll!CEGUI::WindowManager::createWindow(const CEGUI::String & type={...}, const CEGUI::String & name={...}) Line 124 + 0x21 bytes C++ CEGUIWidgetDemo-9999.0_d.dll!WidgetDemo::createWidget(const CEGUI::String & widgetMapping={...}, const CEGUI::String & widgetType={...}) Line 427 + 0x51 bytes C++ CEGUIWidgetDemo-9999.0_d.dll!WidgetDemo::handleWidgetSelectionChanged(const CEGUI::EventArgs & args={...}) Line 229 + 0x16 bytes C++ CEGUIWidgetDemo-9999.0_d.dll!CEGUI::MemberFunctionSlot<WidgetDemo>::operator()(const CEGUI::EventArgs & args={...}) Line 55 + 0x14 bytes C++ CEGUIBase_d.dll!CEGUI::SubscriberSlot::operator()(const CEGUI::EventArgs & args={...}) Line 82 + 0x17 bytes C++ CEGUIBase_d.dll!CEGUI::Event::operator()(CEGUI::EventArgs & args={...}) Line 103 + 0x1e bytes C++ CEGUIBase_d.dll!CEGUI::EventSet::fireEvent_impl(const CEGUI::String & name={...}, CEGUI::EventArgs & args={...}) Line 199 C++ CEGUIBase_d.dll!CEGUI::EventSet::fireEvent(const CEGUI::String & name={...}, CEGUI::EventArgs & args={...}, const CEGUI::String & eventNamespace={...}) Line 160 C++ CEGUIBase_d.dll!CEGUI::Listbox::onSelectionChanged(CEGUI::WindowEventArgs & e={...}) Line 789 + 0x21 bytes C++ CEGUIBase_d.dll!CEGUI::Listbox::onMouseButtonDown(CEGUI::MouseEventArgs & e={...}) Line 890 + 0x16 bytes C++ CEGUIBase_d.dll!CEGUI::GUIContext::injectMouseButtonDown(CEGUI::MouseButton button=LeftButton) Line 724 + 0x16 bytes C++ CEGUISampleFramework_d.exe!SamplesFramework::injectMouseButtonDown(const CEGUI::MouseButton & ceguiMouseButton=LeftButton) Line 218 + 0x37 bytes C++ CEGUISampleFramework_d.exe!CEGuiGLFWSharedBase::glfwMouseButtonCallback(int key=0, int action=1) Line 220 + 0x19 bytes C++ glfw.dll!6ae86c66() [Frames below may be incorrect and/or missing, no symbols loaded for glfw.dll] glfw.dll!6ae85625() user32.dll!_InternalCallWinProc@20() + 0x23 bytes user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes user32.dll!_CallWindowProcAorW@24() + 0x5e bytes user32.dll!_CallWindowProcW@20() + 0x1b bytes opengl32.dll!_wglWndProc@16() + 0x20b bytes user32.dll!_InternalCallWinProc@20() + 0x23 bytes user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes user32.dll!_DispatchMessageWorker@8() + 0xed bytes user32.dll!_DispatchMessageA@4() + 0xf bytes glfw.dll!6ae869cc() glfw.dll!6ae863ac() CEGUISampleFramework_d.exe!CEGuiGLFWSharedBase::endRendering() Line 115 + 0x8 bytes C++ CEGUISampleFramework_d.exe!CEGuiBaseApplication::renderSingleFrame(const float elapsed=0.0024772675) Line 106 + 0xf bytes C++ CEGUISampleFramework_d.exe!CEGuiGLFWSharedBase::drawFrame() Line 127 C++ CEGUISampleFramework_d.exe!CEGuiGLFWSharedBase::run() Line 96 C++ CEGUISampleFramework_d.exe!CEGuiBaseApplication::execute(SamplesFrameworkBase * sampleApp=0x00e1fa3c) Line 160 + 0x15 bytes 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. Log in to comment