openrails / test-launchpad-bugs

TEST repository for Launchpad bug migration exploration
0 stars 0 forks source link

[BUG 1795559] System.ArgumentOutOfRangeException at Orts.Simulation.Physics.Train.CreateStationStop #2079

Open twpol opened 6 years ago

twpol commented 6 years ago

Imported from https://bugs.launchpad.net/bugs/1795559

Property Value
Reported by Shreyas (shreyasrm)
Date reported Tue, 02 Oct 2018 07:08:13 GMT
Tags crash, physics

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 Orts.Simulation.Physics.Train.CreateStationStop(Int32 platformStartID, Int32 arrivalTime, Int32 departTime, DateTime arrivalDT, DateTime departureDT, Single clearingDistanceM, Int32& beginActiveSubroute, Int32& activeSubrouteNodeIndex) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 11346 at Orts.Simulation.Physics.Train.BuildStationList(Single clearingDistanceM) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 11326 at Orts.Simulation.AIs.AITrain.PostInit() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\AIs\AITrain.cs:line 444 at Orts.Simulation.Simulator.InitializeAPTrains(CancellationToken cancellation) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 582 at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 437 at Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 287 at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass35_0.b__3() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 158 at Orts.Viewer3D.Processes.GameStateRunActivity.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 199 at Orts.Viewer3D.Processes.LoaderProcess.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 158 at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 138 at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 109 at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

Loader: Time = 00:00:07.2005631 ms Loader: Expected = 173,464,314 bytes Loader: Actual = 21,681,769 bytes Loader: Difference = -151,782,545 bytes (-87.5 %)

Information: Game.PopState()

twpol commented 6 years ago

Imported from https://bugs.launchpad.net/or/+bug/1795559/comments/1

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Tue, 02 Oct 2018 18:25:20 GMT

Most likely there is one AI train station stop defined in .srv or .trf file which does not exist.

twpol commented 6 years ago

Imported from https://bugs.launchpad.net/or/+bug/1795559/comments/2

Property Value
Posted by Shreyas (shreyasrm)
Date posted Wed, 03 Oct 2018 12:14:07 GMT

Respected developers. I am very thankful for your reply. But I am unable to identify the error. so please if possible provide details about error elimination process.

Regards

On Wed 3 Oct, 2018, 00:00 Carlo Santucci,

Most likely there is one AI train station stop defined in .srv or .trf file which does not exist.

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1795559

Title: Activity is unable to run when tried to play in open rail but working fine with msts. Plese work on this issue. Same was reported earlier but nothing is improved

Status in Open Rails: New

Bug description: 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 Orts.Simulation.Physics.Train.CreateStationStop(Int32 platformStartID, Int32 arrivalTime, Int32 departTime, DateTime arrivalDT, DateTime departureDT, Single clearingDistanceM, Int32& beginActiveSubroute, Int32& activeSubrouteNodeIndex) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 11346 at Orts.Simulation.Physics.Train.BuildStationList(Single clearingDistanceM) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Physics\Train.cs:line 11326 at Orts.Simulation.AIs.AITrain.PostInit() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\AIs\AITrain.cs:line 444 at Orts.Simulation.Simulator.InitializeAPTrains(CancellationToken cancellation) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 582 at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\Orts.Simulation\Simulation\Simulator.cs:line 437 at Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 287 at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass35_0.b__3() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 158 at Orts.Viewer3D.Processes.GameStateRunActivity.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 199 at Orts.Viewer3D.Processes.LoaderProcess.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 158 at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 138 at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in E:\Documents\Coding\Jenkins\jobs\Open Rails Testing\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 109 at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

Loader: Time = 00:00:07.2005631 ms Loader: Expected = 173,464,314 bytes Loader: Actual = 21,681,769 bytes Loader: Difference = -151,782,545 bytes (-87.5 %)

Information: Game.PopState()

To manage notifications about this bug go to: https://bugs.launchpad.net/or/+bug/1795559/+subscriptions