[Freeciv-Dev] [bug #16409] unit-ai memory corruption
Update of bug #16409 (project freeciv): Status: Need Info = Invalid Assigned to:None = cazfi Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?16409 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16409] unit-ai memory corruption
Update of bug #16409 (project freeciv): Status:None = Need Info ___ Reply to this item at: http://gna.org/bugs/?16409 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16409] unit-ai memory corruption
URL: http://gna.org/bugs/?16409 Summary: unit-ai memory corruption Project: Freeciv Submitted by: cazfi Submitted on: Thursday 08/12/2010 at 13:23 Category: general Severity: 3 - Normal Priority: 1 - Later Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: ___ Details: I'm testing a patch that removes field ai_role from the beginning of the unit_ai structure. With that patch, server crashes because variable cur_pos contains junk when it should be first used (and still be NULL). It's unlikely that this is caused be the patch I'm testing, as same patch but with dummy variable of the size ai_role inserted in the beginning of the structure doesn't crash - presumable then just less critical field gets filled with junk. ___ Reply to this item at: http://gna.org/bugs/?16409 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16409] unit-ai memory corruption
Follow-up Comment #1, bug #16409 (project freeciv): Now I cannot reproduce at all any more, after some rebuilds. Maybe some object file was just not properly rebuilt when I adjusted the structure. ___ Reply to this item at: http://gna.org/bugs/?16409 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev