Hi, Dragonking sent me a replay some days ago that at the end crashes to desktop. It does not always do that, though, it crashes about every second time. That makes it not very likely that the reason for this is directly found in the replay code. I also looked at stderr.txt and i found some error messages about missing free channels for sound.
Putting all that together, here is my hypothesis: - Sound playing runs in a separate thread - If so, it is accessing a resource at the same time than another thread. Maybe we have a race condition here. - My suspicion is that it has to do with stderr.txt. But i am not familiar enough with C to know if two threads accessing cerr "at the same time" can cause race conditions or not. So can someone more familiar with C and threading have a look on this, please? I attach the replay and my stderr.txt to this mail so that the error can be reproduced. Thanks and Greetings yogi
Battle for Wesnoth v1.1 Started on Fri Jan 20 08:43:30 2006 started game: 0 Checking video mode: 1280x800x32... 32 setting mode to 1280x800x32 found valid cache at 'C:/Entwicklung/Wesnoth/Release 1.1/userdata/cache/game.cfg-cache-v1.1-MEDIUM-NORMAL' using it locale could not be determined; defaulting to system locale WARNING: setlocale() failed for . started music 1498 showing title screen... 1498 Loading tips of day title screen returned result scenario: '' has snapshot: no replaying (start of scenario) error display: could not open image '' error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available started music 144925 showing title screen... 144925 title screen returned result scenario: '' has snapshot: no replaying (start of scenario) error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available is in game -- showing quit message started music 281646 showing title screen... 281646 title screen returned result started music 289677 showing title screen... 289677 title screen returned result scenario: '' has snapshot: no replaying (start of scenario) error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available started music 684162 showing title screen... 684186 title screen returned result scenario: '' has snapshot: no replaying (start of scenario) error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available error audio: error playing sound effect: No free channels available
me_vs_Becephalus_1.dat
Description: Binary data
