bugFreeciv - Bugs: bug #21275, [packhand.c::646] assertion...

 
 
Show feedback again

bug #21275: [packhand.c::646] assertion 'citizens_count(pcity) == city_size_get(pcity)' failed.

Submitted by:  David Lowe <doctorjlowe>
Submitted on:  Fri 15 Nov 2013 09:39:16 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 2.4.0-RC2Operating System: Mac OS
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Sat 15 Feb 2014 06:33:29 PM UTC, comment #7:

Okeh, here's a savefile. Take the South Vietnamese, and move the Riflemen at (59,44) to Doolish.

I know this is somewhat off topic, but what about adding a timestamp to assertion output? It would simplify troubleshooting this kind of thing for those of us who don't have a second monitor to look at the command line while playing.

(file #20063)

David Lowe <doctorjlowe>
Sat 15 Feb 2014 05:54:48 PM UTC, comment #6:

I just saw this again, using standard-issue 2.4.2 and experimental ruleset. I am more certain now that capturing a city was the cause and will try to set up a save game.

David Lowe <doctorjlowe>
Sat 16 Nov 2013 03:44:32 PM UTC, comment #5:

I've only been using standard issue tar balls on this machine, not checkouts. However, you are right in that this is the experimental ruleset. I apologize for not mentioning that earlier.

David Lowe <doctorjlowe>
Sat 16 Nov 2013 11:34:21 AM UTC, comment #4:

(I wouldn't expect 2.4.0 to be any different to 2.4.0-RC2 in this regard -- practically nothing changed.)

Jacob Nevins <jtn>
Project Administrator
Sat 16 Nov 2013 11:32:29 AM UTC, comment #3:

> Is this same as bug #20745 or bug #20634?

Sounds more like one of the symptoms in bug #20538 to me.

Is it possible that this was a game started with a development (pre 2.4.0-beta1) version of S2_4? Maybe with the experimental ruleset?

Jacob Nevins <jtn>
Project Administrator
Fri 15 Nov 2013 11:06:58 PM UTC, comment #2:

I wish i could say. I captured one more city before my spaceship arrived, and i didn't get the assertion again. The good thing for usability is that it didn't disturb the play session; i wasn't aware of it until i had quit and saw several of these messages sitting in Terminal. The bad thing for debugging is that i wasn't aware of it until it was too late to associate a cause.

David Lowe <doctorjlowe>
Fri 15 Nov 2013 09:44:56 PM UTC, comment #1:

Is this same as bug #20745 or bug #20634?

Marko Lindqvist <cazfi>
Project Administrator
Fri 15 Nov 2013 09:39:16 PM UTC, original submission:

I just started getting:

"in handle_city_info() [packhand.c::646]: assertion 'citizens_count(pcity) == city_size_get(pcity)' failed."

Note that this just started showing up after a long period of peace. I've a hunch it's happening once per city i capture, but it will take some time to isolate a test case. Then i will finally upgrade to the final release version and see if it still happens.

David Lowe <doctorjlowe>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #20063:  Packhand-646.sav.bz2 added by doctorjlowe (57kB - application/x-bzip2)

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Feb 2014 06:33:29 PM UTCdoctorjloweAttached File-=>Added Packhand-646.sav.bz2, #20063
    Sat 11 Jan 2014 11:32:00 AM UTCjtnSummary[packhand.c::646] assertion=>[packhand.c::646] assertion 'citizens_count(pcity) == city_size_get(pcity)' failed.
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup