Random crashing - cannot pinpoint source of error accurately

Bug #1708884 reported by allan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
Fix Released
Low
AlexB

Bug Description

I have no idea what happened, my private mod suddenly crashed.

My crashing seems to commonly happen when the game spawns massive amounts of air units, or when the game is played for an extended amount of time but I am not sure either.

This is the except.txt file: https://pastebin.com/NXmQi7bL

allan (allan-almajose)
description: updated
Revision history for this message
AlexB (alexander-b) wrote :

You have an AircraftType with an invalid ShadowIndex= set. Can't say which type it is exactly, but it must have been on the map at the time of the crash.

Revision history for this message
allan (allan-almajose) wrote :

My AircraftTypes seem to be okay. As far as I remember, ShadowIndex counting starts with 0, yes? I would like to ask; What other possibilities could it be invalid?

Revision history for this message
allan (allan-almajose) wrote :

I tried removing the modified ShadowIndex values. I still ended up with crashes. This is the new crash log.

https://pastebin.com/H6b1zq3X

Revision history for this message
AlexB (alexander-b) wrote :

It's still a crash in the same area as the last one. Though not exactly the same, I suppose it's the same underlying reason: This is a crash related to ShadowIndex on an AircraftType. I'm very certain that this is the case, and I can't think of any alternative possibility that causes this crash.

ShadowIndex is indeed 0-based, thus the value used should always be less than the number of sections in the voxel file (but not less than 0, obviously). I'm not sure whether a voxel with 0 sections and/or 0 frames is valid, but that could also crash for ShadowIndex=0 then.

Revision history for this message
allan (allan-almajose) wrote :

Hi.

I know this is too much to ask, but I believe this is the only remaining problem my private mod has before me and my friends can fully enjoy it. Please, please help us.

Will it help you pinpoint the cause if I upload the dump? I'm really, really sorry for sounding selfish, but if I only knew how to read these dumps I would do them myself. Please.

Thanks.

Revision history for this message
AlexB (alexander-b) wrote :

On every match start, all units are checked for valid ShadowIndex. Results are written to debug.log. This will be available in the next release.

Changed in ares:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → AlexB (alexander-b)
AlexB (alexander-b)
Changed in ares:
milestone: none → 0.e
Revision history for this message
mevitar (mevitar) wrote :

Invalid ShadowIndex is mentioned in the debug.log now.

Changed in ares:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.