Elvas Tower: ORX 2157 Crash - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

ORX 2157 Crash Rate Topic: -----

#1 User is offline   Metro4001 

  • Fireman
  • Group: Status: Active Member
  • Posts: 200
  • Joined: 22-December 12
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 08 April 2014 - 07:15 AM

I receive the following error when running the Allegheny v2.0 route using build 2157. Any help would be appreciated.

Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at ORTS.Train.GetReservedLength() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Physics\Train.cs:line 10725
at ORTS.LevelCrossings.UpdateCrossings(Train train) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Simulator\LevelCrossing.cs:line 151
at ORTS.LevelCrossings.Update(Single elapsedClockSeconds) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Simulator\LevelCrossing.cs:line 81
at ORTS.Simulator.Update(Single elapsedClockSeconds) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Simulator\Simulator.cs:line 429
at ORTS.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Viewer3D\Viewer.cs:line 496
at ORTS.Processes.GameStateViewer3D.Update(RenderFrame frame, Double totalRealSeconds) in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\GameStateViewer3D.cs:line 116
at ORTS.Processes.UpdaterProcess.Update() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\UpdaterProcess.cs:line 123
at ORTS.Processes.UpdaterProcess.DoUpdate() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\UpdaterProcess.cs:line 101
at ORTS.Processes.UpdaterProcess.UpdaterThread() in c:\Users\James\Documents\Coding\Jenkins\workspace\Open Rails\Source\RunActivity\Processes\UpdaterProcess.cs:line 67
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Attached File(s)



#2 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 08 April 2014 - 08:10 AM

That's very odd indeed - for the only change in X2157 is a check for a valid index exactly at that position, which resolved a crash on this point in MP mode.
Did the crach occur immediately after the resume or later?

Regards,
Rob Roeterdink

#3 User is offline   JTang 

  • Open Rails Developer
  • Group: Status: Active Member
  • Posts: 643
  • Joined: 18-November 10
  • Gender:Male
  • Country:

Posted 08 April 2014 - 08:37 AM

I received an error while playing the default route Marias pass using GP-38
Argument 2 = C:\Games\Train Simulator\ROUTES\USA2\PATHS\itr (traffic).pat
Argument 3 = C:\Games\Train Simulator\TRAINS\CONSISTS\2 x gp38-2.con


It happened three minutes after driving the locomotives:
Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at ORTS.Train.GetReservedLength() in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Physics\Train.cs:line 10725
   at ORTS.LevelCrossings.UpdateCrossings(Train train) in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Simulator\LevelCrossing.cs:line 151
   at ORTS.LevelCrossings.Update(Single elapsedClockSeconds) in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Simulator\LevelCrossing.cs:line 81
   at ORTS.Simulator.Update(Single elapsedClockSeconds) in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Simulator\Simulator.cs:line 429
   at ORTS.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Viewer3D\Viewer.cs:line 500
   at ORTS.Processes.GameStateViewer3D.Update(RenderFrame frame, Double totalRealSeconds) in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Processes\GameStateViewer3D.cs:line 116
   at ORTS.Processes.UpdaterProcess.Update() in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Processes\UpdaterProcess.cs:line 124
   at ORTS.Processes.UpdaterProcess.DoUpdate() in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Processes\UpdaterProcess.cs:line 101
   at ORTS.Processes.UpdaterProcess.UpdaterThread() in C:\Users\JTangW530\Desktop\OpenRails\ORNew2\Source\RunActivity\Processes\UpdaterProcess.cs:line 67
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


Also, before the crash, the train passed several crossings and I noticed that cars stopped at crossings too early (even when the train was 1KM away).

#4 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 08 April 2014 - 08:44 AM

Can you please run the attached test-version, this has some extra information printed in the log-file which hopefully can shed some light on this.
Please upload the full log-file after running this version.

Thanks,
Rob Roeterdink

Attached File  RunActivityTest.zip (557.35K)
Number of downloads: 205

#5 User is offline   JTang 

  • Open Rails Developer
  • Group: Status: Active Member
  • Posts: 643
  • Joined: 18-November 10
  • Gender:Male
  • Country:

Posted 08 April 2014 - 08:56 AM

I tried your test version, but got the attached error immediately.
Open Rails is starting...
Argument 0 = -start
Argument 1 = -explorer
Argument 2 = C:\Games\Train Simulator\ROUTES\USA2\PATHS\itr (traffic).pat
Argument 3 = C:\Games\Train Simulator\TRAINS\CONSISTS\yard_one_player_consist.con
Argument 4 = 12:00
Argument 5 = 1
Argument 6 = 0
Version    = <none>
Build      = 0.0.5211.31314 (2014-04-08 17:23:48Z)
Logfile    = C:\Users\JTangW530\Desktop\OpenRailsLog.txt

Error: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at System.Diagnostics.TraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
   at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
   at System.Diagnostics.Trace.TraceInformation(String format, Object[] args)
   at ORTS.Train.GetReservedLength()
   at ORTS.LevelCrossings.UpdateCrossings(Train train)
   at ORTS.LevelCrossings.Update(Single elapsedClockSeconds)
   at ORTS.Simulator.Update(Single elapsedClockSeconds)
   at ORTS.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime)
   at ORTS.Processes.GameStateViewer3D.Update(RenderFrame frame, Double totalRealSeconds)
   at ORTS.Processes.UpdaterProcess.Update()
   at ORTS.Processes.UpdaterProcess.DoUpdate()
   at ORTS.Processes.UpdaterProcess.UpdaterThread()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


Information: Game.PopState()  



#6 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 08 April 2014 - 09:33 AM

The mystery deepens.
Some more prints added - really no idea what is happening.

Regards,
Rob Roeterdink

Attached File  RunActivityTest.zip (557.53K)
Number of downloads: 257

#7 User is offline   JTang 

  • Open Rails Developer
  • Group: Status: Active Member
  • Posts: 643
  • Joined: 18-November 10
  • Gender:Male
  • Country:

Posted 08 April 2014 - 10:22 AM

The same error. Could you please attach the whole program folder?

#8 User is offline   Metro4001 

  • Fireman
  • Group: Status: Active Member
  • Posts: 200
  • Joined: 22-December 12
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 08 April 2014 - 09:58 PM

Tried x2162, same error at same place. Sigh.

#9 User is offline   Claude350 

  • Hostler
  • Group: Status: Active Member
  • Posts: 58
  • Joined: 27-December 10
  • Gender:Male
  • Location:Savannah Georgia
  • Simulator:Open Rails
  • Country:

Posted 08 April 2014 - 11:16 PM

I to got the same error with x2162. I went back to x2156.

#10 User is offline   PA1930 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 782
  • Joined: 16-December 12
  • Gender:Male
  • Simulator:-
  • Country:

Posted 09 April 2014 - 06:21 AM

Another report from me as well for the same error, tested as well on X2162.
EDIT: I've had to revert until X2139 to be able to play without the error.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users