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: Posts: Active Member
  • Posts: 201
  • 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: Posts: Elite Member
  • Posts: 2,453
  • 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: Posts: 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: Posts: Elite Member
  • Posts: 2,453
  • 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: 258

#5 User is offline   JTang 

  • Open Rails Developer
  • Group: Posts: 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: Posts: Elite Member
  • Posts: 2,453
  • 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: 318

#7 User is offline   JTang 

  • Open Rails Developer
  • Group: Posts: 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: Posts: Active Member
  • Posts: 201
  • 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: Posts: 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: Posts: 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.

#11 User is offline   roeter 

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

Posted 09 April 2014 - 08:05 AM

If this problems is what I think it is, it is solved in version X2163.
If not - it's back to the drawing-board :sign_rockon:

Regards,
Rob Roeterdink

#12 User is offline   PA1930 

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

Posted 09 April 2014 - 09:21 AM

Just tested out X2164 and all works fine, Rob! :sign_rockon: Thanks!

I might have one question though: Just out of curiosity, I've tried to see if by any chance I could get the error when crossing the same level crossing while running with my train backwards, but I've found something strange happening...

At first, when I passed through, the crossing closed, the cars waited and after my train passed, the level crossing then opened... But then when I passed through it backwards, although it did close, but then after train passed and I still ran for around 350m backwards, and the crossing didn't open. Not sure if that should working like that or not, but just in case, this is what I whitnessed. Thought I'd share. :jawdrop2:

#13 User is offline   charliechan 

  • Hostler
  • Group: Posts: Active Member
  • Posts: 51
  • Joined: 15-December 05
  • Gender:Male
  • Location:Northern Utah
  • Simulator:OR & RS2015
  • Country:

Posted 09 April 2014 - 03:58 PM

Good Morning:

I am using OR2164 and the last few builds I have been getting this error whenever I come upon a reverse point. The first two were when I was running the MEP. I thought it might be because of the met but I made a short activity using the North Coast Railroad V3.1 and sure enough. This is the screen shot of the error message.

Attached Image: screen2.jpg

Attached File  OpenRailsLog.txt (12.53K)
Number of downloads: 258

Thanks for all the work being done to a sim that is looking better and better.

#14 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 09 April 2014 - 04:34 PM

I, too, have been having trouble with the most recent experimental versions. I've attached a copy of the log as well as a screen shot of the error message. My problems have been occurring soon after an activity starts. I'm running the Delaware and Hudson Bridgeline route.

Thanks for any help on this.

Gary

Attached thumbnail(s)

  • Attached Image: 2014-04-09_20-30-16.jpg

Attached File(s)



#15 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 09 April 2014 - 05:53 PM

Yes -I did have a similar problem when running with the curve speed option checked. Unchecking resolved the issue. However, it appears to
have resurfaced even when running with the curve speed option deactivated.

  • 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