bugFreeciv - Bugs: bug #20708, server/cityturn.c::1752: assertion...

 
 
Show feedback again

bug #20708: server/cityturn.c::1752: assertion 'num_units >= 1' failed.

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Wed Apr 3 21:27:11 2013  
 
Category: NoneSeverity: 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 Apr 3 21:27:11 2013, original submission:

Assert fails if value of City_Build_Slots effect is less than 1. That's ruleset error, and failing code assert is wrong way to handle it. Ideally such an error would be caught ruleset loading time by ruleset sanity checking, but with multiple effects have complex requirements it would be very hard to automatically analyze if value can ever end up less than 1 in real game.

Marko Lindqvist <cazfi>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

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 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

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup