1.7.3.0 build crashing after 4-5 seconds of loading up.
2 posters
Page 1 of 1
1.7.3.0 build crashing after 4-5 seconds of loading up.
On the newest (at the time of this post) 1.7.3.0 stable build, I seem to get this error on whatever route/train combination I use roughly 5 seconds after loading in:
Unhandled exception:
Cannot load Counter Name data because an invalid index " was read from the registry
Here is the crash log for one of the runs I was on:
Sorry if this bug has been reported before, It just seems like the first case on the newest build
Unhandled exception:
Cannot load Counter Name data because an invalid index " was read from the registry
Here is the crash log for one of the runs I was on:
- Code:
14/04/2021 15:45:00
OpenBVE 1.7.3.0 Crash Log
Program is running on the Windows backend
Current screen resolution is: Windowed 1500px X 800px
Current routefile is: C:\Users\AppData\Roaming\openBVE\LegacyContent\Railway\Route\Uchibo\1157M.csv
Current train is: C:\Users\AppData\Roaming\openBVE\LegacyContent\Train\113_6
Current train plugin is: Ats1.dll
1 file(s) not found
31 error(s), 2 warning(s)
The current routefile caused the following exception:
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at TrainManager.Car.CarBase.UpdateTopplingCantAndSpring(Double TimeElapsed)
at OpenBve.TrainManager.<>c__DisplayClass1_0.<UpdateTrains>b__1(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body)
at OpenBve.TrainManager.UpdateTrains(Double TimeElapsed)
at OpenBve.OpenBVEGame.OnUpdateFrame(FrameEventArgs e)
at OpenTK.GameWindow.RaiseUpdateFrame(Stopwatch watch, Double elapsed, Double& timestamp) in I:\work\github\opentk\src\OpenTK\GameWindow.cs:line 460
at OpenTK.GameWindow.DispatchUpdateFrame(Stopwatch watch) in I:\work\github\opentk\src\OpenTK\GameWindow.cs:line 417
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in I:\work\github\opentk\src\OpenTK\GameWindow.cs:line 373
at OpenBve.MainLoop.StartLoopEx(MainDialogResult result)
at OpenBve.Program.Main(String[] args)
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at TrainManager.Car.CarBase.UpdateTopplingCantAndSpring(Double TimeElapsed)
at OpenBve.TrainManager.<>c__DisplayClass1_0.<UpdateTrains>b__1(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<---
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at OpenBve.Program.Main(String[] args)
Cu
Sorry if this bug has been reported before, It just seems like the first case on the newest build
SmoIchopper- Posts : 13
Join date : 2021-01-12
Re: 1.7.3.0 build crashing after 4-5 seconds of loading up.
Cannot load Counter Name data because an invalid index " was read from the registry
This tells me you've got some Windows registry corruption issues.
https://docs.microsoft.com/en-US/troubleshoot/windows-server/performance/rebuild-performance-counter-library-values
Follow these steps as a starting point to rebuild the performance counters:
- Go to Start, type cmd
- Right-click on cmd.exe and choose ‘Run as administrator’.
- Type lodctr /r and press enter.
I'm not certain whether it's the direct cause of your troubles or symptomatic of something else.
Your routefile from the crash log is fine here though.
Re: 1.7.3.0 build crashing after 4-5 seconds of loading up.
I think I've found it now....
(Had loading sway turned off, crashed with it on)
1.7.3.1 should be live any time now.
This should also add handling for cases which have the error above, although it's genuine.
(Had loading sway turned off, crashed with it on)
1.7.3.1 should be live any time now.
This should also add handling for cases which have the error above, although it's genuine.
Re: 1.7.3.0 build crashing after 4-5 seconds of loading up.
I managed to successfully do the above, however rather than showing the error it now closes the window without any error prompt. Here was the crash log from the latest run with the symptoms:
- Code:
15/04/2021 16:31:53
OpenBVE 1.7.3.0 Crash Log
Program is running on the Windows backend
Current screen resolution is: Windowed 1500px X 800px
Current routefile is: C:\Users\AppData\Roaming\openBVE\LegacyContent\Railway\Route\Uchibo\1157M.csv
Current train is: C:\Users\AppData\Roaming\openBVE\LegacyContent\Train\113_6
Current train plugin is: Ats1.dll
1 file(s) not found
31 error(s), 2 warning(s)
The current routefile caused the following exception:
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at TrainManager.Car.CarBase.UpdateTopplingCantAndSpring(Double TimeElapsed)
at OpenBve.TrainManager.<>c__DisplayClass1_0.<UpdateTrains>b__1(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body)
at OpenBve.TrainManager.UpdateTrains(Double TimeElapsed)
at OpenBve.OpenBVEGame.OnUpdateFrame(FrameEventArgs e)
at OpenTK.GameWindow.RaiseUpdateFrame(Stopwatch watch, Double elapsed, Double& timestamp) in I:\work\github\opentk\src\OpenTK\GameWindow.cs:line 460
at OpenTK.GameWindow.DispatchUpdateFrame(Stopwatch watch) in I:\work\github\opentk\src\OpenTK\GameWindow.cs:line 417
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in I:\work\github\opentk\src\OpenTK\GameWindow.cs:line 373
at OpenBve.MainLoop.StartLoopEx(MainDialogResult result)
at OpenBve.Program.Main(String[] args)
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at TrainManager.Car.CarBase.UpdateTopplingCantAndSpring(Double TimeElapsed)
at OpenBve.TrainManager.<>c__DisplayClass1_0.<UpdateTrains>b__1(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<---
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at OpenBve.Program.Main(String[] args)
Current program memory usage: 130.39mb
System memory free: 10028mb
SmoIchopper- Posts : 13
Join date : 2021-01-12
Re: 1.7.3.0 build crashing after 4-5 seconds of loading up.
Update: I managed to fix the error by turning off loading sway.
SmoIchopper- Posts : 13
Join date : 2021-01-12
Re: 1.7.3.0 build crashing after 4-5 seconds of loading up.
Yes, that figures.
1.7.3.1 fixes the issue & was pushed yesterday
1.7.3.1 fixes the issue & was pushed yesterday
Similar topics
» Animated signal: keep it red until the train arrives plus 45 seconds
» Crashing
» Open BVE Mac OSX crashing
» Game consistently crashing on pressing the Esc key
» Sounds still played after crashing train
» Crashing
» Open BVE Mac OSX crashing
» Game consistently crashing on pressing the Esc key
» Sounds still played after crashing train
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum