{"action":"created","issue":{"url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG/issues/108","repository_url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG","labels_url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG/issues/108/comments","events_url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG/issues/108/events","html_url":"https://github.com/OpenTechEngine/OpenTechBFG/issues/108","id":166342212,"number":108,"title":"openal causes SIGSEGV on \"crash\"","user":{"login":"kortemik","id":884026,"avatar_url":"https://avatars.githubusercontent.com/u/884026?v=3","gravatar_id":"","url":"https://api.github.com/users/kortemik","html_url":"https://github.com/kortemik","followers_url":"https://api.github.com/users/kortemik/followers","following_url":"https://api.github.com/users/kortemik/following{/other_user}","gists_url":"https://api.github.com/users/kortemik/gists{/gist_id}","starred_url":"https://api.github.com/users/kortemik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortemik/subscriptions","organizations_url":"https://api.github.com/users/kortemik/orgs","repos_url":"https://api.github.com/users/kortemik/repos","events_url":"https://api.github.com/users/kortemik/events{/privacy}","received_events_url":"https://api.github.com/users/kortemik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T14:15:05Z","updated_at":"2016-07-19T14:20:10Z","closed_at":null,"body":"...\r\nentered \"developer 1\" and \"crash\" on the console:\r\n```\r\nProgram received signal SIGILL, Illegal instruction.\r\nBFG::crash_f (args=...) at /home/kordex/code/OpenTechBFG/neo/framework/Common.cpp:633\r\n633\t\t__builtin_trap();\r\n```\r\nas expected. But later:\r\n```\r\nsoundSystem->Shutdown();\r\n[Thread 0x7fffcca3c700 (LWP 13456) exited]\r\nAL lib: (WW) FreeDevice: (0x39e7d90) Deleting 3 Buffer(s)\r\n[Thread 0x7fffcd23d700 (LWP 13455) exited]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x000000000076ee95 in BFG::idSoundSystemLocal::StopVoicesWithSample (this=0x12b3e60 <BFG::soundSystemLocal>, sample=sample@entry=0x44dced0)\r\n    at /home/kordex/code/OpenTechBFG/neo/sound/snd_system.cpp:551\r\n551\t\t\t\t\tif( emitter->channels[i]->leadinSample == sample || emitter->channels[i]->loopingSample == sample )\r\n(gdb) bt full\r\n#0  0x000000000076ee95 in BFG::idSoundSystemLocal::StopVoicesWithSample (this=0x12b3e60 <BFG::soundSystemLocal>, sample=sample@entry=0x44dced0)\r\n    at /home/kordex/code/OpenTechBFG/neo/sound/snd_system.cpp:551\r\n        i = 0\r\n        emitter = 0x3fde9d0\r\n        e = 0\r\n        sw = 0x3fdb430\r\n        w = 0\r\n#1  0x0000000000acc484 in BFG::idSoundSample_OpenAL::FreeData (this=0x44dced0) at /home/kordex/code/OpenTechBFG/neo/sound/OpenAL/AL_SoundSample.cpp:636\r\nNo locals.\r\n#2  BFG::idSoundSample_OpenAL::~idSoundSample_OpenAL (this=0x44dced0, __in_chrg=<optimized out>)\r\n    at /home/kordex/code/OpenTechBFG/neo/sound/OpenAL/AL_SoundSample.cpp:118\r\nNo locals.\r\n#3  0x000000000076f030 in BFG::idSoundSample::~idSoundSample (this=0x44dced0, __in_chrg=<optimized out>)\r\n    at /home/kordex/code/OpenTechBFG/neo/idlib/../sound/OpenAL/AL_SoundSample.h:237\r\nNo locals.\r\n#4  BFG::idSoundSample::~idSoundSample (this=0x44dced0, __in_chrg=<optimized out>)\r\n    at /home/kordex/code/OpenTechBFG/neo/idlib/../sound/OpenAL/AL_SoundSample.h:237\r\nNo locals.\r\n#5  0x000000000076d13f in BFG::idList<BFG::idSoundSample*, (BFG::memTag_t)32>::DeleteContents (clear=true, this=0x12b5638 <BFG::soundSystemLocal+6104>)\r\n    at /home/kordex/code/OpenTechBFG/neo/idlib/../idlib/containers/List.h:294\r\n        i = 0\r\n#6  BFG::idSoundSystemLocal::Shutdown (this=0x12b3e60 <BFG::soundSystemLocal>) at /home/kordex/code/OpenTechBFG/neo/sound/snd_system.cpp:259\r\nNo locals.\r\n#7  0x0000000000601cb3 in BFG::idCommonLocal::Shutdown (this=0xfd7ee0 <BFG::commonLocal>) at /home/kordex/code/OpenTechBFG/neo/framework/Common.cpp:1560\r\n        this = 0xfd7ee0 <BFG::commonLocal>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG/issues/comments/233647682","html_url":"https://github.com/OpenTechEngine/OpenTechBFG/issues/108#issuecomment-233647682","issue_url":"https://api.github.com/repos/OpenTechEngine/OpenTechBFG/issues/108","id":233647682,"user":{"login":"BielBdeLuna","id":2709433,"avatar_url":"https://avatars.githubusercontent.com/u/2709433?v=3","gravatar_id":"","url":"https://api.github.com/users/BielBdeLuna","html_url":"https://github.com/BielBdeLuna","followers_url":"https://api.github.com/users/BielBdeLuna/followers","following_url":"https://api.github.com/users/BielBdeLuna/following{/other_user}","gists_url":"https://api.github.com/users/BielBdeLuna/gists{/gist_id}","starred_url":"https://api.github.com/users/BielBdeLuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BielBdeLuna/subscriptions","organizations_url":"https://api.github.com/users/BielBdeLuna/orgs","repos_url":"https://api.github.com/users/BielBdeLuna/repos","events_url":"https://api.github.com/users/BielBdeLuna/events{/privacy}","received_events_url":"https://api.github.com/users/BielBdeLuna/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T14:20:10Z","updated_at":"2016-07-19T14:20:10Z","body":"in RBDoom3BFG I don't get that error:\r\n\r\n```\r\n]developer 1\r\n]crash \r\nwriting to: /home/biel/.rbdoom3bfg/base/consoleHistory.txt\r\nsignal caught: Illegal instruction\r\nsi_code 2\r\nTrying to exit gracefully..\r\nsession->GetSaveGameManager().CancelToTerminate();\r\nsoundSystem->StopAllSounds();\r\nStop();\r\n--------- Game Map Shutdown ----------\r\n--------------------------------------\r\nCleanupShell();\r\ndelete loadGUI;\r\ndelete renderWorld;\r\ndelete soundWorld;\r\ndelete menuSoundWorld;\r\nsession->ShutdownSoundRelatedSystems();\r\nsession->Shutdown();\r\ngame->Leaderboards_Shutdown();\r\nuiManager->Shutdown();\r\nsoundSystem->Shutdown();\r\nAL lib: (WW) FreeDevice: (0x7986100) Deleting 262 Buffer(s)\r\nusercmdGen->Shutdown();\r\neventLoop->Shutdown();\r\ndeclManager->Shutdown();\r\nrenderSystem->Shutdown();\r\nidRenderSystem::Shutdown()\r\nShutting down OpenGL subsystem\r\ncommonDialog.Shutdown();\r\nUnloadGameDLL();\r\n------------ Game Shutdown -----------\r\n--------- Game Map Shutdown ----------\r\n--------------------------------------\r\nShutdown event system\r\n--------------------------------------\r\nsaveFile.Clear( true );\r\nstringsFile.Clear( true );\r\nCloseLogFile();\r\nfileSystem->Shutdown( false );\r\nSys_Shutdown();\r\nconsole->Shutdown();\r\nidKeyInput::Shutdown();\r\ncvarSystem->Shutdown();\r\ncmdSystem->Shutdown();\r\nClearWarnings( GAME_NAME \" shutdown\" );\r\nwarningCaption.Clear();\r\nerrorList.Clear();\r\nidLib::ShutDown();\r\nshutdown terminal support\r\nbiel@Biel-laptop:/usr/local/share/d3bfg$ \r\n```\r\n"}}
{"actor":{"display_login":"BielBdeLuna"}}