In rP7259 there was a local variable handled without value initialization resulting in undefined behavior.
==32499== Conditional jump or move depends on uninitialised value(s) ==32499== at 0x5A250F: CGUIManager::HandleEvent(SDL_Event_ const*) (GUIManager.cpp:330) ==32499== by 0x5A1F77: gui_handler(SDL_Event_ const*) (GUIManager.cpp:48) ==32499== by 0x60CF49: in_dispatch_event(SDL_Event_ const*) (input.cpp:62) ==32499== by 0x187708: PumpEvents (main.cpp:227) ==32499== by 0x187708: Frame (main.cpp:367) ==32499== by 0x187708: RunGameOrAtlas(int, char const**) (main.cpp:638) ==32499== by 0x1851B4: main (main.cpp:684) ==32499== Uninitialised value was created by a stack allocation ==32499== at 0x5A1FC0: CGUIManager::HandleEvent(SDL_Event_ const*) (GUIManager.cpp:315) ==32499== ==32499== Conditional jump or move depends on uninitialised value(s) ==32499== at 0x60CF4D: in_dispatch_event(SDL_Event_ const*) (input.cpp:64) ==32499== by 0x187708: PumpEvents (main.cpp:227) ==32499== by 0x187708: Frame (main.cpp:367) ==32499== by 0x187708: RunGameOrAtlas(int, char const**) (main.cpp:638) ==32499== by 0x1851B4: main (main.cpp:684) ==32499== Uninitialised value was created by a stack allocation ==32499== at 0x5A1FC0: CGUIManager::HandleEvent(SDL_Event_ const*) (GUIManager.cpp:315) ==32499== ==32499== Conditional jump or move depends on uninitialised value(s) ==32499== at 0x60CF52: in_dispatch_event(SDL_Event_ const*) (input.cpp:67) ==32499== by 0x187708: PumpEvents (main.cpp:227) ==32499== by 0x187708: Frame (main.cpp:367) ==32499== by 0x187708: RunGameOrAtlas(int, char const**) (main.cpp:638) ==32499== by 0x1851B4: main (main.cpp:684) ==32499== Uninitialised value was created by a stack allocation ==32499== at 0x5A1FC0: CGUIManager::HandleEvent(SDL_Event_ const*) (GUIManager.cpp:315)