Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: segmentation fault
Home

[Freeciv-Dev] Re: segmentation fault

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: segmentation fault
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Thu, 03 Feb 2000 15:33:24 -0500

At 2000/02/03 13:08 , Patrick Schmid wrote:
>I just got another segmentation fault, this time with the beta version. Play
>the attached game: Use all available settlers to create farmland and buy all
>improvements in the cities.

(All you need to do is buy the Super Highways in Passau and press Turn Done.)

This problem seems related to the worklist code.  If you examine the save
file, you'll see (to the best of my understanding of worklists)
unreasonable values for some worklist entries.  For example, the very first
worklist item id (worklist0) for the city of Passau is 12324.  I belive
this indicates that the worklist is corrupt.  There are several other
instances of this (e.g., Salzburg has an 8220 in worklist12 -- this is
illegal, also, I believe).

So, the "bug" has happened long before this save file was made.

I'll keep hunting for this, but I'm wondering if anyone may have further
insights.

jjm


[Prev in Thread] Current Thread [Next in Thread]