{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/832","labels_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/832/labels{/name}","comments_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/832/comments","events_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/832/events","html_url":"https://github.com/OpenDungeons/OpenDungeons/issues/832","id":92942345,"number":832,"title":"Crash at startup when using SFML Audio 2.3","user":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/milestones/5","html_url":"https://github.com/OpenDungeons/OpenDungeons/milestones/0.6.0","labels_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/milestones/5/labels","id":1018294,"number":5,"title":"0.6.0","description":"The shiny one. 0.5.0 has established a good base concerning the UI, game play and normal use on models.\r\n\r\nNow, we will polish all that and add more advanced functionalities and gameplay.\r\n\r\nBridges and doors are the next things to do, along with creature's equipment.\r\nIf all goes well, a fully functional editor and user custom levels will be fully supported, along a new option menu.","creator":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":81,"state":"open","created_at":"2015-03-12T13:31:55Z","updated_at":"2015-07-06T14:49:25Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-03T22:07:59Z","updated_at":"2015-07-06T14:49:26Z","closed_at":"2015-07-06T14:49:25Z","body":"Here is the valgrind log:\r\n```\r\n==7634== Invalid write of size 8\r\n==7634==    at 0x81DCAFE: sf::Mutex::Mutex() (in /usr/lib/x86_64-linux-gnu/libsfml-system.so.2.3.0)\r\n==7634==    by 0x7FC4EDE: sf::Music::Music() (in /usr/lib/x86_64-linux-gnu/libsfml-audio.so.2.3.0)\r\n==7634==    by 0x65342B: MusicPlayer::MusicPlayer(std::string const&, Ogre::SharedPtr<std::vector<std::string, Ogre::STLAllocator<std::string, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > >) (MusicPlayer.h:42)\r\n==7634==    by 0x6BC4E5: ODApplication::startClient() (ODApplication.cpp:147)\r\n==7634==    by 0x6BD284: ODApplication::startGame(boost::program_options::variables_map&) (ODApplication.cpp:55)\r\n==7634==    by 0x47608C: main (main.cpp:86)\r\n==7634==  Address 0x16dba588 is 24 bytes after a block of size 144 in arena \"client\"\r\n==7634== \r\n\r\nvalgrind: m_mallocfree.c:304 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.\r\nvalgrind: Heap block lo/hi size mismatch: lo = 208, hi = 406161744.\r\nThis is probably caused by your program erroneously writing past the\r\nend of a heap block and corrupting heap metadata.  If you fix any\r\ninvalid writes reported by Memcheck, this assertion failure will\r\nprobably go away.  Please try that before reporting this as a bug.\r\n\r\n\r\nhost stacktrace:\r\n==7634==    at 0x380A927F: show_sched_status_wrk (m_libcassert.c:319)\r\n==7634==    by 0x380A9394: report_and_quit (m_libcassert.c:390)\r\n==7634==    by 0x380A9516: vgPlain_assert_fail (m_libcassert.c:455)\r\n==7634==    by 0x380B60BD: get_bszB_as_is (m_mallocfree.c:302)\r\n==7634==    by 0x380B60BD: get_bszB (m_mallocfree.c:312)\r\n==7634==    by 0x380B60BD: get_pszB (m_mallocfree.c:386)\r\n==7634==    by 0x380B60BD: vgPlain_describe_arena_addr (m_mallocfree.c:1532)\r\n==7634==    by 0x380A2623: vgPlain_describe_addr (m_addrinfo.c:188)\r\n==7634==    by 0x380A10CB: vgMemCheck_update_Error_extra (mc_errors.c:1133)\r\n==7634==    by 0x380A4F4A: vgPlain_maybe_record_error (m_errormgr.c:818)\r\n==7634==    by 0x380A0642: vgMemCheck_record_address_error (mc_errors.c:753)\r\n==7634==    by 0x3807ED78: mc_LOADVn_slow (mc_main.c:1388)\r\n==7634==    by 0x804F20D2F: ???\r\n==7634==    by 0x802E95EEF: ???\r\n==7634==    by 0x380772EF: vgMemCheck_malloc (mc_malloc_wrappers.c:388)\r\n==7634==    by 0x7FC4DFF: ??? (in /usr/lib/x86_64-linux-gnu/libsfml-audio.so.2.3.0)\r\n\r\nsched status:\r\n  running_tid=1\r\n\r\nThread 1: status = VgTs_Runnable\r\n==7634==    at 0x81DCB50: sf::Mutex::lock() (in /usr/lib/x86_64-linux-gnu/libsfml-system.so.2.3.0)\r\n==7634==    by 0x7FC4E2F: sf::Music::onSeek(sf::Time) (in /usr/lib/x86_64-linux-gnu/libsfml-audio.so.2.3.0)\r\n==7634==    by 0x7FCA73C: sf::SoundStream::stop() (in /usr/lib/x86_64-linux-gnu/libsfml-audio.so.2.3.0)\r\n==7634==    by 0x7FC5010: sf::Music::openFromFile(std::string const&) (in /usr/lib/x86_64-linux-gnu/libsfml-audio.so.2.3.0)\r\n==7634==    by 0x652ACC: ODMusic::loadFromFile(std::string const&) (MusicPlayer.cpp:38)\r\n==7634==    by 0x6534D9: MusicPlayer::MusicPlayer(std::string const&, Ogre::SharedPtr<std::vector<std::string, Ogre::STLAllocator<std::string, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > >) (MusicPlayer.cpp:169)\r\n==7634==    by 0x6BC4E5: ODApplication::startClient() (ODApplication.cpp:147)\r\n==7634==    by 0x6BD284: ODApplication::startGame(boost::program_options::variables_map&) (ODApplication.cpp:55)\r\n==7634==    by 0x47608C: main (main.cpp:86)\r\n```\r\n"}}