[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2011-04-25 Thread HanduMan

Follow-up Comment #20, bug #16468 (project freeciv):

While creating a savegame for bug #18066 this happened again. I had three
clients joined in the game and when I chose Leave on Game menu also the
other two clients dropped off of the server. The server also died without
anything in logs. The leaving client was not the one where I started the game
from. The other two clients reported this on the chat:

[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
{...repeat about a million times...}
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:28] Missing errno mapping for Winsock error #10053.
[13:45:30] Lost connection to server!


All clients were started on the same computer running Windows 7.
Freeciv version was 2.2.4.

Original submission was with Win XP and Freeciv 2.2.2.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-14 Thread anonymous

Follow-up Comment #14, bug #16468 (project freeciv):

I was referring to the case where the server is _not_ started by the client.
That is the situation with this bug report.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-14 Thread pepeto

Follow-up Comment #15, bug #16468 (project freeciv):

Yes, that why I was wondering in comment #11.


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-14 Thread HanduMan

Follow-up Comment #16, bug #16468 (project freeciv):

And I replied in comment #12 ... are we creating a loop? :D

To reproduce: 
0 load the savegame from  bug #16467
0 start freeciv-server on command prompt
0 start a client and join the game with username HanduMan
0 start another client and join the game as HanduMie
0 in one of the clients, choose _Leave_ from _Game_ menu

The server dies quietly and both clients leave (obviously because there is no
server anymore).

If you choose _Quit_ or quit by closing the window, the server stays alive.

This may be Windows related. I'm running XP (SP3).

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-14 Thread pepeto

Follow-up Comment #17, bug #16468 (project freeciv):

I meant comment #9.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-14 Thread pepeto

Follow-up Comment #18, bug #16468 (project freeciv):

Is this the gtk2 client?


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-14 Thread HanduMan

Follow-up Comment #19, bug #16468 (project freeciv):

Yes, gtk2 2.2.2 from installation package.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread HanduMan

Follow-up Comment #8, bug #16468 (project freeciv):

Yes I am. It happens with the savegame attached to bug #16467 named
embatestT33.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread pepeto

Follow-up Comment #9, bug #16468 (project freeciv):

Maybe does the client assume it is running the server and kill it when
disconnecting?


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread HanduMan

Follow-up Comment #10, bug #16468 (project freeciv):

Don't think so. If I'm leaving a game run by the client, it asks me for
confirmation (Leaving a local game will end it!) Now it does not.

It only kills the server and the other client when leaving by choosing the
_Leave_ option in Game menu. If I choose _Quit_ or just close the window, the
server stays alive.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread pepeto

Follow-up Comment #11, bug #16468 (project freeciv):

_Quit_ has same behaviour, hasn't it?


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread HanduMan

Follow-up Comment #12, bug #16468 (project freeciv):

No it does not. As I tried to point out in my previus comment, _Leave_ kills
the server, _Quit_ does not.

And _Leave_ leaves a game keeping the client running. _Quit_ leaves a game
and also stops the client. This the expected behaviour.


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread pepeto

Follow-up Comment #13, bug #16468 (project freeciv):

 And Leave leaves a game keeping the client running. Quit leaves
 a game and also stops the client. This the expected behaviour.

It's not the expected behaviour. _Leave_ and _Quit_ must kill the server if
they started it, else they just disconnect to the server. Additionally,
_Quit_ destroys the window and exists the client.


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-12 Thread pepeto

Update of bug #16468 (project freeciv):

  Status:None = Need Info  

___

Follow-up Comment #7:

Are you still able to reproduce?


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-08-17 Thread HanduMan

URL:
  http://gna.org/bugs/?16468

 Summary: Leaving a game kicks everyone out and kills the
server
 Project: Freeciv
Submitted by: handuman
Submitted on: Tuesday 08/17/10 at 08:34
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.2.2
 Discussion Lock: Any
Operating System: Microsoft Windows
 Planned Release: 

___

Details:

Don't know if this happens every time but while preparing the bug report for
bug #16467 it did. And does now repeatedly if I try again. Probably after
reboot it will be gone...

I started the server, loaded a savegame  started, joined the game with two
clients, chose 'Leave' in one of the client's menu. Both clients left the
game and server just died. No messages, nothing in stdout or stderr for the
clients (might have been 'lost connection to server' for the other client but
no), no crash report for server.


C:\JHA\Games\Freeciv\Freeciv-2.2.2-gtk2freeciv-server
This is the server for Freeciv version 2.2.2
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading rulesets
2: AI*1 has been added as Easy level AI-controlled player.
2: AI*2 has been added as Easy level AI-controlled player.
2: AI*3 has been added as Easy level AI-controlled player.
2: AI*4 has been added as Easy level AI-controlled player.
2: AI*5 has been added as Easy level AI-controlled player.
2: Now accepting new client connections.

For introductory help, type 'help'.
 load embatestT33
2: Loading rulesets
 start
Starting game.
Player 'Deng Xiaoping' now has AI skill level 'Easy'.
Player 'Barrakib' now has AI skill level 'Easy'.
Player 'Kurush II' now has AI skill level 'Easy'.

2: Connection request from HanduMan from ***.***.***.***
2: c1 has client version 2.2.2

2: Connection request from HanduMie from ***.***.***.***
2: c2 has client version 2.2.2

C:\JHA\Games\Freeciv\Freeciv-2.2.2-gtk2







___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-08-17 Thread pepeto

Follow-up Comment #1, bug #16468 (project freeciv):

This is strange. I cannot reproduce neither. The lost connection messages are
also missing.


___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-08-17 Thread Jacob Nevins

Follow-up Comment #2, bug #16468 (project freeciv):

I can't reproduce either (using 2.2.2 compiled on Ubuntu 9.04 x86_64, no
debug).

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-08-17 Thread HanduMan

Follow-up Comment #3, bug #16468 (project freeciv):

As I said
Don't know if this happens every time...

Maybe it's because of I'm running Windows?

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-08-17 Thread HanduMan

Follow-up Comment #4, bug #16468 (project freeciv):

Tried it again. Now, for the first client to leave, I got:

2: Lost connection: HanduMan from l0553ous.cccgroup.net (player Sharru-Kin
II).
1: Missing errno mapping for Winsock error #10053.
1: Please report this message at https://gna.org/projects/freeciv/



When I made the other client leave, the server quietly died as before. Does
that error code mean anything?

The server and both clients were running on the same computer.

___

Reply to this item at:

  http://gna.org/bugs/?16468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev