System.OverflowException at Orts.Simulation.Physics.Train.UpdateRouteActions (X4130, Conn River Route, ConnRiv_BM72)

Bug #1769057 reported by Derek Morton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Undecided
Derek Morton

Bug Description

While coupling to a stationary rake.

Tags: crash physics
Revision history for this message
Derek Morton (derek-a) wrote :
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Bad error. Unfortunately I don't find in the logfile precise info about the code line that caused the crash (code line 5622 is the first of UpdateRouteActions, neither I easily find a place in that method where there is a conversion from Double to Int32. Is the crash repeatable? Was there a reversal point?

Revision history for this message
Derek Morton (derek-a) wrote : Re: [Bug 1769057] Re: System.OverflowException: Value was either too large or too small for an Int32.

Hi Carlo,

Crash is repeatable.
I did go past a reversal point.

What would you like me to try?

On 5/05/2018 18:30, Carlo Santucci wrote:
> Bad error. Unfortunately I don't find in the logfile precise info about
> the code line that caused the crash (code line 5622 is the first of
> UpdateRouteActions, neither I easily find a place in that method where
> there is a conversion from Double to Int32. Is the crash repeatable? Was
> there a reversal point?
>

Revision history for this message
Carlo Santucci (carlosanit1) wrote : Re: System.OverflowException: Value was either too large or too small for an Int32.

Hi Derek,
I must study whether I can create a test version for you, that provides some useful log data.

Revision history for this message
Derek Morton (derek-a) wrote :

crash occurred with 4130

Revision history for this message
Derek Morton (derek-a) wrote :

crash occurs in 3930, but has gone away in 3095.

I will isolate the version causing the issue.

Revision history for this message
Derek Morton (derek-a) wrote :

crash occurs in 3904,

3899 is ok

James Ross (twpol)
summary: - System.OverflowException: Value was either too large or too small for an
- Int32.
+ System.OverflowException at
+ Orts.Simulation.Physics.Train.UpdateRouteActions (X4130, Conn River
+ Route, ConnRiv_BM72)
tags: added: crash physics
Changed in or:
status: New → Triaged
Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Hi Derek,
I fear that the crash only occurs some times. I don't see changes from 3899 to 3904 that could impact the problem.

Revision history for this message
Derek Morton (derek-a) wrote :

bug not reproducable

Changed in or:
assignee: nobody → Derek Morton (derek-a)
status: Triaged → Fix Released
James Ross (twpol)
Changed in or:
milestone: none → 1.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.