Author Topic: [fixed] Client crash with multiplayer scenarios  (Read 1643 times)

titi_son

  • Draco Rider
  • *****
  • Posts: 284
  • titi_son
    • View Profile
[fixed] Client crash with multiplayer scenarios
« on: 12 January 2015, 16:42:22 »
As i tried to implement the shared team options in scenarios, i launched a multiplayer scenario.
The client crashed. I checked out the develop branch and tried again but the client still crashes.
I tried two scenarios. This crash log is from the official capture_enemy_flag scenario.

Code: [Select]
*ERROR* [2015-01-12 17:37:24] In [scenario.cpp::load 95]
Error loading scenario []:
util.cpp line: 631 pos == string::npos for []
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xc2762c] line: 306
./megaglest:Shared::Util::lastDir(std::string const&)address [0xbfe194] line: 631
./megaglest:Glest::Game::Scenario::load(std::string const&)address [0xb25d82] line: 52
./megaglest:Glest::Game::World::loadScenario(std::string const&, Shared::Util::Checksum*, bool, Shared::Xml::XmlNode const*)address [0xb07e49] line: 510
./megaglest:Glest::Game::Game::load(int)address [0x5fe0c7] line: 1192
./megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool)address [0x6dfc7e] line: 655
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x80ad78] line: 3597
./megaglest:Glest::Game::Program::loopWorker()address [0x6e6bcd] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x730ffe] line: 5522
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x73387d] line: 5770
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fc1aab02ec5] line: 0
./megaglest() [0x4e83bd]address [0x4e83bd]

*ERROR* [2015-01-12 17:37:25] In [program.cpp::setState Line: 683]
Error [In [scenario.cpp::load 95]
Error loading scenario []:
util.cpp line: 631 pos == string::npos for []
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xc2762c] line: 306
./megaglest:Shared::Util::lastDir(std::string const&)address [0xbfe194] line: 631
./megaglest:Glest::Game::Scenario::load(std::string const&)address [0xb25d82] line: 52
./megaglest:Glest::Game::World::loadScenario(std::string const&, Shared::Util::Checksum*, bool, Shared::Xml::XmlNode const*)address [0xb07e49] line: 510
./megaglest:Glest::Game::Game::load(int)address [0x5fe0c7] line: 1192
./megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool)address [0x6dfc7e] line: 655
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x80ad78] line: 3597
./megaglest:Glest::Game::Program::loopWorker()address [0x6e6bcd] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x730ffe] line: 5522
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x73387d] line: 5770
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fc1aab02ec5] line: 0
./megaglest() [0x4e83bd]address [0x4e83bd]

Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xc2762c] line: 306
./megaglest:Glest::Game::Scenario::load(std::string const&)address [0xb26a79] line: 99
./megaglest:Glest::Game::World::loadScenario(std::string const&, Shared::Util::Checksum*, bool, Shared::Xml::XmlNode const*)address [0xb07e49] line: 510
./megaglest:Glest::Game::Game::load(int)address [0x5fe0c7] line: 1192
./megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool)address [0x6dfc7e] line: 655
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x80ad78] line: 3597
./megaglest:Glest::Game::Program::loopWorker()address [0x6e6bcd] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x730ffe] line: 5522
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x73387d] line: 5770
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fc1aab02ec5] line: 0
./megaglest() [0x4e83bd]address [0x4e83bd]
]
In [/home/tscharn/gitglest/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5673] Error detected: signal 11:
Error saved to logfile [/home/tscharn/.megaglest/error.log]
*ERROR* [2015-01-12 17:37:25] In [/home/tscharn/gitglest/source/glest_game/main/main.cpp::handleRuntimeError Line: 641] [In [/home/tscharn/gitglest/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5673] Error detected: signal 11:
] gameInitialized = 1, program = 0x266d750
*ERROR* [2015-01-12 17:37:26] In [/home/tscharn/gitglest/source/glest_game/main/main.cpp::handleRuntimeError Line: 660] [In [/home/tscharn/gitglest/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5673] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x71dbf7] line: 651
./megaglest() [0x71df89]address [0x71df89]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7fc1aab17da0] line: 0
./megaglest:Glest::Game::Gui::getHighlightedResourceObject() constaddress [0x6d44af] line: 164
./megaglest:Glest::Game::World::updateAllTilesetObjects()address [0xaf8304] line: 526
./megaglest:Glest::Game::World::update()address [0xb09927] line: 863
./megaglest:Glest::Game::Game::update()address [0x5f1e71] line: 2174
./megaglest:Glest::Game::Program::loopWorker()address [0x6e6bcd] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x730ffe] line: 5522
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x73387d] line: 5770
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fc1aab02ec5] line: 0
./megaglest() [0x4e83bd]address [0x4e83bd]
]
Segmentation fault (core dumped)
« Last Edit: 14 January 2015, 09:41:02 by titi »
My first Tilseset: SPRING :) (included in Megaglest )

Secret Hint: To play online join the IRC #megaglest-lobby on freenode which is the lobby chat ingame. So you can chat with or wait for people in the lobby without running megaglest all the time.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything