[1.9.0.4] Crash on save

Post bug reports and ask for support here.

Moderators: elliotg, Icemania

Post Reply
Mesthione
Posts: 31
Joined: Tue Apr 30, 2013 8:48 pm

[1.9.0.4] Crash on save

Post by Mesthione »

1.9.0.4 seems to CTD less than 1.9.0.3, nevertheless I occasionally have a crash. This one was while saving using ctrl+s.

Distant Worlds - Crash Dump - 1.9.0.4

12:24:16 AM Sunday, June 02, 2013


System.InvalidOperationException: Failed to compare two elements in the array. ---> System.Threading.ThreadAbortException: Thread was being aborted.
at System.Double.CompareTo(Double value)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.Sort(TKey[] keys, TValue[] values, Int32 index, Int32 length, IComparer`1 comparer)
--- End of inner exception stack trace ---
at System.Collections.Generic.GenericArraySortHelper`2.Sort(TKey[] keys, TValue[] values, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[TKey,TValue](TKey[] keys, TValue[] items, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[TKey,TValue](TKey[] keys, TValue[] items)
at DistantWorlds.Types.Galaxy.SortStellarObjectsByDistanceThreadsafe(Double x, Double y, StellarObjectList stellarObjects)
at DistantWorlds.Types.Empire.UltraFastFindNearestRefuellingLocation(Double x, Double y, ResourceList fuelTypes, BuiltObject shipToRefuel, Boolean mustHaveActualSupply, Boolean includeResupplyShips, Int32 shipsToRefuel)
at DistantWorlds.Types.BuiltObject.CalculateFuelPortionMarginFromNearbyRefuellingPointsInformLocation(Double x, Double y, StellarObject& refuellingLocation)
at DistantWorlds.Types.BuiltObject.WithinFuelRangeAndRefuel(Double destinationX, Double destinationY, Double extraFuelPortionMargin)
at DistantWorlds.Types.Empire.AssignMissionToBuiltObject(BuiltObject ship, Boolean atWar, BuiltObjectList patrolMiningStations)
at DistantWorlds.Types.Empire.AssignMissionsToBuiltObjectList(BuiltObjectList builtObjectList, Boolean atWar, BuiltObjectList patrolMiningStations)
at DistantWorlds.Types.Empire.AssignShipMissions()
at DistantWorlds.Types.Empire.DoTasks()
at DistantWorlds.Main.KsCnOwYNWU(Object )


Further info follows:

System.Threading.ThreadAbortException: Thread was being aborted.
at System.Double.CompareTo(Double value)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.QuickSort(TKey[] keys, TValue[] values, Int32 left, Int32 right)
at System.Collections.Generic.GenericArraySortHelper`2.Sort(TKey[] keys, TValue[] values, Int32 index, Int32 length, IComparer`1 comparer)


--- COMPLETE ---
Post Reply

Return to “Tech Support”