rubenwardy/NodeBoxEditor

Valgrind Memory Error

rubenwardy opened this issue · 0 comments

==9193== Invalid read of size 8
==9193==    at 0x5728B0: irr::gui::CGUIMenu::OnEvent(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x553D98: irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x54BB28: irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x541D35: irr::CIrrDeviceLinux::run() (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x50AA06: Editor::run(irr::IrrlichtDevice*, Configuration*, bool) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x5024D3: main (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==  Address 0xdc3cb30 is 272 bytes inside a block of size 392 free'd
==9193==    at 0x4C2C2BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9193==    by 0x55832A: irr::gui::IGUIElement::removeChild(irr::gui::IGUIElement*) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x55233D: irr::gui::CGUIEnvironment::clear() (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x50605C: MenuState::init() (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x527705: FileDialog_open_project(EditorState*) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x506EE7: MenuState::OnEvent(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x50AF5A: Editor::OnEvent(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x572653: irr::gui::CGUIMenu::OnEvent(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x6D9A3B: irr::gui::CGUIContextMenu::sendClick(irr::core::vector2d<int> const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x6D9967: irr::gui::CGUIContextMenu::sendClick(irr::core::vector2d<int> const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x5728A6: irr::gui::CGUIMenu::OnEvent(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)
==9193==    by 0x553D98: irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) (in /home/rubenwardy/dev/nodeboxeditor/bin/nodeboxeditor)