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

1.8.0.1 (64-bit) crash

3 posters

Go down

1.8.0.1 (64-bit) crash Empty 1.8.0.1 (64-bit) crash

Post by fas Sat Apr 24, 2021 10:49 am

Hi,
I whish to report the following problem:

When I try to load any route with the 1.8.0.1 (64-bit) version, the following error occur:

Code:
OpenBVE 1.8.0.1 Crash Log
Program is running on the Windows backend
Current screen resolution is: Windowed 960px X 600px
Current routefile is:
Current train is:
The current routefile caused the following exception:
System.BadImageFormatException: Attempt to load a program with an incorrect format. (Exception HRESULT: 0x8007000B)
  in OpenTK.Audio.OpenAL.Alc.OpenDevice(String devicename)
  in SoundManager.SoundsBase.Initialize(HostInterface host, SoundRange range)
  in OpenBve.MainLoop.StartLoopEx(MainDialogResult result)
  in OpenBve.Program.Main(String[] args)  in System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
  in System.Environment.get_StackTrace()
  in OpenBve.Program.Main(String[] args)
Current program memory usage: 58,76mb
System memory free: 6666mb

I'm using Windows 8.1 (64-bit).

At your disposal for any further information and thank you in advance for your support.

fas

Posts : 25
Join date : 2012-11-01

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by S520 Sat Apr 24, 2021 2:33 pm

This is due to the lack of the 64-bit version of OpenAL32.dll.
Please check if there is OpenAL32.dll in C:\Windows\System32. (C:\ is the drive where Windows is usually installed.)

The 32-bit version of OpenAL32.dll is in the folder where OpenBVE is installed.
However, the 64-bit version of it is not included at this time.


Last edited by S520 on Sat Apr 24, 2021 2:35 pm; edited 1 time in total (Reason for editing : Add supplement)
S520
S520

Posts : 113
Join date : 2018-08-24
Location : Japan

https://github.com/s520

leezer3 and Midnight Express Ginga81 like this post

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by leezer3 Sat Apr 24, 2021 7:52 pm

That's the wrong place to be looking (or at least will find the wrong version)

You would want to be looking in C:\Windows\SysWOW64\ for the 64-bit copy.
A copy of this gets installed by the default Creative installer, and I'd overlooked that we were shipping the 32-bit OpenAL Soft shim; On 64-bit systems with no Creative OpenAL, this won't work obviously.
(It just gets ignored if the Creative shim is present.....)

Quickest solution is to install the Creative OpenAL redistributable:
https://www.openal.org/downloads/oalinst.zip

I'll patch the nightly builds shortly.


Last edited by leezer3 on Sat Apr 24, 2021 10:03 pm; edited 2 times in total

leezer3

Posts : 1959
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by S520 Sat Apr 24, 2021 9:53 pm

No.
First, I wanted him to find out if he had Creative OpenAL.
In that case, the 64-bit binary is in System32.
This is also mentioned on some sites and I got the same error as him by renaming OpenAL32.dll in System32.

I also confirmed that this issue has been fixed in the current nightly build.
S520
S520

Posts : 113
Join date : 2018-08-24
Location : Japan

https://github.com/s520

leezer3 likes this post

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by leezer3 Sat Apr 24, 2021 10:09 pm

Apologies, you're right....
Windows has to be confusing like that :/

Ideally speaking, a patched release version ought to be put out soon (although Creative OpenAL is relatively common, and indeed we were shipping it for quite a while) although I'm not sure this is quite as critical as the initial crashing situation which caused 1.8 to be pushed out sooner than I'd like.
Would quite like to get https://github.com/leezer3/OpenBVE/pull/609 finished / in, but that's primarily an improvement as opposed to a regression.

leezer3

Posts : 1959
Join date : 2011-08-23

http://www.bvecornwall.co.uk

S520 likes this post

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by S520 Sun Apr 25, 2021 2:21 am

Well, I'm afraid they'll be confused that completely new users won't be able to launch OpenBVE.
In fact, that happened in the Japanese community.
Becoming a native 64-bit application has enough impact to increase new users.
S520
S520

Posts : 113
Join date : 2018-08-24
Location : Japan

https://github.com/s520

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by fas Sun Apr 25, 2021 11:44 am

Thank you for your support.
The file is missing, so I've installed "Creative OpenAL redistributable" to solve the problem.

fas

Posts : 25
Join date : 2012-11-01

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

Post by leezer3 Sun Apr 25, 2021 12:03 pm

No problem, and thanks for reporting this Smile
(It's amazing how many people don't)

I've also pushed a new version today with fixes for this and several other bugs.

leezer3

Posts : 1959
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

1.8.0.1 (64-bit) crash Empty Re: 1.8.0.1 (64-bit) crash

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