Opened 13 years ago
Closed 13 years ago
#833 closed defect (fixed)
Consistent Assertion Failures with sound enabled when loading maps with large battles
Reported by: | brian | Owned by: | Jan Wassenberg |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 5 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
Ubuntu 11.04 (Classic Gnome Desktop - not unity), ATI 5770 with official proprietary drivers
r9403 (and possibly earlier) I get an error if I run the large_combat_demo or we_are_legion. They do not give the assertion failure immediately though. I even got it on the Latium RMS during a battle. It does not cause the error when using -quickstart.
Assertion failed: "cpu_CAS(&al_srcs_allocationStates[i], kInUse, kAvailable)" Location: snd_mgr.cpp:561 (al_src_free)
Call stack:
(0x8369c30) /home/brian/Desktop/Link to pyrogenesis() [0x8369c30] (0x83212a4) /home/brian/Desktop/Link to pyrogenesis() [0x83212a4] (0x83215a7) /home/brian/Desktop/Link to pyrogenesis() [0x83215a7] (0x8321a45) /home/brian/Desktop/Link to pyrogenesis() [0x8321a45] (0x833fd43) /home/brian/Desktop/Link to pyrogenesis() [0x833fd43] (0x833ffef) /home/brian/Desktop/Link to pyrogenesis() [0x833ffef] (0x8333ae9) /home/brian/Desktop/Link to pyrogenesis() [0x8333ae9] (0x833febf) /home/brian/Desktop/Link to pyrogenesis() [0x833febf] (0x833f048) /home/brian/Desktop/Link to pyrogenesis() [0x833f048] (0x8343c4e) /home/brian/Desktop/Link to pyrogenesis() [0x8343c4e] (0x8056198) /home/brian/Desktop/Link to pyrogenesis() [0x8056198] (0xb6e1ae37) /lib/i386-linux-gnu/libc.so.6(libc_start_main+0xe7) [0xb6e1ae37] (0x8054f01) /home/brian/Desktop/Link to pyrogenesis() [0x8054f01]
errno = 0 (?) OS error = ?
Change History (6)
comment:1 by , 13 years ago
Milestone: | Backlog → Alpha 5 |
---|---|
Priority: | Should Have → Release Blocker |
comment:2 by , 13 years ago
Owner: | set to |
---|
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Works for me :/ I selected the full complement of 64 and deleted as requested. Quite a cacophony, but no crash (nor when deleting the second batch of 43) and a clean exit.
comment:5 by , 13 years ago
Since I'm unable to reproduce and static analysis hasn't given more insight, could you please generate some more info?
1) Is that al_srcs_allocationState 'just' kAvailable (i.e. double-free) or something else entirely?
2) A debug_printf in each al_src_alloc/al_src_free indicating the index, al_src and allocationState would be helpful.
Hopefully I can see the problem then.
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Easier steps to reproduce: Open We are Legion. Select all the units. Press delete and OK.