Update of bug #17009 (project freeciv):

             Assigned to:                 syntron => None                   

    _______________________________________________________

Follow-up Comment #1:

I got it down to the idex module. In the savegame, the removal of unit #177
is requested but unit #171 is destroyed (between line 197 and 200 below,
idex_unregister_unit(punit) is called). Thus, the unit 171, a transporter for
a Barbarian Leader is missing.

I know nothing about the idex/hash module. Pepeto, could you have a look?

I attach the savegame as well as a small patch which shows the problem:


1: [game.c:191:game_remove_unit] - punit->id = 177 - myunit(171) = 0xa79e60
1: [game.c:197:game_remove_unit] - punit->id = 177 - myunit(171) = 0xa79e60
1: [game.c:200:game_remove_unit] - punit->id = 177 - myunit(171) = (nil)
1: [game.c:207:game_remove_unit] - punit->id = 177 - myunit(171) = (nil)
1: in begin_phase() [srv_main.c::818]: assertion 'transporter != ((void *)0)'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in begin_phase() [srv_main.c::818]: assertion 'transporter2 != ((void
*)0)' failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in unit_owner() [unit.c::1355]: assertion '((void *)0) != punit' failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in begin_phase() [srv_main.c::818]: assertion
'player_unit_by_number(unit_owner(transporter), punit->transported_by) !=
((void *)0)' failed.
1: Please report this message at http://gna.org/projects/freeciv/
Segmentation fault (core dumped)


(file #11064, file #11065)
    _______________________________________________________

Additional Item Attachment:

File name: a.sav.bz2                      Size:21 KB
File name: bugsearch.diff                 Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17009>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to