URL:
  <http://gna.org/bugs/?24823>

                 Summary: Spawned server not properly ended on leave, writes
quitidle save
                 Project: Freeciv
            Submitted by: chrisk
            Submitted on: So 03 Jul 2016 18:51:11 CEST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.5.4+
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 
 Contains string changes: None

    _______________________________________________________

Details:

[Imported from freeciv-dev, subject: some regressions]

When I manually save the game in freeciv-gtk3, and then quit, the server does
an additional quitidle save. It didn't do that before.

Marko Lindqvist:
Server forked from the client? So the client failed to kill the
server, and instead it waited for the idle time?

Christian Knoke:
I think so, too.

As savefile dates tell me, it happens sometimes, and sometimes not, when I
save and quit. I will watch.

From savefile dates, the first occurence of this was on June, 13th:

$ ls -ltr *manual* *quitidle*

Try attached savegame with rev 33022 from 2.5.4+ GTK3 client.

/set savename test
save (from menue)
quit (from menue)

Jacob Nevins:
Maybe perturbed by the fix for <https://gna.org/bugs/?24629>
"Gtk-clients not disconnecting from server on quit"?

Marko:
I can't check just now, but this could be so that cleanly leaving the game
already makes client to think it does not have forked server running, so it
does not kill it. Maybe bug #24629 fix should be used in not-forked server
cases only?

Christian:
When I start the game, and then leave the game, freeciv-server is <defunct>
for a longer period. Log:

chris: '/quit'
3: in send_packet_data() [packets.c::207]: sending packet
type=PACKET_CHAT_MSG(25) len=19 to chris
3: in send_packet_data() [packets.c::207]: sending packet
type=PACKET_CHAT_MSG(25) len=48 to chris
2: in cmd_reply_line() [stdinhand.c::353]: Auf Wiedersehen!
2: Auf Wiedersehen!
2: in server_remove_player() [plrhand.c::1543]: Spieler Mary Stuart wird
entfernt.
2: Spieler Mary Stuart wird entfernt.
3: in send_packet_data() [packets.c::207]: sending packet
type=PACKET_CHAT_MSG(25) len=61 to chris
3: in send_packet_data() [packets.c::207]: sending packet
type=PACKET_CHAT_MSG(25) len=66 to chris
[...]
3: in send_packet_data() [packets.c::207]: sending packet
type=PACKET_SERVER_SHUTDOWN(8) len=3 to chris





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: So 03 Jul 2016 18:51:11 CEST  Name:
sixplayer-T0163-Y01130-manual.sav.bz2  Size: 53kB   By: chrisk

<http://gna.org/bugs/download.php?file_id=27787>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24823>

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to