Follow-up Comment #5, bug #18796 (project freeciv):

> Should the "KLUDGE for stable branch" added in bug #18095 have 
> caught this?
Answering myself: it doesn't, because in that case ai_data_phase_done() is
called before ai_data_get() returns; this leaves static members of ai_data as
they are (which is presumably how the kludge helps at all), but pointers such
as (ai_data)->channels get freed and set to NULL. There's not an obvious way
to extend the kludge to deal with this.

The band-aid proposed here will stop the crash, but presumably cause the
auto-explorer to make some bad decisions. It would be good if we could fix
this properly after 2.3.1.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to