Author Topic: [(p) fixed] r4462: Rejoin: OOS on linux-64 + windows64, Prax mod  (Read 902 times)

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Carolinus has been start a game (windows) with enabled "join function" 1vs1. I joined maybe 3 minutes later and we played ~20 minutes and then I got OOS.

Code: [Select]
[2013-06-16 21:11:26] *ERROR* SOCKET WRITE TIMEOUT In [/home/filux/mglestsvn/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 19
Resume In Progress Game: 1776
[2013-06-16 21:34:50] *ERROR* In [commander.cpp::buildCommand Line: 997]
Can not find command type for network command = [networkCommandType = 0
unitId = 205
commandTypeId = 1
positionX = 175
positionY = 24
unitTypeId = -1
targetId = -1
wantQueue= 0
fromFactionIndex = 0
unitFactionUnitCount = 247
unitFactionIndex = 0, commandStateType = 0, commandStateValue = -1, unitCommandGroupId = 63]
Commands:  id = 0
for unit = 205
[zentrum]
[

P. Życia: 9500/9500
Pancerz: 20 (stein)
Zasięg wykrywania: 15
Magazyn.: 150 food
Magazyn.: 2000 gold
Magazyn.: 1500 stone
Magazyn.: 1200 wood]
actual local factionIndex = 0.
Unit Type Info:
[Unit Name: [zentrum] id = 19 maxHp = 9500 hpRegeneration = 0 maxEp = 0 epRegeneration = 0 maxUnitCount = 0 fields index = 0 value = 1 fields index = 1 value = 0 properties index = 0 value = 1 properties index = 1 value = 0 armor = 20 armorType Name: [stein id = 4 light = 1 lightColor = x [1] y [0.93] z [0.65] multiSelect = 0 sight = 15 size = 6 height = 6 rotatedBuildPos = 0.0000000000000000 rotationAllowed = 1 cellMap: [6] i = 0 j = 0 value = 0 i = 0 j = 1 value = 0 i = 0 j = 2 value = 0 i = 0 j = 3 value = 1 i = 0 j = 4 value = 1 i = 0 j = 5 value = 1 i = 1 j = 0 value = 1 i = 1 j = 1 value = 1 i = 1 j = 2 value = 0 i = 1 j = 3 value = 1 i = 1 j = 4 value = 1 i = 1 j = 5 value = 1 i = 2 j = 0 value = 1 i = 2 j = 1 value = 1 i = 2 j = 2 value = 0 i = 2 j = 3 value = 0 i = 2 j = 4 value = 1 i = 2 j = 5 value = 1 i = 3 j = 0 value = 1 i = 3 j = 1 value = 1 i = 3 j = 2 value = 0 i = 3 j = 3 value = 0 i = 3 j = 4 value = 1 i = 3 j = 5 value = 1 i = 4 j = 0 value = 0 i = 4 j = 1 value = 0 i = 4 j = 2 value = 0
i = 4 j = 3 value = 0 i = 4 j = 4 value = 0 i = 4 j = 5 value = 0 i = 5 j = 0 value = 1 i = 5 j = 1 value = 1 i = 5 j = 2 value = 1 i = 5 j = 3 value = 0 i = 5 j = 4 value = 1 i = 5 j = 5 value = 1 skillTypes: [4] i = 0 Stop i = 1 Be built i = 2 Produkuje i = 3 Die commandTypes: [1] i = 0 Produkuje storedResources: [4] i = 0 food
150/0 i = 1 gold
2000/2000 i = 2 stone
1500/1500 i = 3 wood
1200/300 levels: [0] meetingPoint = 1 countInVictoryConditions = 0]
Network unit type:
[null]
isCancelPreMorphCommand: 0
Game out of synch.
[2013-06-16 21:34:52] *ERROR* In [game.cpp::update Line: 2673] Error [Error [#3]: Game is out of sync, please check log files for details.
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xa0f532] line: 237
./megaglest:Glest::Game::Commander::buildCommand(Glest::Game::NetworkCommand const*) constaddress [0x57e191] line: 1014
./megaglest:Glest::Game::Commander::giveNetworkCommand(Glest::Game::NetworkCommand*) constaddress [0x5806ae] line: 863
./megaglest:Glest::Game::Commander::updateNetwork(Glest::Game::Game*)address [0x58440b] line: 548
./megaglest:Glest::Game::Game::update()address [0x5c3f90] line: 2149
./megaglest:Glest::Game::Program::loopWorker()address [0x6b39f1] line: 459
./megaglest:Glest::Game::glestMain(int, char**)address [0x6a3290] line: 5380
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6a5f46] line: 5627
/lib64/libc.so.6:__libc_start_main()address [0x7f42845cf455] line: 0
./megaglest() [0x5137e9]address [0x5137e9]
]

From my point of view, I had similar messages ("isCancelPreMorphCommand: 0") here: https://forum.megaglest.org/index.php?topic=9045.0



tomreyn (2013-06-20):
Bug retitled, using "rejoin" (instead of "join") so this can be used as a search term later.



filux (2016-06-08):
Highly probable this was "isCancelPreMorphCommand OOS" and is fixed now.
https://github.com/MegaGlest/megaglest-source/issues/102#issuecomment-222235278
« Last Edit: 8 June 2016, 19:25:22 by filux »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r4462: Join: OOS on linux-64 + windows64, Prax mod
« Reply #1 on: 19 June 2013, 00:14:49 »
Join game is being disabled till next release and won't be in the upcoming release. We can keep this bug here but it won't get fixed for a while.