openrails / test-launchpad-bugs

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

[BUG 1797077] System.IndexOutOfRangeException at Orts.Simulation.Signalling.SignalObject.AddHead (1.2.1.3766, Radhikapur) #2085

Open twpol opened 6 years ago

twpol commented 6 years ago

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

Property Value
Reported by SANJEEB DAS (sanjeebirf)
Date reported Wed, 10 Oct 2018 08:22:18 GMT
Tags crash, signals

I am making a route which is compatible in Openrail and not for MSTS Default. I am working from last 1 year on this route but suddenly few days ago I saw a uncommon error which I never seen before. when I start simulation on my route after few minutes Openrail hang and showing a pop up message. It happen in explore mode also. Afyter that when I check Log file but I can see any vital error messages regarding this issue. Please help me as soon as possible.

twpol commented 6 years ago

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

Property Value
Posted by SANJEEB DAS (sanjeebirf)
Date posted Wed, 10 Oct 2018 08:22:18 GMT
twpol commented 6 years ago

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

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Fri, 12 Oct 2018 08:37:45 GMT

First of all there is a minor problem at line 1956 of sigcfg.dat: you have two lines with the signal aspect STOP_AND_PROCEED. However I don't think you solve the crash problem, which is probably due to an inconsistency of your .tdb file or between the .tdb file and other files. I have no other suggestions than restarting from an older of your route. The other way is to use the Open Rails source code and to use the debugger to find out where is your problem, however this requires knowledge of the C# language.