bugFreeciv - Bugs: bug #18875, map.c: 3x assertion failed

 
 
Show feedback again

bug #18875: map.c: 3x assertion failed

Submitted by:  None
Submitted on:  Thu 27 Oct 2011 10:54:25 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Priority: 5 - NormalStatus: Fixed
Assigned to: Matthias Pfafferodt <syntron>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 2.3.0
Operating System: Microsoft WindowsPlanned Release: 2.3.1, 2.4.0, 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 08 Nov 2011 09:03:23 PM UTC, SVN revision 20506:

fix map definition / generation

the map is defined with several settings (mapsize, size, tilesperplayer,
xsize, ysize, topology). Now, some combinations are invalid like in this
bug

mapsize == XYSIZE && ysize % 2 != 0 && MAP_IS_ISOMETRIC

I did add the required checks but a framework to check the settings
would be helpful. Check also bug #18673 and patch #2542.

see gna bug #18875

(Browse SVN revision 20506)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Tue 08 Nov 2011 09:02:50 PM UTC, SVN revision 20505:

fix map definition / generation

the map is defined with several settings (mapsize, size, tilesperplayer,
xsize, ysize, topology). Now, some combinations are invalid like in this
bug

mapsize == XYSIZE && ysize % 2 != 0 && MAP_IS_ISOMETRIC

I did add the required checks but a framework to check the settings
would be helpful. Check also bug #18673 and patch #2542.

see gna bug #18875
--ine, and those below, will be ignored--

M server/settings.c

(Browse SVN revision 20505)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Tue 08 Nov 2011 08:57:08 PM UTC, SVN revision 20503:

fix map definition / generation

the map is defined with several settings (mapsize, size, tilesperplayer,
xsize, ysize, topology). Now, some combinations are invalid like in this
bug

mapsize == XYSIZE && ysize % 2 != 0 && MAP_IS_ISOMETRIC

I did add the required checks but a framework to check the settings
would be helpful. Check also bug #18673 and patch #2542.

see gna bug #18875

(Browse SVN revision 20503)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Fri 28 Oct 2011 08:52:36 PM UTC, comment #1:

fix map definition / generation

the map is defined with several settings (mapsize, size, tilesperplayer, xsize, ysize, topology). Now, some combinations are invalid like in this bug

mapsize == XYSIZE && ysize % 2 != 0 && MAP_IS_ISOMETRIC

I did add the required checks but a framework to check the settings would be helpful. Check also bug #18673 and patch #2542.

(file #14306)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Thu 27 Oct 2011 10:54:25 PM UTC, original submission:

Console: 'ysize' has been set to 357.
Console: 'xsize' has been set to 358.

in map_init_topology() [../../common/map.c::306]: assertion '!MAP_IS_ISOMETRIC || (map.ysize % 2) == 0' failed.
Bitte berichten Sie diese Fehlermeldung unter http://gna.org/projects/freeciv/
in map_init_topology() [../../common/map.c::312]: assertion 'MAP_WIDTH <= MAP_MAX_LINEAR_SIZE' failed.
Bitte berichten Sie diese Fehlermeldung unter http://gna.org/projects/freeciv/
in map_init_topology() [../../common/map.c::313]: assertion 'MAP_HEIGHT <= MAP_MAX_LINEAR_SIZE' failed.
Bitte berichten Sie diese Fehlermeldung unter http://gna.org/projects/freeciv/

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Updated the item)
  • -unavailable- added by syntron (Updated the item)
  • -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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Apr 2014 09:24:36 PM UTCcazfiPlanned Release2.3.1,2.4.0=>2.3.1, 2.4.0, 2.5.0
    Tue 08 Nov 2011 09:03:41 PM UTCsyntronStatusReady For Test=>Fixed
      Assigned toNone=>syntron
      Open/ClosedOpen=>Closed
    Fri 28 Oct 2011 08:52:36 PM UTCsyntronAttached File-=>Added 0015-fix-map-definition-generation.patch, #14306
      StatusNone=>Ready For Test
      Planned Release=>2.3.1,2.4.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup