Page 1 of 1

Windows 32-bit OpenAL32.dll crashes

Posted: Mon Jul 22, 2019 12:37 pm
by andras
Basically all of my players are getting random but frequent engine crashes on Windows 32-bit (11.2). One player traced the problem to OpenAL32.dll. See a few crash reports here: https://imgur.com/a/JKEGwkx

Image

If players delete the DLL from the distro and install it from https://openal.org the game works without crashes reliably.

Here's a link to my most recent Windows 32 distro: http://www.terraforming.earth/builds/Te ... -win32.zip Crashes start happening on the intro level.

My game does play sounds on a separate thread, although not at the time when the crashes are happening. So it might be a multithreading issue.

Also, if players turn down the volume to 0 in settings (which just calls setVolume(0) on all sounds), the crashes also tend to disappear.

What can I do with this problem? Is there a workaround I could use? Shall replace the DLL in the official LOVE distro with a new DLL from openal.org?

(BTW what's up with version 11.1.0.0 in the crash reports? I'm distributing LOVE 11.2)

Thanks,
Andras

Re: Windows 32-bit OpenAL32.dll crashes

Posted: Fri Jul 26, 2019 9:31 am
by ReFreezed
This would probably be good to report in the issue tracker: https://bitbucket.org/rude/love/issues

(Looking at the properties of the 11.2 love.exe reveals that the file version value is 11.1.0.0. I assume the LÖVE team just forgot to update the value when compiling the exe.)

Re: Windows 32-bit OpenAL32.dll crashes

Posted: Fri Jul 26, 2019 11:12 am
by slime
You can try using a prerelease nightly build of LÖVE 11.3, it includes an updated version of OpenAL Soft which fixes several audio-related bugs: https://ci.appveyor.com/project/AlexSzp ... /artifacts

Re: Windows 32-bit OpenAL32.dll crashes

Posted: Wed Jul 31, 2019 4:34 pm
by andras
Hey Slime, thanks so much for the link! Seems to be working so far, we'll see for sure when more players start the new build.

Thanks for this awesome engine 🙌