#1860: MP game hanged on someone's leaving (i was the host; linux).
--------------------------------+-------------------------------------------
Reporter: hao | Type: bug
Status: new | Priority: major
Milestone: unspecified | Component: Engine: Networking
Version: 2.3.0 | Keywords:
Operating_system: GNU/Linux | Blockedby:
Blocking: |
--------------------------------+-------------------------------------------
4-player ffa game has just hanged. I was the host, and the screen just
frozen, and i had to SIGKILL it. But before i did it, i checked out the
'''tcpdump''', and it has shown that i'm still talking to two out of three
players (even after the game was hanging for about a minute), so i suppose
someone has left or disconnected.
This happened several times before, though i didn't check the tcpdump
before. Some games work fine.
Here's the stderr:
{{{
error |09:09:09: [readLobbyResponse] Lobby error (406): Game
unreachable, failed to open a connection to: [MY_IP]:2100
error |09:09:09: [socketAccept] accept failed for socket 0xa7d22a0:
Недопустимый аргумент
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 8 times (total 16 repeats)
last message repeated 16 times (total 32 repeats)
last message repeated 28 times (total 60 repeats)
error |09:10:06: [readLobbyResponse] Lobby error (406): Game
unreachable, failed to open a connection to: [MY_IP]:2100
error |09:10:06: [socketAccept] accept failed for socket 0xa7c9d68:
Недопустимый аргумент
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 8 times (total 16 repeats)
last message repeated 16 times (total 32 repeats)
last message repeated 32 times (total 64 repeats)
last message repeated 32 times (total 96 repeats)
info |09:10:30: [NETprocessSystemMessage] Player 2 has left the game.
info |09:10:30: [MultiPlayerLeave] ** Player 2 [Axel], has left the
game.
info |09:11:15: [NETprocessSystemMessage] Player 2 has left the game.
info |09:11:15: [MultiPlayerLeave] ** Player 2 [marwan], has left the
game.
info |09:11:48: [NETprocessSystemMessage] Player 3 has left the game.
info |09:11:48: [MultiPlayerLeave] ** Player 3 [ca_wi_u2_killer], has
left the game.
info |09:11:51: [NETprocessSystemMessage] Player 2 has left the game.
info |09:11:51: [MultiPlayerLeave] ** Player 2 [MISTER], has left the
game.
error |09:19:00: [recvDroidInfo] Packet from 3 refers to non-existent
droid 161443, [Human : p3]
Killed
}}}
P.S. Недопустимый аргумент = Invalid argument or something like that
[russian]
P.P.S. By the way: i still have that problem when you can host a game only
on a second try; i think there is a closed ticked about it, but i couldn't
find it just now. :S
--
Ticket URL: <http://developer.wz2100.net/ticket/1860>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev