Skip to content

Instantly share code, notes, and snippets.

Created September 6, 2015 19:13
Show Gist options
  • Save anonymous/6f49bedfc3a31267c07d to your computer and use it in GitHub Desktop.
Save anonymous/6f49bedfc3a31267c07d to your computer and use it in GitHub Desktop.
irrlicht 1.8.2 crash with gcc 5.2 recorded with valgrind
==2593== Use of uninitialised value of size 8
==2593== at 0x40218D: MyEventReceiver::OnEvent(irr::SEvent const&) (main.cpp:79)
==2593== by 0x52B77B0: irr::gui::CGUIEnvironment::updateHoveredElement(irr::core::vector2d<int>) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x52B7A94: irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x5288928: irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x527EA51: irr::CIrrDeviceLinux::run() (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x401DA5: main (main.cpp:275)
==2593== Uninitialised value was created by a stack allocation
==2593== at 0x52B76A0: irr::gui::CGUIEnvironment::updateHoveredElement(irr::core::vector2d<int>) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593==
==2593== Invalid read of size 8
==2593== at 0x40218D: MyEventReceiver::OnEvent(irr::SEvent const&) (main.cpp:79)
==2593== by 0x52B77B0: irr::gui::CGUIEnvironment::updateHoveredElement(irr::core::vector2d<int>) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x52B7A94: irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x5288928: irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x527EA51: irr::CIrrDeviceLinux::run() (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x401DA5: main (main.cpp:275)
==2593== Address 0xde8b3200000000f is not stack'd, malloc'd or (recently) free'd
==2593==
==2593==
==2593== Process terminating with default action of signal 11 (SIGSEGV)
==2593== General Protection Fault
==2593== at 0x40218D: MyEventReceiver::OnEvent(irr::SEvent const&) (main.cpp:79)
==2593== by 0x52B77B0: irr::gui::CGUIEnvironment::updateHoveredElement(irr::core::vector2d<int>) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x52B7A94: irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x5288928: irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x527EA51: irr::CIrrDeviceLinux::run() (in /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.1)
==2593== by 0x401DA5: main (main.cpp:275)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment