MegaGlest Forum
Archives (read only) => Glest Advanced Engine => Bug reports => Topic started by: tomreyn on 19 February 2012, 00:40:31
-
When I start a game with Shibboleth, exit it, then start the same game again, GAE will run into a segmentation fault and the screen freezes. This is always reproducible for me.
Program received signal SIGSEGV, Segmentation fault.
0x00000000005ec4ad in Glest::ProtoTypes::MusicPlaylistType::getNextTrack (this=0x7fffe0b7e5f0)
at /home/tomreyn/SCM/glestae/source/game/prototypes/music_playlist_type.cpp:124
124 return (m_curTrackIndex >= 0) ? m_tracks[m_curTrackIndex] : 0;
backtrace:
(gdb) bt
#0 0x00000000005ec4ad in Glest::ProtoTypes::MusicPlaylistType::getNextTrack (this=0x7fffe0b7e5f0)
at /home/tomreyn/SCM/glestae/source/game/prototypes/music_playlist_type.cpp:124
#1 0x000000000062cec0 in Glest::Sound::SoundRenderer::getNextMusicTrack (this=0x975480)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:178
#2 0x000000000062cfcf in Glest::Sound::SoundRenderer::startMusicPlaylist (this=0x975480)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:143
#3 0x0000000000511eb0 in Glest::Gui::GameState::init (this=0x7fffe04e3ca0)
at /home/tomreyn/SCM/glestae/source/game/game/game.cpp:271
#4 0x000000000056b251 in Glest::Main::Program::setState (this=0x7fffffffd3d0, programState=0x7fffe04e3ca0)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:446
#5 0x0000000000581146 in Glest::Menu::MenuStateNewGame::update (this=0x7fffe08d0210)
at /home/tomreyn/SCM/glestae/source/game/menu/menu_state_new_game.cpp:595
#6 0x000000000056a73a in Glest::Main::Program::loop (this=0x7fffffffd3d0)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:327
#7 0x0000000000567285 in Glest::Main::glestMain (argc=<optimized out>, argv=<optimized out>)
at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:187
#8 0x00000000004b5a8d in main (argc=1, argv=0x7fffffffe1f8) at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:220
glestadv-error.log:
$ cat ~/.glestadv/glestadv-error.log
Glest Advanced Engine: Error log file. 19-Feb-2012_01-30-31
XML Error in techs/shibboleth/shibboleth.xml:
Node "tech-tree" doesn't have 1 children named "music-play-list"
Tree: tech-tree (description attack-types (attack-type attack-type attack-type attack-type ) armor-types (armor-type armor-type armor-type armor-type armor-type ) damage-multipliers (damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier ) )
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 )
XML Error in techs/shibboleth/factions/alpha/units/archer/archer.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time cloak (upgrade-requirements (upgrade ) group ) multi-selection cellmap levels (level ) field properties light tags (tag ) unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/units/barracks/barracks.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap (row row row row ) levels fields (field ) properties (property ) light unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
XML Error in techs/shibboleth/factions/alpha/units/castle/castle.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap (row row row row row ) levels fields (field ) properties (property ) light unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored (resource resource resource resource ) image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/catapult/catapult.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties (property ) light unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties (property ) light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/farm/farm.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap (row row row row ) levels fields (field ) properties (property ) light unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource resource ) resources-stored (resource ) image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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 )
XML Error in techs/shibboleth/factions/alpha/units/merlin/merlin.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time detector (group ) multi-selection cellmap levels (level level level ) fields (field ) properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/ornithopter/ornithopter.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels (level ) fields (field ) properties light tags (tag ) unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/units/pig/pig.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/units/swordman/swordman.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels (level ) fields (field ) properties light tags (tag ) unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
techs/shibboleth/factions/alpha/units/swordman: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
XML Error in techs/shibboleth/factions/alpha/units/technician/technician.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
techs/shibboleth/factions/alpha/units/technician: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
XML Error in techs/shibboleth/factions/alpha/units/wall/wall.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection multi-build cellmap field properties (property property ) levels light unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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/worker/worker.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels field properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/alpha.xml:
Node "faction" doesn't have 1 children named "music-play-list"
Tree: faction (starting-resources (resource resource resource resource ) starting-units (unit unit unit unit unit unit ) music logo (team-colour rgba-colour ) attack-notice (sound-file sound-file sound-file ) loading-screen (background-image ) )
XML Error in techs/shibboleth/shibboleth.xml:
Node "tech-tree" doesn't have 1 children named "music-play-list"
Tree: tech-tree (description attack-types (attack-type attack-type attack-type attack-type ) armor-types (armor-type armor-type armor-type armor-type armor-type ) damage-multipliers (damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier damage-multiplier ) )
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 )
XML Error in techs/shibboleth/factions/alpha/units/archer/archer.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time cloak (upgrade-requirements (upgrade ) group ) multi-selection cellmap levels (level ) field properties light tags (tag ) unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/units/barracks/barracks.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap (row row row row ) levels fields (field ) properties (property ) light unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
XML Error in techs/shibboleth/factions/alpha/units/castle/castle.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap (row row row row row ) levels fields (field ) properties (property ) light unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored (resource resource resource resource ) image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/catapult/catapult.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties (property ) light unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/defense_tower/defense_tower.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties (property ) light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/farm/farm.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap (row row row row ) levels fields (field ) properties (property ) light unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource resource ) resources-stored (resource ) image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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 )
XML Error in techs/shibboleth/factions/alpha/units/merlin/merlin.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time detector (group ) multi-selection cellmap levels (level level level ) fields (field ) properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
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
XML Error in techs/shibboleth/factions/alpha/units/ornithopter/ornithopter.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels (level ) fields (field ) properties light tags (tag ) unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/units/pig/pig.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/units/swordman/swordman.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels (level ) fields (field ) properties light tags (tag ) unit-requirements (unit ) upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
techs/shibboleth/factions/alpha/units/swordman: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
XML Error in techs/shibboleth/factions/alpha/units/technician/technician.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels fields (field ) properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
techs/shibboleth/factions/alpha/units/technician: Warning: node 'discount' of morph command is deprecated, use 'cost-modifier' instead
XML Error in techs/shibboleth/factions/alpha/units/wall/wall.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection multi-build cellmap field properties (property property ) levels light unit-requirements upgrade-requirements resource-requirements (resource resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound ) command-sounds (sound ) )
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/worker/worker.xml:
Node "parameters" doesn't have 1 children named "music-play-list"
Tree: parameters (size height max-hp max-ep armor armor-type sight time multi-selection cellmap levels field properties light unit-requirements upgrade-requirements resource-requirements (resource resource ) resources-stored image image-cancel meeting-point selection-sounds (sound sound ) command-sounds (sound sound ) )
XML Error in techs/shibboleth/factions/alpha/alpha.xml:
Node "faction" doesn't have 1 children named "music-play-list"
Tree: faction (starting-resources (resource resource resource resource ) starting-units (unit unit unit unit unit unit ) music logo (team-colour rgba-colour ) attack-notice (sound-file sound-file sound-file ) loading-screen (background-image ) )
-
Thanks Tomreyn. I've pushed a fix (commit f7c89b950d42..). The no tracks case needed to be handled. I'm not sure why it only occurred on the second game though :scared:.
-
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.
-
Here's another one (core.16322) which also seems related:
Program received signal SIGSEGV, Segmentation fault.
Glest::Sound::SoundRenderer::playMusic (this=<optimized out>, strSound=0x71, loop=false,
cbFunc=0x62d2a0 <Glest::Sound::NextMusicTrackCallback()>)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:94
94 strSound->setVolume(musicVolume);
(gdb) bt
#0 Glest::Sound::SoundRenderer::playMusic (this=<optimized out>, strSound=0x71, loop=false,
cbFunc=0x62d2a0 <Glest::Sound::NextMusicTrackCallback()>)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:94
#1 0x0000000000511f00 in Glest::Gui::GameState::init (this=0x7fffe0a80680)
at /home/tomreyn/SCM/glestae/source/game/game/game.cpp:271
#2 0x000000000056b2a1 in Glest::Main::Program::setState (this=0x7fffffffd3d0, programState=0x7fffe0a80680)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:446
#3 0x0000000000589ec2 in Glest::Menu::MenuStateLoadGame::loadGame (this=0x7fffe0506050)
at /home/tomreyn/SCM/glestae/source/game/menu/menu_state_load_game.cpp:272
#4 0x000000000056a78a in Glest::Main::Program::loop (this=0x7fffffffd3d0)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:327
#5 0x00000000005672d5 in Glest::Main::glestMain (argc=<optimized out>, argv=<optimized out>)
at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:187
#6 0x00000000004b5add in main (argc=1, argv=0x7fffffffe1f8) at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:220
-
And yet another one (core.16465), which I assume is also related, since the procedure to reproduce it is the same as above. This is also what lead me to assume a randomization issue as the underlying cause.
glestadv: /home/tomreyn/SCM/glestae/source/shared_lib/sources/util/util.cpp:159: int Shared::Util::Random::randRange(int, int): Assertion `min <= max' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff57093a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0 0x00007ffff57093a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff570cb0b in __GI_abort () at abort.c:92
#2 0x00007ffff5701d4d in __GI___assert_fail (assertion=0x6fa30f "min <= max", file=<optimized out>, line=159,
function=<optimized out>) at assert.c:81
#3 0x000000000068f77b in Shared::Util::Random::randRange (this=<optimized out>, min=<optimized out>,
max=<optimized out>) at /home/tomreyn/SCM/glestae/source/shared_lib/sources/util/util.cpp:159
#4 0x00000000005ec3b3 in Glest::ProtoTypes::MusicPlaylistType::getNextTrack (this=0x1b07420)
at /home/tomreyn/SCM/glestae/source/game/prototypes/music_playlist_type.cpp:122
#5 0x000000000062cef1 in Glest::Sound::SoundRenderer::getNextMusicTrack (this=0x975480)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:209
#6 0x000000000062d08f in Glest::Sound::SoundRenderer::startMusicPlaylist (this=0x975480)
at /home/tomreyn/SCM/glestae/source/game/sound/sound_renderer.cpp:143
#7 0x0000000000511f00 in Glest::Gui::GameState::init (this=0x3449840)
at /home/tomreyn/SCM/glestae/source/game/game/game.cpp:271
#8 0x000000000056b2a1 in Glest::Main::Program::setState (this=0x7fffffffd3d0, programState=0x3449840)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:446
#9 0x0000000000581196 in Glest::Menu::MenuStateNewGame::update (this=0x33fdb60)
at /home/tomreyn/SCM/glestae/source/game/menu/menu_state_new_game.cpp:595
#10 0x000000000056a78a in Glest::Main::Program::loop (this=0x7fffffffd3d0)
at /home/tomreyn/SCM/glestae/source/game/main/program.cpp:327
#11 0x00000000005672d5 in Glest::Main::glestMain (argc=<optimized out>, argv=<optimized out>)
at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:187
#12 0x00000000004b5add in main (argc=1, argv=0x7fffffffe1f8) at /home/tomreyn/SCM/glestae/source/game/main/main.cpp:220
Just like on the last documented crash, glest-error.log contains a bunch of XML related issues (about files not found and deprecated configurations), none of which refer to music/sound/audio/mp3/ogg/ogm, but nothing else.
-
I refactored SoundRenderer which I think fixed one or more logic errors but more work is needed so I've created the branch 'origin/musicplayer', if someone else wants to continue working on it, and reverted the existing commits. (commit a4861798c610..)