System.InvalidOperationException at ORTS.MSTSWagon.SignalEvent

Bug #1180974 reported by disc
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Unassigned

Bug Description

OR have crashed with the written exception, the full message is attached too.

It happened when passing a signal, about 1 hour after the activity start.

I've reloaded a previous savegame (10 min before the crash), and tried again, but the exception didn't happen again.
May be connected to the problem, that the signal should to green from yellow approximately that time when my train passes it. At the crash, it changed just a moment before my train passed it.

Tags: crash
Revision history for this message
disc (disc86543) wrote :
Revision history for this message
r.roeterdink (r-roeterdink) wrote :

The exception has nothing to do with the signal or, indeed, with the player train.
The problem is related to an AI train.
My first guess is that an action 'signal' (like applying or releasing the brakes) is being passed down the train just as this train is removed.
Could you please run from the save again, this time enabling the Dispatcher info display (3x shift-F5), and check if an AI train is removed about the time the crash occured?

Thanks.

Revision history for this message
disc (disc86543) wrote :

There are a lot of AI trains in that activity, but yes there was a train that was removed around that time when the crash happened.

James Ross (twpol)
summary: - System.InvalidOperationException: Collection was modified, enumeration
- operation may not execute
+ System.InvalidOperationException at ORTS.MSTSWagon.SignalEvent
James Ross (twpol)
Changed in or:
status: New → Triaged
importance: Undecided → Medium
cjakeman (cjakeman)
Changed in or:
milestone: none → 1.0
James Ross (twpol)
Changed in or:
milestone: 1.0 → none
Revision history for this message
Cédric GNIEWEK (sharpeserana) wrote :

Does the problem still happen with version 1.4?

Changed in or:
status: Triaged → Incomplete
Revision history for this message
Derek Morton (derek-a) wrote :

This problem does not show with 1.4
I have run the activity in the duplicate bug
https://bugs.launchpad.net/or/+bug/1422219

I consider that the bug can be closed.

Derek Morton (derek-a)
Changed in or:
status: Incomplete → 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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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