System.InvalidOperationException at ORTS.SoundProcess.Sound (X2616)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
High
|
James Ross |
Bug Description
with commit 2616 this exeption crashes the game randomly:
Error: System.
at System.
at ORTS.SoundProce
at ORTS.SoundProce
at ORTS.SoundProce
at System.
at System.
at System.
summary: |
- Error: System.InvalidOperationException: Collection was modified; - enumeration operation may not execute. at - System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource - resource) at ORTS.SoundProcess.Sound() in - c:\Users\James\Documents\Coding\Jenkins\jobs\Open - Rails\workspace\Source\RunActivity\Processes\SoundProcess.cs:line 131 - at ORTS.SoundProcess.DoSound() in - c:\Users\James\Documents\Coding\Jenkins\jobs\Open - Rails\workspace\Source\RunActivity\Processes\SoundProcess.cs:line 91 - at ORTS.SoundProcess.SoundThread() in - c:\Users\James\Documents\Coding\Jenkins\jobs\Open - Rails\workspace\Source\RunActivity\Processes\SoundProcess.cs:line 75 - at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at - System.Threading.ExecutionContext.Run(ExecutionContext executionContext, - ContextCallback callback, Object state) at - System.Threading.ThreadHelper.ThreadStart() + Sound process exeption form 2616 commit. |
summary: |
- Sound process exeption form 2616 commit. + Sound process exception since commit 2616 |
Changed in or: | |
status: | Fix Committed → In Progress |
status: | In Progress → Fix Committed |
Changed in or: | |
status: | Fix Committed → Fix Released |
For reference, X2616 just removed the "eat all errors and ignore them" code so this has likely been going on for ages. I'm attempting to fix it now.