[Freeciv-Dev] Re: segmentation fault
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|