System.ArithmeticException at ORTS.Traveller.Move (Crash at start of activity in both V0.8 and Exp1467)

Bug #1141751 reported by David Martin Lewis
44
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Jijun Tang

Bug Description

Route: BrisCard
Activity: S - Southampton Mail

When waiting for permission to depart at start of activity, at red signal, OR crashes about 30seconds before due departure time.

This happens using both V0.8 and exp. version 1467.

Dave (J72fan)

Tags: ai crash signals
Revision history for this message
David Martin Lewis (j72tankengine) wrote :
tags: added: ai signals
Changed in or:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 0.9
tags: added: crash
James Ross (twpol)
summary: - Crash at start of activity in both V0.8 and Exp1467
+ System.ArithmeticException at ORTS.Traveller.Move (Crash at start of
+ activity in both V0.8 and Exp1467)
Jijun Tang (jtang-h)
Changed in or:
assignee: nobody → Jijun Tang (jtang-h)
Revision history for this message
Jijun Tang (jtang-h) wrote :

Did you still see this problem using the latest code (V. 1581)? I could not reproduce the bug.

Revision history for this message
David Martin Lewis (j72tankengine) wrote :

Hi, yes, I have just downloaded X_1581 and the same thing happens, a crash at 08:00 sim time, 30seconds before the departure time of the mail train.

Log attached.

Dave (J72fan)

Revision history for this message
Jijun Tang (jtang-h) wrote :

Please check again. It seems some place divide by 0 occurs.

Changed in or:
status: Triaged → In Progress
Revision history for this message
Jijun Tang (jtang-h) wrote :

I put a quick fix in 1584, hope it works.

Revision history for this message
David Martin Lewis (j72tankengine) wrote :

I have just tried x1585 and crash at 08:00am still happens, 30 seconds before departure time.

Dave (J72fan)

Revision history for this message
David Martin Lewis (j72tankengine) wrote :
Revision history for this message
Jijun Tang (jtang-h) wrote :

Please try 1586. Thanks.

Revision history for this message
David Martin Lewis (j72tankengine) wrote :

Have just tried 1587. Small change in symptom, OR no longer crashes at 08:00 sim time, now crashes a few seconds (08:00:06) later. Log file attached.

Revision history for this message
Jijun Tang (jtang-h) wrote :

Please check the newest code again. Thanks.

Revision history for this message
David Martin Lewis (j72tankengine) wrote :

Exp. version 1634 still crashes in the same way.

Dave Lewis (J72fan)

cjakeman (cjakeman)
Changed in or:
milestone: 0.9 → 1.0
Revision history for this message
Jijun Tang (jtang-h) wrote :

Fixed in 1793.
It is due to some cars have MassKG defined to be 0, thus OR has error in computing speed and location.

Changed in or:
status: In Progress → Fix Committed
Revision history for this message
David Martin Lewis (j72tankengine) wrote :

Activity runs fine now - Thank you for fixing the problem.

Dave Lewis

James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
Revision history for this message
OTTO WIPFEL (ottowipfel) wrote : Re: [Bug 1141751] Re: System.ArithmeticException at ORTS.Traveller.Move (Crash at start of activity in both V0.8 and Exp1467)

Hi !
I have not reported anything to do with J72fan reporting running X1467 !
Regards, Otto.
      From: James Ross <email address hidden>
 To: <email address hidden>
 Sent: Monday, 25 May 2015, 11:50
 Subject: [Bug 1141751] Re: System.ArithmeticException at ORTS.Traveller.Move (Crash at start of activity in both V0.8 and Exp1467)

** Changed in: or
      Status: Fix Committed => Fix Released

--
You received this bug notification because you are subscribed to a
duplicate bug report (1178988).
https://bugs.launchpad.net/bugs/1141751

Title:
  System.ArithmeticException at ORTS.Traveller.Move (Crash at start of
  activity in both V0.8 and Exp1467)

Status in Open Rails:
  Fix Released

Bug description:
  Route: BrisCard
  Activity: S - Southampton Mail

  When waiting for permission to depart at start of activity, at red
  signal, OR crashes about 30seconds before due departure time.

  This happens using both V0.8 and exp. version 1467.

  Dave (J72fan)

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

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.