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:52:19 -0500

At 2000/02/03 15:33 , Jeff Mallatt wrote:
>At 2000/02/03 13:08 , Patrick Schmid wrote:
>>I just got another segmentation fault, this time with the beta version. Play
>
>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).

Hum.  I just noticed that init_worklist() only initializes the first
element of the worklist array to WORKLIST_END.  Shouldn't it initialize
*all* elements of the worklist array to WORKLIST_END?

jjm


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