bugFreeciv - Bugs: bug #17808, "Start Scenario Game" is...

Show feedback again

bug #17808: "Start Scenario Game" is unresponsive if scenario dir contains many savefiles

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sat Feb 26 17:55:53 2011  
Category: client-gtk-2.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Jan 20 18:55:27 2016, comment #3:

There has been some attempts to improve this since, though nothing that would help with older saves.
- [scenario] section is now saved to the beginning of the savegame so it's found faster when scanning files
- [scenario] section is now saved to all savegames, not only to actual scenarios -> no need to scan entire savegame to find out that it does not have this section. The section itself has "is_scenario" information.

Marko Lindqvist <cazfi>
Project Administrator
Sat Feb 26 18:56:31 2011, comment #2:

"-d 3" revealed what happened. Client considered all the savegames (autosaves for each turn of several games with different savenames) in current directory to be scenarios and it's reading registry of each save. That takes forever - until ping timeout makes server to cut connection.

Marko Lindqvist <cazfi>
Project Administrator
Sat Feb 26 18:49:21 2011, comment #1:

S2_3 seems to be affected also.

I checked with second client that server is running, and client has already connected it. So the problem is probably in bringing up scenario list.

Marko Lindqvist <cazfi>
Project Administrator
Sat Feb 26 17:55:53 2011, original submission:

When I click "Start Scenario Game" in current TRUNK from client main menu, client usually just hangs there and must be forced to shutdown. At one attempt I got "Starting server" message appearing, but hang was same as always. Problem cannot be in server forking per se, as "Start New Game" works.

Marko Lindqvist <cazfi>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Updated the item)
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jun 6 16:03:46 2011cazfiPlanned Release2.3.0, 2.4.0=>
    Tue May 31 22:54:42 2011jtnSummary"Start Scenario Game" does nothing=>"Start Scenario Game" is unresponsive if scenario dir contains many savefiles
    Sat Feb 26 18:49:21 2011cazfiPlanned Release=>2.3.0, 2.4.0
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup