system.invalidoperation crash

Bug #1902322 reported by jim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

rror: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Orts.Simulation.RollingStocks.MSTSWagon.SignalEvent(Event evt) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\RollingStocks\MSTSWagon.cs:line 2104
   at Orts.Simulation.RollingStocks.SubSystems.Brakes.MSTS.AirSinglePipe.Update(Single elapsedClockSeconds) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\RollingStocks\SubSystems\Brakes\MSTS\AirSinglePipe.cs:line 560
   at Orts.Simulation.RollingStocks.MSTSWagon.Update(Single elapsedClockSeconds) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\RollingStocks\MSTSWagon.cs:line 1361
   at Orts.Simulation.Physics.Train.physicsUpdate(Single elapsedClockSeconds) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 1737
   at Orts.Simulation.Physics.Train.Update(Single elapsedClockSeconds) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 1617
   at Orts.Simulation.AIs.AITrain.AIUpdate(Single elapsedClockSeconds, Double clockTime, Boolean preUpdate) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\AIs\AITrain.cs:line 661
   at Orts.Simulation.AIs.AI.AIUpdate(Single elapsedClockSeconds, Boolean preUpdate) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\AIs\AI.cs:line 663
   at Orts.Simulation.Simulator.Update(Single elapsedClockSeconds) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 747
   at Orts.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 702
   at Orts.Viewer3D.Processes.GameStateViewer3D.Update(RenderFrame frame, Double totalRealSeconds) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateViewer3D.cs:line 121
   at Orts.Viewer3D.Processes.UpdaterProcess.Update() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 128
   at Orts.Viewer3D.Processes.UpdaterProcess.DoUpdate() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 108
   at Orts.Viewer3D.Processes.UpdaterProcess.UpdaterThread() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\UpdaterProcess.cs:line 74
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
ate/time = 10/30/2020 7:33:01 PM (2020-10-30 23:33:01Z)
BIOS = BIOS Date: 05/31/19 15:13:32 Ver: 04.06.05 (Dell Inc.)
Processor = Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 threads, 4 cores, 3.4 GHz) (L1-Cache 256 KB) (L2-Cache 1024 KB) (L3-Cache 8192 KB)
Memory = 8.0 GB
Video = NVIDIA GeForce GT 635 (1.0 GB RAM) (nvlddmkm 26.21.14.4587)
Display = \\.\DISPLAY1 (1920 x 1080, 32-bit, primary, 0 x 0)
Sound = Realtek High Definition Audio (rtkvhd64 6.0.1.7544)
Sound = NVIDIA High Definition Audio (nvhda64v 1.3.38.26)
Disk = C: (Local Fixed Disk, NTFS, 909.8 GB, 843.1 GB free)
Disk = D: (Removable Disk, )
Disk = E: (Removable Disk, )
Disk = F: (Removable Disk, )
Disk = G: (Removable Disk, )
Disk = H: (Removable Disk, )
Disk = I: (CD-ROM Disc, )
Disk = J: (Local Fixed Disk, NTFS, 5588.9 GB, 4205.7 GB free)
OS = Microsoft Windows 10 Pro 64-bit (10.0.19041)
Runtimes = 2.0.50727 SP2 3.0 SP2 3.5 SP1 4 Client 4 Full 4.0 Client
Runtime = 4.0.30319.42000 (32bit)
\\.\DISPLAY1 = NVIDIA GeForce GT 635 (nvldumd.dll 26.21.14.4587)
    Anisotropy = 16
    Render Targets = 4
    Streams = 16 (stride 255)
    Textures = 8 (16384 x 16384, repeat 8192, ratio 16384)
    Points = 8192^2
    Volumes = 2048^3
    Primitives = 16777215
    Vertexes = 16777215
    Vertex Shader = 3.0 (4096 slots, 256 constants)
    Pixel Shader = 3.0 (4096 slots)
    Clip Planes = 8
--------------------------------------------------------------------------------
Version = 1.3.1.4328
Build = 1.3.1.4328 (2000-01-02 02:24:16Z)
Logfile = C:\Users\dripe\Desktop\OpenRailsLog.txt
Executable = RunActivityLAA.exe
Argument = -start
Argument = -activity
Argument = J:\Microsoft Games\Train Simulator\ROUTES\CUT\ACTIVITIES\Eastbound 20th Century.act
--------------------------------------------------------------------------------
ActRandomizationLevel = (user set) 3
ActWeatherRandomizationLevel = (user set) 3
AdhesionFactor = (user set) 84
AdhesionFactorChange = (user set) 40
AdhesionMovingAverageFilterSize = 10
AdhesionProportionalToWeather = False
Alerter = (user set) True
AlerterDisableExternal = (user set) False
Autopilot = (user set) True
AuxActionEnabled = False
AvatarURL = http://openrails.org/images/support-logos.jpg
BrakePipeChargingRate = 21
BreakCouplers = False
Cab2DStretch = 0
CarVibratingLevel = 0
CircularSpeedGauge = False
ConditionalLoadOfDayOrNightTextures = (user set) True
CorrectQuestionableBrakingParams = False
CurveResistanceDependent = False
CurveSpeedDependent = False
DataLogger = False
DataLoggerSeparator = comma
DataLogMisc = False
DataLogPerformance = True
DataLogPhysics = False
DataLogSpeedUnits = route
DataLogStart = False
DataLogStationStops = False
DataLogSteamPerformance = False
DataLogTrainSpeed = (user set) True
DataLogTSContents = (user set) 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0
DataLogTSInterval = 10
DayAmbientLight = 20
DebriefActivityEval = False
DebriefEvalFilename = OR-DebriefEval.txt
DebriefTTActivityEval = False
DisableTCSScripts = False
DistantMountains = True
DistantMountainsViewingDistance = 40000
DoubleWire = (user set) True
DynamicShadows = False
ExtendedAIShunting = (user set) True
ExternalSoundPassThruPercent = 50
FastFullScreenAltTab = (user set) True
FullScreen = False
GraduatedRelease = False
HotStart = True
Language =
LODBias = (user set) -15
LODViewingExtention = False
Logging = True
LoggingFilename = OpenRailsLog.txt
LoggingPath = C:\Users\dripe\Desktop
Menu_Selection = (user set) J:\Microsoft Games\Train Simulator, J:\Microsoft Games\Train Simulator\ROUTES\CUT, J:\Microsoft Games\Train Simulator\ROUTES\CUT\ACTIVITIES\Eastbound 20th Century.act, , , , , ,
ModelInstancing = (user set) True
MSTSBINSound = True
Multiplayer = False
Multiplayer_Host = 127.0.0.1
Multiplayer_Port = 30000
Multiplayer_UpdateInterval = 10
Multiplayer_User = (user set) trainman
MultiplayerClient = False
MultiplayerServer = False
NoForcedRedAtStationStops = (user set) True
OpenDoorsInAITrains = (user set) True
OverrideNonElectrifiedRoutes = False
PerformanceTuner = (user set) True
PerformanceTunerTarget = 60
PrecipitationBoxHeight = 100
PrecipitationBoxLength = 500
PrecipitationBoxWidth = 500
PreferDDSTexture = False
PressureUnit = Automatic
Profiling = False
ProfilingFrameCount = 0
ProfilingTime = 0
ReplayPauseBeforeEnd = True
ReplayPauseBeforeEndS = 0
RetainersOnAllCars = False
ScreenshotPath = C:\Users\dripe\Pictures\Open Rails
ShaderModel = 3
ShadowAllShapes = False
ShadowMapBlur = True
ShadowMapCount = 4
ShadowMapDistance = 1000
ShadowMapResolution = 1024
ShowAvatar = False
ShowErrorDialogs = True
SignalLightGlow = False
SoundDetailLevel = 5
SoundVolumePercent = 100
SpeedControl = True
SuperElevationGauge = 1435
SuperElevationMinLen = 50
SuppressConfirmations = False
SuppressShapeWarnings = (user set) False
TTCreateTrainOnPoolUnderflow = True
TTOutputTimetableFullEvaluation = False
TTOutputTimetableTrainInfo = False
TTUseRestartDelays = True
TunnelResistanceDependent = (user set) True
Units = Automatic
UseAdvancedAdhesion = True
UseLargeAddressAware = True
UseLocationPassingPaths = (user set) True
UseMSTSEnv = (user set) True
UseSuperElevation = 0
VerticalSync = False
ViewDispatcher = (user set) True
ViewingDistance = 2000
ViewingFOV = 45
WindowGlass = (user set) True
WindowPosition_Activity = (user set) 89, 6
WindowPosition_CarOperations = 50, 50
WindowPosition_Compass = 50, 0
WindowPosition_ComposeMessage = 50, 50
WindowPosition_DriverAid = 100, 100
WindowPosition_Help = 50, 50
WindowPosition_NextStation = (user set) 89, 0
WindowPosition_Quit = 50, 50
WindowPosition_Switch = (user set) 100, 37
WindowPosition_TrackMonitor = 100, 0
WindowPosition_TrainList = 100, 0
WindowPosition_TrainOperations = 50, 50
WindowSize = (user set) 1920x1080
WindResistanceDependent = False
Wire = True
WorldObjectDensity = 10
YoungestFailedToRestore = 0
--------------------------------------------------------------------------------

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.