{"action":"created","issue":{"url":"https://api.github.com/repos/supertuxkart/stk-code/issues/2567","repository_url":"https://api.github.com/repos/supertuxkart/stk-code","labels_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/2567/labels{/name}","comments_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/2567/comments","events_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/2567/events","html_url":"https://github.com/supertuxkart/stk-code/issues/2567","id":164735649,"number":2567,"title":"Crash in cutscene","user":{"login":"deveee","id":5108558,"avatar_url":"https://avatars.githubusercontent.com/u/5108558?v=3","gravatar_id":"","url":"https://api.github.com/users/deveee","html_url":"https://github.com/deveee","followers_url":"https://api.github.com/users/deveee/followers","following_url":"https://api.github.com/users/deveee/following{/other_user}","gists_url":"https://api.github.com/users/deveee/gists{/gist_id}","starred_url":"https://api.github.com/users/deveee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deveee/subscriptions","organizations_url":"https://api.github.com/users/deveee/orgs","repos_url":"https://api.github.com/users/deveee/repos","events_url":"https://api.github.com/users/deveee/events{/privacy}","received_events_url":"https://api.github.com/users/deveee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-10T21:40:10Z","updated_at":"2016-07-11T08:11:46Z","closed_at":null,"body":"Reported on the forum:\r\nhttp://forum.freegamedev.net/viewtopic.php?f=17&t=7057&sid=d8b2feda58fea93544b5f671b50495dc\r\n\r\nBacktrace:\r\n```\r\n    Program received signal SIGSEGV, Segmentation fault.\r\n    0x0000000000969499 in CutsceneWorld::update (this=0x7fff96d0daf0,\r\n        dt=0.0500000007)\r\n        at /home/farrer/projetos/supertuxkart/stk-code/src/modes/cutscene_world.cpp:296\r\n    296             m_camera->setPosition(anchorNode->getPosition());\r\n\r\n    (gdb) where\r\n    #0  0x0000000000969499 in CutsceneWorld::update (this=0x7fff96d0daf0,       \r\n        dt=0.0500000007)\r\n        at /home/farrer/projetos/supertuxkart/stk-code/src/modes/cutscene_world.cpp:296\r\n    #1  0x0000000000959cb4 in World::updateWorld (this=0x7fff96d0daf0,\r\n        dt=<optimized out>)\r\n        at /home/farrer/projetos/supertuxkart/stk-code/src/modes/world.cpp:882\r\n    #2  0x000000000094a644 in MainLoop::run (this=0x7490390)\r\n        at /home/farrer/projetos/supertuxkart/stk-code/src/main_loop.cpp:154\r\n    #3  0x0000000000648959 in main (argc=<optimized out>, argv=<optimized out>)\r\n        at /home/farrer/projetos/supertuxkart/stk-code/src/main.cpp:1672\r\n```\r\n\r\nIt may be related to camera refactoring."},"comment":{"url":"https://api.github.com/repos/supertuxkart/stk-code/issues/comments/231668565","html_url":"https://github.com/supertuxkart/stk-code/issues/2567#issuecomment-231668565","issue_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/2567","id":231668565,"user":{"login":"Benau","id":3252341,"avatar_url":"https://avatars.githubusercontent.com/u/3252341?v=3","gravatar_id":"","url":"https://api.github.com/users/Benau","html_url":"https://github.com/Benau","followers_url":"https://api.github.com/users/Benau/followers","following_url":"https://api.github.com/users/Benau/following{/other_user}","gists_url":"https://api.github.com/users/Benau/gists{/gist_id}","starred_url":"https://api.github.com/users/Benau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benau/subscriptions","organizations_url":"https://api.github.com/users/Benau/orgs","repos_url":"https://api.github.com/users/Benau/repos","events_url":"https://api.github.com/users/Benau/events{/privacy}","received_events_url":"https://api.github.com/users/Benau/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T08:11:46Z","updated_at":"2016-07-11T08:11:46Z","body":"````\r\n==7360== Conditional jump or move depends on uninitialised value(s)\r\n==7360==    at 0xB24E7D: Camera::changeCamera(unsigned int, Camera::CameraType) (camera.cpp:93)\r\n==7360==    by 0xB24F35: Camera::resetAllCameras() (camera.cpp:109)\r\n==7360==    by 0x9403EA: World::reset() (world.cpp:263)\r\n==7360==    by 0xD1E8A4: RaceManager::startNextRace() (race_manager.cpp:543)\r\n==7360==    by 0xD1E3C3: RaceManager::startNew(bool) (race_manager.cpp:452)\r\n==7360==    by 0xD1FCD2: RaceManager::startSingleRace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool) (race_manager.cpp:933)\r\n==7360==    by 0xCAD74C: MainMenuScreen::eventCallback(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) (main_menu_screen.cpp:275)\r\n==7360==    by 0xA68074: GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) (event_handler.cpp:528)\r\n==7360==    by 0xA68295: GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) (event_handler.cpp:568)\r\n==7360==    by 0xA68512: GUIEngine::EventHandler::onGUIEvent(irr::SEvent const&) (event_handler.cpp:613)\r\n==7360==    by 0xA672E0: GUIEngine::EventHandler::OnEvent(irr::SEvent const&) (event_handler.cpp:149)\r\n==7360==    by 0x106DA08: irr::gui::CGUIButton::OnEvent(irr::SEvent const&) (CGUIButton.cpp:225)\r\n==7360==  Uninitialised value was created by a heap allocation\r\n==7360==    at 0x4C2B04C: operator new(unsigned long) (vg_replace_malloc.c:333)\r\n==7360==    by 0xB24D2B: Camera::createCamera(unsigned int, Camera::CameraType, AbstractKart*) (camera.cpp:76)\r\n==7360==    by 0xB24CBE: Camera::createCamera(AbstractKart*) (camera.cpp:58)\r\n==7360==    by 0x94759E: CutsceneWorld::init() (cutscene_world.cpp:81)\r\n==7360==    by 0xD1E88D: RaceManager::startNextRace() (race_manager.cpp:538)\r\n==7360==    by 0xD1E3C3: RaceManager::startNew(bool) (race_manager.cpp:452)\r\n==7360==    by 0xD1FCD2: RaceManager::startSingleRace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool) (race_manager.cpp:933)\r\n==7360==    by 0xCAD74C: MainMenuScreen::eventCallback(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) (main_menu_screen.cpp:275)\r\n==7360==    by 0xA68074: GUIEngine::EventHandler::sendEventToUser(GUIEngine::Widget*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) (event_handler.cpp:528)\r\n==7360==    by 0xA68295: GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int) (event_handler.cpp:568)\r\n==7360==    by 0xA68512: GUIEngine::EventHandler::onGUIEvent(irr::SEvent const&) (event_handler.cpp:613)\r\n==7360==    by 0xA672E0: GUIEngine::EventHandler::OnEvent(irr::SEvent const&) (event_handler.cpp:149)\r\n==7360== \r\n```\r\nValgrind log"}}
{"actor":{"display_login":"Benau"}}