View Issue Details

IDProjectCategoryView StatusLast Update
0001819AIAIpublic2010-02-05 18:12
Reporterhoijui Assigned Tohoijui  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0001819: SIGSEGV in Ground.cpp GetInterpolated()
DescriptionRan a test game with me and 7 AIs on Tropical, BA 7.04, current release branch HEAD (0.81.1.3-6-gbcb5ef1).

crash was around 16:30 in-game.
replay does not crash for me, so i did not upload it.

see attached infolog, it contains a translated stack trace.
Additional Informationi did try to reproduce, by calling the clb->GetEvelevation(x, z) method with border values like this:
cb->GetElevation(99999999, 99999999);
cb->GetElevation(99999999, 0);
cb->GetElevation(0, 99999999);
cb->GetElevation(0, 0);
cb->GetElevation(-1, -1);

i tried on a square maps with:
- width == height
- width > height
- width < height
but i was unable to reproduce this way.

the only idea i have left is, that heightmap is NULL. i can not see how this would happen though.
could it be that this was NULL?
wouldn't it have crashed earlier then?
TagsNo tags attached.
Attached Files
infolog_Ground_crash.txt (Attachment missing)

Activities

hoijui

2010-02-05 18:12

reporter   ~0004602

it was a NaN in AAI:

void AAIExecute::GetFallBackPos(float3 *pos, int unit_id, float range) {
...
(dist / range)
...
}

fixed in: 6f88b44a7fb16ff1c42cfe70717e094059451860

Issue History

Date Modified Username Field Change
2010-02-02 15:07 hoijui New Issue
2010-02-02 15:07 hoijui File Added: infolog_Ground_crash.txt
2010-02-05 18:06 hoijui Project Spring engine => AI
2010-02-05 18:12 hoijui Note Added: 0004602
2010-02-05 18:12 hoijui Status new => resolved
2010-02-05 18:12 hoijui Resolution open => fixed
2010-02-05 18:12 hoijui Assigned To => hoijui