BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Openbve crashes on startup

2 posters

Go down

Openbve crashes on startup Empty Openbve crashes on startup

Post by Delsin Wed Feb 10, 2021 4:42 pm

This has started with the Feb 6 build.
Code:
10.02.2021 19:38:40
OpenBVE 1.7.506.1105-vsts Crash Log
Program is running on the Windows backend
Current screen resolution is: Full-screen 1600px X 900px 32bit color-mode
Current routefile is: D:\openbve1450\UserData\LegacyContent\Railway\Route\長急河市線・中央線\長急河市線・中央線 2015.csv
Current train is: D:\openbve1450\UserData\LegacyContent\Train\MT24
The current routefile caused the following exception:
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
  в OpenBve.BVE4SoundParser.Parse(String FileName, String trainFolder, Train train)
  в OpenBve.SoundCfgParser.ParseSoundConfig(String TrainPath, Train Train)
  в OpenBve.Loading.LoadEverythingThreaded()
  в OpenBve.Loading.LoadThreaded()  в System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
  в System.Environment.get_StackTrace()
  в OpenBve.Loading.LoadThreaded()
  в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  в System.Threading.ThreadHelper.ThreadStart()
Current program memory usage: 144,22mb
System memory free: 4694mb
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by leezer3 Wed Feb 10, 2021 9:01 pm

I did warn you there would be breakages Wink

I think this one is fixed with the build from today, although there is a *lot* going on in the background here.

leezer3

Posts : 1967
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by Delsin Fri Feb 12, 2021 3:59 pm

Currently (Feb 10 build) doesn't crash, but some handle sounds are missing (at least on single-handle trains), with no errors to the log
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by leezer3 Sat Feb 13, 2021 1:19 pm

Odd, maybe they're being re-initialised somewhere Sad

Will take a look.

(A lot of the current work is moving stuff about to more sensible places in the new assembly. The handle sounds need to be a property of the handle itself, not of the car)

leezer3

Posts : 1967
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by leezer3 Sat Feb 13, 2021 7:30 pm

I *hate* undocumented behaviour, especially when it bites you....

Working back through what I'd done, it turns out that if the Increase Fast or Decrease Fast sound is not present, then the Increase or Decrease sound should be played in it's place.
I'll fix this and update the documentation.

leezer3

Posts : 1967
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by Delsin Tue Feb 16, 2021 6:58 pm

Is that a BVE5 feature? Think it was a thing in it to simulate more hissing in older SMEE brake handles which produce more hissing when moving it quickly, useful thing
Delsin
Delsin

Posts : 313
Join date : 2016-08-20

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by leezer3 Tue Feb 16, 2021 8:32 pm

Presumably it's a BVE2 / BVE4 feature, either that or it's a long standing enough bug that we now need to replicate it.

Likely to be in BVE5 (the sound sets are essentially a clone of those from BVE4) although I haven't tested this specifically.

leezer3

Posts : 1967
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes on startup Empty Re: Openbve crashes on startup

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum