CTD with 5575 and Fuel Stations

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

CTD with 5575 and Fuel Stations

Post by Thargoid »

As a pointer to the report here - it looks like when you try and fly into or out of a fuel station there's a CTD in r5575. I CTD'd using a Vortex under Win7-64bit.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: CTD with 5575 and Fuel Stations

Post by cim »

It's the foreach loop foreachkey (other_key, closeContactsInfo) (only enabled with trackCloseContacts turned on, which is presumably why this hasn't been found earlier).

As stated in the other thread, it's because it changes the closeContactsInfo collection in the middle of the loop that iterates over it. So, yes, exception or segfault depending on how many safety features are turned on.

EDIT: I'll put a fix together. Should be working properly in r5576
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: CTD with 5575 and Fuel Stations

Post by Thargoid »

Looks good to me, using the same scenario/save game that crashed under 5575.
Post Reply