Author Topic: [Fixed] Error on headless with sonar ping 3.9.1-devel  (Read 654 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
[Fixed] Error on headless with sonar ping 3.9.1-devel
« on: 11 December 2013, 23:18:14 »
Here is a crash of headless with latest git version (see console output).
Update: this bug is reproducable with 3.9.1-dev! just connect two clients to a headless and press x+left mouse for sonar .

I was pressing x+mouse when it happend to mark a place on the map ( not sure if related ).
Console:
Code: [Select]
....
Compiled using: GNUC: 40603 [64bit] on: Dec 11 2013 23:53:42 platform: Linux-X64 endianness: little
GIT: [Rev: 4490.257b794] - using STREFLOP [SSE] - [no-denormals]

....

*ERROR* In [/home/tscharn/gitglest/source/glest_game/game/game.cpp::updateNetworkHighligtedCells 3031] error [getWorld()->getThisFaction() == NULL
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xad38a8] line: 304
./megaglest:Glest::Game::Game::addOrReplaceInHighlightedCells(Glest::Game::MarkedCell)address [0x5898f3] line: 3055
./megaglest:Glest::Game::Game::updateNetworkHighligtedCells()address [0x589c9c] line: 3025
./megaglest:Glest::Game::Game::update()address [0x59f330] line: 2294
./megaglest:Glest::Game::Program::loopWorker()address [0x6dfdf7] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x6d0957] line: 5413
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6d570a] line: 5661
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f75ea9f376d] line: 0
./megaglest() [0x50a3c9]address [0x50a3c9]
]
*ERROR* In [game.cpp::update Line: 2744] Error [In [/home/tscharn/gitglest/source/glest_game/game/game.cpp::updateNetworkHighligtedCells 3031] error [getWorld()->getThisFaction() == NULL
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xad38a8] line: 304
./megaglest:Glest::Game::Game::addOrReplaceInHighlightedCells(Glest::Game::MarkedCell)address [0x5898f3] line: 3055
./megaglest:Glest::Game::Game::updateNetworkHighligtedCells()address [0x589c9c] line: 3025
./megaglest:Glest::Game::Game::update()address [0x59f330] line: 2294
./megaglest:Glest::Game::Program::loopWorker()address [0x6dfdf7] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x6d0957] line: 5413
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6d570a] line: 5661
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f75ea9f376d] line: 0
./megaglest() [0x50a3c9]address [0x50a3c9]
]

Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xad38a8] line: 304
./megaglest:Glest::Game::Game::updateNetworkHighligtedCells()address [0x589e55] line: 3033
./megaglest:Glest::Game::Game::update()address [0x59f330] line: 2294
./megaglest:Glest::Game::Program::loopWorker()address [0x6dfdf7] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x6d0957] line: 5413
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6d570a] line: 5661
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f75ea9f376d] line: 0
./megaglest() [0x50a3c9]address [0x50a3c9]
]

The server did not crash, it just wrote this on the terminal end started a new game .

UPDATE:
It looks like this is a new bug, we were not able to reproduce this using 3.9.0
« Last Edit: 11 December 2013, 23:47:31 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Error on headless with sonar ping 3.9.1-devel
« Reply #1 on: 12 December 2013, 03:20:32 »
Fixed in SHA1: c91b929

 

anything