Jump to content

Play errors


Recommended Posts

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 COMPLETE

Repath

OpenAL 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?

c

OpenAL 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?

e

Aborted

Link to comment
Share on other sites

The workaround suggestion is good for starters.

Attempted analysis of cause:

The OpenAL spec says alSourceQueueBuffers fails with "invalid operation" if:

1) No current context

2) Adding a buffer of a different format

3) 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.

Link to comment
Share on other sites

so here is the debug stuff (i added AL_DEBUG: also):

... means the output above a few more times.

TIMER| InitVfs: 1.09016 ms

TIMER| InitScripting: 3.48724 ms

TIMER| CONFIG_Init: 5.91344 ms

TIMER| write_sys_info: 1.09176 ms

TIMER| ps_console: 4.66084 ms

TIMER| ps_lang_hotkeys: 4.78456 ms

TIMER| ps_gui_init: 26.92 us

TIMER| ps_gui_setup_xml: 2.44336 ms

TIMER| ps_gui_styles_xml: 6.77932 ms

TIMER| ps_gui_sprite1_xml: 74.6648 ms

TIMER| ps_gui_1: 45.9134 ms

TIMER| ps_gui_2: 73.0363 ms

TIMER| ps_gui_3: 2.50936 ms

TIMER| ps_gui_4: 41.4611 ms

TIMER| ps_gui_6: 337.959 us

TIMER| ps_gui_6_1: 3.45636 ms

TIMER| ps_gui_6_2: 1.32692 ms

TIMER| ps_gui_7: 254.52 us

TIMER| ps_gui_9: 4.33243 ms

TIMER| InitRenderer: 28.3064 ms

TIMER| SimulationInit: 2.1026 ms

TIMER| Init_miscgamesection: 22.5011 ms

TIMER| Init_guiload: 166.721 ms

VSRC_DEQUE1 1 1

VSRC_DEQUE2 0

AL_DEBUG: 4355

VSRC_DEQUE1 1 1

VSRC_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 1

VSRC_DEQUE2 0

VSRC_DEQUE1 1 1

VSRC_DEQUE2 0

VSRC_DEQUE1 1 1

VSRC_DEQUE2 0

VSRC_DEQUE1 2 1

VSRC_DEQUE2 0

AL_DEBUG: 4355

GAME STARTED, ALL INIT COMPLETE

VSRC_DEQUE1 1 1

VSRC_DEQUE2 0

VSRC_DEQUE1 2 1

VSRC_DEQUE2 0

...

VSRC_DEQUE1 1 1

VSRC_DEQUE2 1

OpenAL 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 = ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...