NeoFax Posted August 10, 2009 Report Share Posted August 10, 2009 Here are some errors I get that cause the game to crash:ERROR: Failed to find matching prop point called "antler" in model "art/meshes/skeletal/deer_mesh.dae" for actor "fauna/deer.xml"GAME STARTED, ALL INIT COMPLETERepathOpenAL error: Invalid Operation; called from vsrc_update alSourceQueueBuffers (line -1)snd_mgr.cpp(116): Assertion failed: "0"udbg_bfd_init: loading symbols from /home/terry/0ad/trunk/binaries/system/pyrogenesis_dbg.Assertion failed: "0"Location: snd_mgr.cpp:116 (al_ReportError)Call stack:(0x084b60ed) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)(0x0847f4de) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)(0x0847f95a) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)(0x0847fa3a) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)(0x084a721d) snd_mgr.cpp:116 al_ReportError(0x084a7256) snd_mgr.cpp:132 al_check(0x084a8acd) snd_mgr.cpp:1557 vsrc_update(0x084a8b3f) snd_mgr.cpp:1590 vsrc_grant(0x084a8c7f) snd_mgr.cpp:1663 snd_play(long long, float)(0x08347a26) SoundGroup.cpp:115 CSoundGroup::UploadPropertiesAndPlay(long long, CVector3D const&)(0x08347ca8) SoundGroup.cpp:149 CSoundGroup::PlayNext(CVector3D const&)(0x082e79ce) SoundGroupMgr.cpp:158 CSoundGroupMgr::PlayNext(unsigned int, CVector3D const&)(0x0830a891) EntityStateProcessing.cpp:516 CEntity::ProcessContactActionNoPathing(CEntityOrder*, int)(0x082b3ebf) Entity.cpp:577 CEntity::UpdateOrders(int)(0x082b45f5) Entity.cpp:462 CEntity::Update(int)(0x082e0214) EntityManager.cpp:448 CEntityManager::UpdateAll(int)errno = 0 (?)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?cOpenAL error: Invalid Operation; called from vsrc_update alSourceQueueBuffers (line -1)snd_mgr.cpp(116): Assertion failed: "0"Assertion failed: "0"Location: snd_mgr.cpp:116 (al_ReportError)Call stack:(0x084b60ed) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)(0x0847f4de) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)(0x0847f95a) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)(0x0847fa3a) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)(0x084a721d) snd_mgr.cpp:116 al_ReportError(0x084a7256) snd_mgr.cpp:132 al_check(0x084a8acd) snd_mgr.cpp:1557 vsrc_update(0x084a8b3f) snd_mgr.cpp:1590 vsrc_grant(0x084a8c7f) snd_mgr.cpp:1663 snd_play(long long, float)(0x08347a26) SoundGroup.cpp:115 CSoundGroup::UploadPropertiesAndPlay(long long, CVector3D const&)(0x08347b55) SoundGroup.cpp:129 CSoundGroup::PlayNext(CVector3D const&)(0x082e79ce) SoundGroupMgr.cpp:158 CSoundGroupMgr::PlayNext(unsigned int, CVector3D const&)(0x0830a891) EntityStateProcessing.cpp:516 CEntity::ProcessContactActionNoPathing(CEntityOrder*, int)(0x082b3ebf) Entity.cpp:577 CEntity::UpdateOrders(int)(0x082b45f5) Entity.cpp:462 CEntity::Update(int)(0x082e0214) EntityManager.cpp:448 CEntityManager::UpdateAll(int)errno = 0 (?)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?eAborted Quote Link to comment Share on other sites More sharing options...
idle Posted August 10, 2009 Report Share Posted August 10, 2009 (edited) As small workaround (just for now) use:./pyrogenesis_dbg -quickstartIt disables sound since its broken. Edited August 10, 2009 by idle Quote Link to comment Share on other sites More sharing options...
janwas Posted August 10, 2009 Report Share Posted August 10, 2009 The workaround suggestion is good for starters.Attempted analysis of cause:The OpenAL spec says alSourceQueueBuffers fails with "invalid operation" if:1) No current context2) Adding a buffer of a different format3) Source has static buffers attached#1 is ruled out due to the non-existance of an "alc_init failed" error message, which implies alcCreateContext returned non-NULL and alcMakeContextCurrent did not encounter an error.#2 is 'impossible' (except if memory is corrupted) because the buffer format is set once per file and never changed or transferred.#3 can't happen because we never set static buffers (the only time we alSourcei(.., AL_BUFFER) is when buf=AL_NONE).Could you please verify that AL_NONE = 0 on your system?The most likely of these options appears to be #2. Could you please add a debug_printf("%d\n", sd->al_fmt); line before returning from snd_data_buf_get?The first two times (main menu, in-game music), it should output the format for 16-bit stereo, all subsequent outputs should be equal and for 16-bit mono. Quote Link to comment Share on other sites More sharing options...
NeoFax Posted August 10, 2009 Author Report Share Posted August 10, 2009 Where could I find out if my system has AL_None=0? Second, where do I type in the debug line? Quote Link to comment Share on other sites More sharing options...
idle Posted August 10, 2009 Report Share Posted August 10, 2009 # grep -R AL_NONE /usr/include/AL/usr/include/AL/al.h:#define AL_NONE 0 Quote Link to comment Share on other sites More sharing options...
idle Posted August 10, 2009 Report Share Posted August 10, 2009 so here is the debug stuff (i added AL_DEBUG: also):... means the output above a few more times.TIMER| InitVfs: 1.09016 msTIMER| InitScripting: 3.48724 msTIMER| CONFIG_Init: 5.91344 msTIMER| write_sys_info: 1.09176 msTIMER| ps_console: 4.66084 msTIMER| ps_lang_hotkeys: 4.78456 msTIMER| ps_gui_init: 26.92 usTIMER| ps_gui_setup_xml: 2.44336 msTIMER| ps_gui_styles_xml: 6.77932 msTIMER| ps_gui_sprite1_xml: 74.6648 msTIMER| ps_gui_1: 45.9134 msTIMER| ps_gui_2: 73.0363 msTIMER| ps_gui_3: 2.50936 msTIMER| ps_gui_4: 41.4611 msTIMER| ps_gui_6: 337.959 usTIMER| ps_gui_6_1: 3.45636 msTIMER| ps_gui_6_2: 1.32692 msTIMER| ps_gui_7: 254.52 usTIMER| ps_gui_9: 4.33243 msTIMER| InitRenderer: 28.3064 msTIMER| SimulationInit: 2.1026 msTIMER| Init_miscgamesection: 22.5011 msTIMER| Init_guiload: 166.721 msVSRC_DEQUE1 1 1VSRC_DEQUE2 0AL_DEBUG: 4355VSRC_DEQUE1 1 1VSRC_DEQUE2 0...ERROR: Failed to find matching prop point called "antler" in model "art/meshes/skeletal/deer_mesh.dae" for actor "fauna/deer.xml"VSRC_DEQUE1 1 1VSRC_DEQUE2 0VSRC_DEQUE1 1 1VSRC_DEQUE2 0VSRC_DEQUE1 1 1VSRC_DEQUE2 0VSRC_DEQUE1 2 1VSRC_DEQUE2 0AL_DEBUG: 4355GAME STARTED, ALL INIT COMPLETEVSRC_DEQUE1 1 1VSRC_DEQUE2 0VSRC_DEQUE1 2 1VSRC_DEQUE2 0...VSRC_DEQUE1 1 1VSRC_DEQUE2 1OpenAL error: Invalid Value; called from vsrc_deque_finished_bufs (line 1496)snd_mgr.cpp(116): Assertion failed: "0"udbg_bfd_init: loading symbols from /home/idle/tmp/wildfiregames/binaries/system/pyrogenesis_dbg.Assertion failed: "0"Location: snd_mgr.cpp:116 (al_ReportError)Call stack:(0x009c25de) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned long, void*, char const*)(0x00979221) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)(0x009796c4) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned long, void*, char const*, char const*, int, char const*, unsigned char*)(0x00979abd) debug.cpp:578 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)(0x009a802a) snd_mgr.cpp:116 al_ReportError(0x009a808a) snd_mgr.cpp:132 al_check(0x009aa954) snd_mgr.cpp:1497 vsrc_deque_finished_bufs(0x009aaa23) snd_mgr.cpp:1534 vsrc_update(0x009aab4c) snd_mgr.cpp:1592 vsrc_grant(0x009aad27) snd_mgr.cpp:1665 snd_play(long, float)(0x007cded1) SoundGroup.cpp:115 CSoundGroup::UploadPropertiesAndPlay(long, CVector3D const&)(0x007ce137) SoundGroup.cpp:146 CSoundGroup::PlayNext(CVector3D const&)(0x00770add) SoundGroupMgr.cpp:158 CSoundGroupMgr::PlayNext(unsigned long, CVector3D const&)(0x007ac7e9) EntityStateProcessing.cpp:516 CEntity::ProcessContactActionNoPathing(CEntityOrder*, int)(0x0071a1e1) Entity.cpp:577 CEntity::UpdateOrders(int)(0x00719b0f) Entity.cpp:462 CEntity::Update(int)errno = 0 (?)OS error = ? Quote Link to comment Share on other sites More sharing options...
janwas Posted August 10, 2009 Report Share Posted August 10, 2009 Thanks for confirmation of AL_NONE I've created a trac ticket and am looking through Philip's trace file, which is probably going to be awesomely helpful.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.