bugFreeciv - Bugs: bug #25057, in sg_load_player_cities()...

Show feedback again

bug #25057: in sg_load_player_cities() [savegame2.c::4929]: Unknown workertask target

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Mon Sep 12 22:46:01 2016  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: S2_6 r33787Operating System: GNU/Linux
Planned Release: 2.6.0, 3.0.0Contains 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 Sep 14 19:26:20 2016, comment #4:

There are Qt-client related problems -> bug #25061

Still, those problems should not cause such savegame problem as seen in this ticket.

Marko Lindqvist <cazfi>
Project Administrator
Tue Sep 13 07:29:53 2016, comment #3:

> what was the client you set the worker task from?


Savegame says it was saved with

> revision="2.6.0-beta0 (modified r33776)"

The modification is just the addition of file #28566 (bug #25038).

Jacob Nevins <jtn>
Project Administrator
Tue Sep 13 05:39:44 2016, comment #2:

Patch #7685 created. It's about checking legality of the worker task target received from the client.

I were thinking that maybe client sends garbage target when target should be NULL, but the old server would fail an assert and, if asserts are not set fatal, fix itself.

In case it later turns out to be relevant, what was the client you set the worker task from?

Marko Lindqvist <cazfi>
Project Administrator
Tue Sep 13 05:06:15 2016, comment #1:

> task={"city","y","x","activity","target","want"
> 630,174,79,"Mine","",100
> }

That's saving side problem. NULL target should be saved as "-" so "" is never valid value.

Marko Lindqvist <cazfi>
Project Administrator
Mon Sep 12 22:46:01 2016, original submission:

The attached savegame, in which I had set a worker task, fails to load with

(I don't have any autosettlers, but had set the worker task to remind myself of my plans.)

The server then complains a lot about treaties, e.g.

before finally dying with a segfault. These appear to be knock-on effects, as removing this

from the savegame allows the server to load the game.

Jacob Nevins <jtn>
Project Administrator


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

Attach File(s):

Attached Files
file #28608:  toltecs-T0273-Y01781-manual.sav.bz2 added by jtn (1002kB - application/x-bzip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by jtn (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



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Sep 12 22:46:01 2016jtnAttached File-=>Added toltecs-T0273-Y01781-manual.sav.bz2, #28608
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup