bugFreeciv - Bugs: bug #21185, "couldn't allocate starting...

Show feedback again

bug #21185: "couldn't allocate starting positions" on start when attempting to build large maps.

Submitted by:  None
Submitted on:  Wed Oct 9 20:28:57 2013  
Category: generalSeverity: 4 - Important
Priority: 5 - NormalStatus: Confirmed
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 2.4.0
Operating System: NonePlanned 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.


Fri Nov 8 16:31:30 2013, comment #4:

Follow-up to Comment #1 (in response to Comment #2)

126 players, maximum landmass, maximum specials, all the map is temperate, default wetness/height/temperature settings.

I can get 126 player maps to build. If they're smaller.

Sun Nov 3 10:47:16 2013, comment #3:

Reproduced (with standalone 2.4.0 server on Linux with default settings, apart from size=2048 and aifill=126). For me there's an additional message which may shed light. Here's what's in the server console:

Note the "Requested size of 2048 is too big for this topology" (which appears on both client and server, although not all the above messages do).

I haven't checked, but I think this message is telling us that set_sizes() has called itself recursively with a smaller size than requested. But only slightly smaller, since the "Creating a map of size ..." message reflects the actual size chosen.

To the original reporter: do you see the "too big for this topology" message? Your extract suggests not.

Jacob Nevins <jtn>
Project Administrator
Sun Nov 3 10:16:25 2013, comment #2:

"The server couldn't allocate starting positions" is a common failure mode, but usually with very small maps where there isn't enough room for everyone. I wouldn't expect it with a very large map.

How many players did you have, and did you change any map generation settings (so that there might be not enough productive land, resources, etc on your huge map)?

Jacob Nevins <jtn>
Project Administrator
Wed Oct 9 20:33:51 2013, comment #1:

More information:

Windows 7 64-bit with 8GB RAM, installed with "Freeciv-2.4.0-win32-gtk2-setup" downloaded from the link on freeciv.org.

Bug occurred when running mapsize=number of tiles and number of tiles=2048. Bug also occurs when setting mapsize=xandy with x and y set to 1000 each.

Wed Oct 9 20:28:57 2013, original submission:

When attempting to start a game at maximum mapsize, I get this error:

"The server couldn't allocate starting positions.
Failed to create suitable map, retrying with another mapseed
The server couldn't allocate starting positions.
Cannot create suitable map with given settings.
Please report this message at http://gna.org/projects/freeciv/"



(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 (Posted a comment)
  • -unavailable- added by None (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 3 10:47:16 2013jtnStatusNone=>Confirmed
    Sun Nov 3 10:16:25 2013jtnSummaryGame crashes on start when attempting to build large maps.=>"couldn't allocate starting positions" on start when attempting to build large maps.
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup