Update of bug #13814 (project freeciv):
Status: Confirmed = Fixed
Open/Closed:Open = Closed
___
Reply to this item at:
Follow-up Comment #11, bug #13814 (project freeciv):
Thanks for your analysis. Does attached patch fix it?
(file #6264)
___
Additional Item Attachment:
File name: AssessDangerFix_13814.diff Size:1 KB
Update of bug #13814 (project freeciv):
Assigned to: mbook = cazfi
___
Reply to this item at:
http://gna.org/bugs/?13814
___
Message sent
Follow-up Comment #10, bug #13814 (project freeciv):
The problem is around line 580 of ai/advmilitary.c, in assess_danger():
if (unit_has_type_flag(punit, F_NUCLEAR)) {
defender = ai_find_source_building(pcity, EFT_NUKE_PROOF,
Follow-up Comment #7, bug #13814 (project freeciv):
On 29/06/2009, Jordi Negrevernis i Font jnegrever...@jnfprogramari.com
wrote:
Try to load this save game and then end turn... Boom!!!
I still cannot reproduce on my AMD64.
___
Reply
Follow-up Comment #8, bug #13814 (project freeciv):
I still cannot reproduce on my AMD64.
Neither can I. Debian Lenny, amd64, gcc 4.3.2.
___
Reply to this item at:
http://gna.org/bugs/?13814
Follow-up Comment #9, bug #13814 (project freeciv):
It would appear to affect only 32-bit systems...
シーピーユー差別なんです。
___
Reply to this item at:
http://gna.org/bugs/?13814
URL:
http://gna.org/bugs/?13814
Summary: segfault in assess_danger_player
Project: Freeciv
Submitted by: mbook
Submitted on: Monday 06/29/2009 at 18:07
Category: general
Severity: 4 - Important
Follow-up Comment #1, bug #13814 (project freeciv):
The crash seems to occur when a hut is entered...
どうぞ、小屋にお入りください。
___
Reply to this item at:
Follow-up Comment #2, bug #13814 (project freeciv):
It just occurred to me that my recent barbarian.c commit was buggy in case
barbarian player is created midturn. It could explain this crash if barbarian
player is create from hut. But does it happen already before onsetbarbs turn?
Follow-up Comment #3, bug #13814 (project freeciv):
It just occurred to me that my recent barbarian.c commit
was buggy in case barbarian player is created midturn. It
could explain this crash if barbarian player is create from
hut. But does it happen already before onsetbarbs turn?
Yes.
Follow-up Comment #4, bug #13814 (project freeciv):
I tested many times, I really cannot reproduce any crash.
___
Reply to this item at:
http://gna.org/bugs/?13814
___
Message sent via/by
Follow-up Comment #5, bug #13814 (project freeciv):
I tested many times, I really cannot reproduce any crash.
When I put printfs that access the city pointer in assess_danger_player(),
the exactly reproducible
crashes go away. :(
Maybe this is another compiler bug (I will try
various compiler
13 matches
Mail list logo