Elvas Tower: Trying to Debug Signalling crashes the sim, CTRL-ALT-F11 - Elvas Tower

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Trying to Debug Signalling crashes the sim, CTRL-ALT-F11 Updated please re-read, sorry for the omission Rate Topic: -----

#1 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 977
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 07 March 2016 - 12:24 PM

Unfortunately I have known about this one for quite some time...but lost track of it. The title of the O/P tells it all. I invite others to please see if it also happens to them. Please specify your O/S too!

Thanks!

Added on March 8, 2016:

Oops..yes it works in simple cases..but otherwise you can replicate the bug!

1) This can happen in activities ONLY!

2) You have a player path ABCD and an AI path DCBA. Please note that the two paths are NOT exactly the same and the BC/CB sections are single track. Also note that the the BC/CB sections are the same for BOTH paths, I.E. SHARED. Also note the paths are in OPPOSITE directions!

3) The activity is designed such that the player and AI train follow the full length of their paths, no waiting points etc.

4) In my case I used multiple AI trains to create ample traffic.

5) One of the AI trains is ON the CB section and the player train is waiting to access its BC section. PLEASE NOTE, that CB and BC are the SAME section of single track! It is implied here that the look ahead paths in the DispatchViewer are in collision, overlaid on top of each other.

6) Press CTRL-ALT F11...and bang, the sim freezes up and eventually crashes

QED

#2 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,143
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 07 March 2016 - 01:13 PM

Windows 10, X3458. No crash. Tried two routes, one with semaphores and one with colour lights.

#3 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 977
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 08 March 2016 - 07:46 PM

Sorry..bumped...I hope this post will be reread. Important info updated.

Thanks!

#4 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,490
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 13 March 2016 - 01:12 PM

View PostEldorado.Railroad, on 07 March 2016 - 12:24 PM, said:

Unfortunately I have known about this one for quite some time...but lost track of it. The title of the O/P tells it all. I invite others to please see if it also happens to them. Please specify your O/S too!

Please attach the log file and, if you know of one, tell us about a freely available (in box or downloadable) route/activity which exhibits this. It's just a bug and you need to report it as such, thanks! :)

#5 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 977
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 15 March 2016 - 04:20 PM

James,

The route is Maple Leaf Tracks, Kicking Horse Pass 2.0. If you have this route..that would be an extra bonus. Otherwise I will have to recreate the problem on a similar non payware route.

For the present, I have attached a focused log file...which shows what happens when CTRL-ALT-F11 is pressed and the crash occurs.

Thanks so much for your time and patience,
Steve

Attached File  OpenRailsLog.txt (10.87K)
Number of downloads: 392

#6 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,762
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 15 March 2016 - 07:44 PM

Hi Steve,

If you can package up the activity, I will test for you.

cheers
Derek

#7 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 16 March 2016 - 12:41 AM

Hi Eldorado,
try to replace the two runactivity exes with the attached ones in release x.3476 and check if the problem persists.
Attached File  Runactivities.zip (614.12K)
Number of downloads: 257

#8 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,490
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 16 March 2016 - 12:46 PM

View PostEldorado.Railroad, on 15 March 2016 - 04:20 PM, said:

James,

The route is Maple Leaf Tracks, Kicking Horse Pass 2.0. If you have this route..that would be an extra bonus. Otherwise I will have to recreate the problem on a similar non payware route.

For the present, I have attached a focused log file...which shows what happens when CTRL-ALT-F11 is pressed and the crash occurs.

Thanks so much for your time and patience,
Steve

Attachment OpenRailsLog.txt

Error: Orts.Viewer3D.Processes.ThreadHangException: Thread 'Updater Process' has hung; the consistent stack trace is shown below:
   at Orts.Viewer3D.Popups.SignallingDebugWindow.PrepareFrame(ElapsedTime elapsedTime, Boolean updateFull) in e:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Popups\SignallingDebugWindow.cs:line 110

I'm going to guess that something has gotten itself in to a loop in here. :(

Unfortunately, I don't have the route in question, but may have a look at the code if I get a moment.

#9 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,762
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 16 March 2016 - 01:40 PM

Another crash for you

Attached File(s)



#10 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 977
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 16 March 2016 - 05:43 PM

View PostCsantucci, on 16 March 2016 - 12:41 AM, said:

try to replace the two runactivity exes with the attached ones in release x.3476 and check if the problem persists.


Hi Carlo,

Replaced the executables with the ones you provided. It still hangs, and keyboard remains unresponsive, the only way to get back control is to is to kill the process in the taskmanager.

BUT, judging by what I see I think you have taken the watchdog timer code out of these special compilations...is that correct?
If that is so, I am sure it will help with this bug :
http://www.elvastowe...ental-releases/
I will test your executables against the bug mentioned above, it may solve the problem I have been having..I will see.

Molto gracie,
Steve

  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • 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