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

Openbve crashes while minimizing the window

3 posters

Go down

Openbve crashes while minimizing the window Empty Openbve crashes while minimizing the window

Post by zbx1425 Mon Jun 18, 2018 2:04 pm

While minimizing the window of openBVE, it constantly crashes.
Report in crash log:
Code:
The current routefile caused the following exception:
System.ArgumentException: The specified value is not positive.
   At OpenBve.Textures.RoundUpToPowerOfTwo(Int32 value)
   At OpenBve.Renderer.RenderFullscreenMotionBlur()
   At OpenBve.Renderer.RenderScene(Double TimeElapsed)
   At OpenBve.OpenBVEGame.OnRenderFrame(FrameEventArgs e)
   At OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   At OpenTK.GameWindow.DispatchRenderFrame()
   At OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   At OpenBve.MainLoop.StartLoopEx(MainDialogResul

Error reported by a pop-up window: (Because I use a Chinese .NET Framework so this error message is translated by me and might not be accurate Shocked )
Code:
Unhandled Exception:
Cannot load counter name data, because the index "" read from the registry is invalid.
Another error followed - a conflict while writing the error log. This caused the error log to corrupt(You can see it missing some words at the end)
Code:
File "......\OpenBVE Crash- ......log" have been using by another process, so this process cannot gain access to the file.
I have met OpenBVE crashing while minimizing on my computer in an older version, and here it comes again! With a more complex error code, though.
zbx1425
zbx1425

Posts : 143
Join date : 2017-08-18
Location : China

https://www.zbx1425.cn

Back to top Go down

Openbve crashes while minimizing the window Empty Re: Openbve crashes while minimizing the window

Post by Quork Mon Jun 18, 2018 3:00 pm

My wild guess would be it's the GPU driver throwing some weird s...tuff. Sounds like the GPU handles the minimised window in a rather weird way.
Quork
Quork

Posts : 1438
Join date : 2012-05-05
Age : 33
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Openbve crashes while minimizing the window Empty Re: Openbve crashes while minimizing the window

Post by leezer3 Mon Jun 18, 2018 6:08 pm

Ouch, that's a nasty little thing.

All sorts relys on knowing the window dimensions, and it seems to be being 'helpfully' set to zero when minimized.
I can reproduce on the laptop (currently away..), so hopefully this build should work a little better:
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2018-06-18.zip

Not 100% convinced it's fixed, need to check Linux and Mac when I'm back on Friday Smile

leezer3

Posts : 1978
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Openbve crashes while minimizing the window Empty Re: Openbve crashes while minimizing the window

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