Thanks hailstone. This (or a similar issue) doesn't seem to be fixed in f7c89b9, yet, though. This time I needed to run three games (the first two had the same setup, so that caching may have kicked in, while the third one was using a different map (2 instead of 4 players).
Terminal output:
Program received signal SIGSEGV, Segmentation fault.
0x00000000005ec272 in Glest::ProtoTypes::MusicPlaylistType::getNextTrack (this=0x1b06a90)
at /home/tomreyn/SCM/glestae/source/game/prototypes/music_playlist_type.cpp:128
128 return (m_curTrackIndex >= 0) ? m_tracks[m_curTrackIndex] : 0;
Backtrace:
(gdb) bt
#0 0x00000000005ec272 in Glest::ProtoTypes::MusicPlaylistType::getNextTrack (this=0x1b06a90)
at /home/tomreyn/SCM/glestae/source/game/prototypes/music_playlist_type.cpp:128
#1 0x000000000062cf80 in Glest::Sound::SoundRenderer::getNextMusicTrack (this=0x975480)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:178
#2 0x000000000062d08f in Glest::Sound::SoundRenderer::startMusicPlaylist (this=0x975480)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:143
#3 0x0000000000511f00 in Glest::Gui::GameState::init (this=0x2893760)
at /home/tomreyn/SCM/glestae/source/game/game/game.cpp:271
#4 0x000000000056b2a1 in Glest::Main::Program::setState (this=0x7fffffffd3d0, programState=0x2893760)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:446
#5 0x0000000000581196 in Glest::Menu::MenuStateNewGame::update (this=0x35c7330)
at /home/tomreyn/SCM/glestae/source/game/menu/menu_state_new_game.cpp:595
#6 0x000000000056a78a in Glest::Main::Program::loop (this=0x7fffffffd3d0)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:327
#7 0x00000000005672d5 in Glest::Main::glestMain (argc=<optimized out>, argv=<optimized out>)
at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:187
#8 0x00000000004b5add in main (argc=1, argv=0x7fffffffe1f8) at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:220
I have a core file here (core.15770) let me know if it's needed.
glestadv-error.log:
Glest Advanced Engine: Error log file. 19-Feb-2012_09-06-52
XML Error in techs/shibboleth/factions/alpha/units/archer/archer.xml:
Node "cloak" doesn't have 1 children named "image"
Tree: cloak (upgrade-requirements (upgrade ) group )
Error loading techs/shibboleth/factions/alpha/units/castle/models/castle.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/castle/models/castle.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/catapult/models/catapult_walking.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/catapult/models/catapult_walking.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/castle/destruction_models/defense_tower_destruction.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/castle/destruction_models/defense_tower_destruction.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/farm/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/farm/farm.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/farm/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/farm/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/farm/farm.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/farm/images/none.bmp
Error: No such file or directory
XML Error in techs/shibboleth/factions/alpha/units/merlin/merlin.xml:
Node "detector" doesn't have 1 children named "image"
Tree: detector (group )
Error loading techs/shibboleth/factions/alpha/units/merlin/boo.png:
referenced in techs/shibboleth/factions/alpha/units/merlin/merlin.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/merlin/boo.png
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/merlin/boo.png:
referenced in techs/shibboleth/factions/alpha/units/merlin/merlin.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/merlin/boo.png
Error: No such file or directory
techs/shibboleth/factions/alpha/units/swordman: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
techs/shibboleth/factions/alpha/units/technician: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
Error loading techs/shibboleth/factions/alpha/units/wall/null.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/wall/null.g3d
Error: No such file or directory
XML Error in techs/shibboleth/factions/alpha/units/archer/archer.xml:
Node "cloak" doesn't have 1 children named "image"
Tree: cloak (upgrade-requirements (upgrade ) group )
Error loading techs/shibboleth/factions/alpha/units/castle/models/castle.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/castle/models/castle.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/catapult/models/catapult_walking.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/catapult/models/catapult_walking.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/castle/destruction_models/defense_tower_destruction.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/castle/destruction_models/defense_tower_destruction.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/farm/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/farm/farm.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/farm/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/farm/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/farm/farm.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/farm/images/none.bmp
Error: No such file or directory
XML Error in techs/shibboleth/factions/alpha/units/merlin/merlin.xml:
Node "detector" doesn't have 1 children named "image"
Tree: detector (group )
Error loading techs/shibboleth/factions/alpha/units/merlin/boo.png:
referenced in techs/shibboleth/factions/alpha/units/merlin/merlin.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/merlin/boo.png
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/merlin/boo.png:
referenced in techs/shibboleth/factions/alpha/units/merlin/merlin.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/merlin/boo.png
Error: No such file or directory
techs/shibboleth/factions/alpha/units/swordman: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
techs/shibboleth/factions/alpha/units/technician: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
Error loading techs/shibboleth/factions/alpha/units/wall/null.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/wall/null.g3d
Error: No such file or directory
XML Error in techs/shibboleth/factions/alpha/units/archer/archer.xml:
Node "cloak" doesn't have 1 children named "image"
Tree: cloak (upgrade-requirements (upgrade ) group )
Error loading techs/shibboleth/factions/alpha/units/castle/models/castle.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/castle/models/castle.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/catapult/models/catapult_walking.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/catapult/models/catapult_walking.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/castle/destruction_models/defense_tower_destruction.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/castle/destruction_models/defense_tower_destruction.g3d
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_load.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/transport_unload.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/defense_tower/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/farm/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/farm/farm.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/farm/images/none.bmp
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/farm/images/none.bmp:
referenced in techs/shibboleth/factions/alpha/units/farm/farm.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/farm/images/none.bmp
Error: No such file or directory
XML Error in techs/shibboleth/factions/alpha/units/merlin/merlin.xml:
Node "detector" doesn't have 1 children named "image"
Tree: detector (group )
Error loading techs/shibboleth/factions/alpha/units/merlin/boo.png:
referenced in techs/shibboleth/factions/alpha/units/merlin/merlin.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/merlin/boo.png
Error: No such file or directory
Error loading techs/shibboleth/factions/alpha/units/merlin/boo.png:
referenced in techs/shibboleth/factions/alpha/units/merlin/merlin.xml
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/merlin/boo.png
Error: No such file or directory
techs/shibboleth/factions/alpha/units/swordman: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
techs/shibboleth/factions/alpha/units/technician: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
Error loading techs/shibboleth/factions/alpha/units/wall/null.g3d:
PHYSFS_openRead failed: techs/shibboleth/factions/alpha/units/wall/null.g3d
Error: No such file or directory
Further testing shows this also occurs if you just start and quit a game (returning to the main menu, not killing the GAE process), then start a new game with the same setup. So this has nothing to do with caching, I guess, it may rather be that music is selected randomly, and if it hits a certain random value it crashes.