Menu

#895 Battle Hangs When Trying to Carry Attack (6_38 vs. 6_39)

None
open-fixed
Java (40)
5
2013-07-31
2013-02-09
Sun Wu'kong
No

Windows 7 x64
JRE 1.6.0_39 x86 w/ WebStart
Colossus 0.13.2 rev 5134 2012-03-14T23:46:06
Battlemap: Beelzegods12 1.02

In any player battle when the player's creature tries to carry over hits, the battle interface hangs: the turn never ends or proceeds. The game can be saved and replayed but the next player attempt to carry over a hit will stall the battle interface again. Was working fine with JRE 1.6.0_38.

Log:
Battle phase advances to Fight
Message from SCT 'alex' to server:strike ~ 554 ~ B3
Ghost in Brambles hex C4 strikes Goblin in Plains hex B3 with strike number 4, rolling: 626443314: 5 hits
Critter Goblin in Plains hex B3: 0 + 5 => 4; 1 excess
Critter Goblin in Plains hex B3 is now dead: (hits=4 > power=4)
Message from SCT 'alex' to server:strike ~ 648 ~ A1
Ghost in Plains hex B1 strikes Naga in Plains hex A1 with strike number 5, rolling: 541652411: 3 hits
Critter Naga in Plains hex A1: 0 + 3 => 3; 0 excess
Message from SCT 'alex' to server:strike ~ 345 ~ A1
Angel in Brambles hex B2 strikes Naga in Plains hex A1 with strike number 5, rolling: 522616: 3 hits
Critter Naga in Plains hex A1: 3 + 3 => 4; 2 excess
Critter Naga in Plains hex A1 is now dead: (hits=4 > power=4)
2 carries available
Message from SCT 'alex' to server:applyCarries ~ A2
Critter Titan in Plains hex A2: 0 + 2 => 2; 0 excess
2 hits carry to Titan in Plains hex A2

Discussion

  • Clemens Katzer

    Clemens Katzer - 2013-02-11

    Yes, there are other reports for same thing (Carry causes hang). Actually one says some other do too, but this one most frequently.

    But that it's caused by _38 vs. _39 is very weird.

    QUESTION: Are you positive it's exactly that?

    Same machine, nothing else "significant" installed or updated? While ago I had a deadlock problem merely because Citrix was also running there, causing a 2nd EDT related thread to run and the two then blocked each other.

     
  • Sun Wu'kong

    Sun Wu'kong - 2013-02-11

    I'm in the middle of debugging trunk 5289 off svn with the _39 jdk (64 bit) and the same problem crops up.

    Debug log:
    INFO: Battle phase advances to Fight
    11-Feb-2013 2:05:46 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:strike ~ 778 ~ E4
    11-Feb-2013 2:05:46 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Imp in Plains hex D4 strikes Zombie in Plains (1) hex E4 with strike number 4, rolling: 161256: 3 hits
    11-Feb-2013 2:05:46 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Zombie in Plains (1) hex E4: 7 + 3 => 10; 0 excess
    11-Feb-2013 2:05:46 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Zombie in Plains (1) hex E4 is now dead: (hits=10 > power=10)
    11-Feb-2013 2:05:46 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:doneWithStrikes
    11-Feb-2013 2:05:46 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Strikeback
    11-Feb-2013 2:05:47 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:strike ~ 818 ~ E3
    11-Feb-2013 2:05:47 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Zombie in Plains (1) hex E4 strikes Ranger in Plains (1) hex E3 with strike number 6, rolling: 2456243411: 1 hit
    11-Feb-2013 2:05:47 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Ranger in Plains (1) hex E3: 3 + 1 => 4; 0 excess
    11-Feb-2013 2:05:47 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Ranger in Plains (1) hex E3 is now dead: (hits=4 > power=4)
    11-Feb-2013 2:05:47 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:doneWithStrikes
    11-Feb-2013 2:05:47 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advanceTurn
    INFO: alex's battle turn, number 3
    11-Feb-2013 2:05:47 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Move
    11-Feb-2013 2:05:51 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:doBattleMove ~ 817 ~ F4
    11-Feb-2013 2:05:51 PM net.sf.colossus.server.BattleServerSide doMove
    INFO: Zombie moves from E5 to F4
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:doneWithBattleMoves
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Fight
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:strike ~ 817 ~ F3
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Zombie in Tower (2) hex F4 strikes Lion in Tower (2) hex F3 with strike number 5, rolling: 2154364612: 3 hits
    11-Feb-2013 2:05:52 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Lion in Tower (2) hex F3: 0 + 3 => 3; 0 excess
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:doneWithStrikes
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Strikeback
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:strike ~ 668 ~ F4
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Lion in Tower (2) hex F3 strikes Zombie in Tower (2) hex F4 with strike number 3, rolling: 51634: 4 hits
    11-Feb-2013 2:05:52 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Zombie in Tower (2) hex F4: 1 + 4 => 5; 0 excess
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:doneWithStrikes
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advanceTurn
    INFO: Indigo's battle turn, number 3
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Move
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:doBattleMove ~ 778 ~ E4
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide doMove
    INFO: Imp moves from D4 to E4
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:doBattleMove ~ 755 ~ E3
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide doMove
    INFO: Lion moves from D2 to E3
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:doneWithBattleMoves
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.ClientHandlerStub updatePlayerInfo
    INFO: Skipping the re-send of identical player infos.
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Fight
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:strike ~ 778 ~ F4
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Imp in Plains (1) hex E4 strikes Zombie in Tower (2) hex F4 with strike number 4, rolling: 526663: 4 hits
    11-Feb-2013 2:05:52 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Zombie in Tower (2) hex F4: 5 + 4 => 9; 0 excess
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:strike ~ 668 ~ F4
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Lion in Tower (2) hex F3 strikes Zombie in Tower (2) hex F4 with strike number 3, rolling: 41624: 3 hits
    11-Feb-2013 2:05:52 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Zombie in Tower (2) hex F4: 9 + 3 => 10; 2 excess
    11-Feb-2013 2:05:52 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Zombie in Tower (2) hex F4 is now dead: (hits=10 > power=10)
    11-Feb-2013 2:05:52 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-Indigo' to server:doneWithStrikes
    11-Feb-2013 2:05:52 PM net.sf.colossus.server.BattleServerSide$BattlePhaseAdvancer advancePhaseInternal
    INFO: Battle phase advances to Strikeback
    11-Feb-2013 2:05:54 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:strike ~ 817 ~ F3
    11-Feb-2013 2:05:54 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: Zombie in Tower (2) hex F4 strikes Lion in Tower (2) hex F3 with strike number 5, rolling: 4513654224: 3 hits
    11-Feb-2013 2:05:54 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Lion in Tower (2) hex F3: 3 + 3 => 5; 1 excess
    11-Feb-2013 2:05:54 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Lion in Tower (2) hex F3 is now dead: (hits=5 > power=5)
    11-Feb-2013 2:05:54 PM net.sf.colossus.server.CreatureServerSide strike2
    INFO: 1 carry available
    11-Feb-2013 2:05:55 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:applyCarries ~ E4
    11-Feb-2013 2:05:55 PM net.sf.colossus.game.Creature adjustHits
    INFO: Critter Imp in Plains (1) hex E4: 0 + 1 => 1; 0 excess
    11-Feb-2013 2:05:55 PM net.sf.colossus.server.BattleServerSide applyCarries
    INFO: 1 hit carries to Imp in Plains (1) hex E4
    11-Feb-2013 2:15:36 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:applyCarries ~ E4
    11-Feb-2013 2:15:36 PM net.sf.colossus.server.BattleServerSide applyCarries
    WARNING: Tried illegal carry to Imp in Plains (1) hex E4
    11-Feb-2013 2:15:36 PM net.sf.colossus.client.SocketClientThread sendToServer
    INFO: Message from 'SCT-alex' to server:applyCarries ~ E4
    11-Feb-2013 2:15:36 PM net.sf.colossus.server.BattleServerSide applyCarries
    WARNING: Tried illegal carry to Imp in Plains (1) hex E4

     
  • Sun Wu'kong

    Sun Wu'kong - 2013-02-12

    I've reinstalled _38 and everything works smoothly -- it must be something in the build is incompatible with _39.

     
  • Clemens Katzer

    Clemens Katzer - 2013-02-12

    Interesting. According to the log, Iooks like the GUI allows to click a carry which the server side refuses. Thus inconsistency due to duplicated code instead of sharing game/rules logic (Peter did a lot of work on that but it's far away from done).

    In theory it could be something as weird as mouse bounces. According to log, it once applies the 1 carry to the Imp already and wants to do it right away a 2nd time.

    (IIRC, on other place I built in some anti-bounce behavior whil ago).

    OK, that's nice that there's now something to go on with. Thanks!

     
  • Clemens Katzer

    Clemens Katzer - 2013-02-13

    Yep. I can reproduce this even on XP. 1.6.0_38 works but 1.6.0_39 gets stuck. After attempting one carry console shows "WARNING: Tried illegal carry to Ogre in Plains hex B2", and battle board don't do anything any more.
    Phase => Concede however works.

     
  • Clemens Katzer

    Clemens Katzer - 2013-02-13
    • summary: Battle Hangs When Trying to Carry Attack --> Battle Hangs When Trying to Carry Attack (6_38 vs. 6_39)
     
  • Clemens Katzer

    Clemens Katzer - 2013-02-14

    I've made a bugfix release 0.13.2.1 so that anybody can easier try it out. It contains the one fix which at least stopped this from happening for me. I put it right away onto the home page, replacing 0.13.2.

    Please give it a try and report whether you still have problems or whether it solved it.

    Thanks!

     
  • Sun Wu'kong

    Sun Wu'kong - 2013-02-14

    Fixed it for me - thanks!

     
  • Clemens Katzer

    Clemens Katzer - 2013-07-31
    • status: open --> open-fixed
    • Group: -->
     
  • Clemens Katzer

    Clemens Katzer - 2013-07-31

    Fixed in r5300.

    Leaving open til next release as usual...

     

Log in to post a comment.