Windows 32-bit OpenAL32.dll crashes

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
andras
Prole
Posts: 14
Joined: Thu Jun 14, 2018 12:03 pm

Windows 32-bit OpenAL32.dll crashes

Post by andras » Mon Jul 22, 2019 12:37 pm

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
Last edited by andras on Mon Jul 22, 2019 12:40 pm, edited 2 times in total.

User avatar
ReFreezed
Citizen
Posts: 72
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Windows 32-bit OpenAL32.dll crashes

Post by ReFreezed » Fri Jul 26, 2019 9:31 am

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.)
Tools: LuaPreprocess, LuaHotLoader
Games: Momento Temporis: Light from the Deep, Momento Temporis: Arena, Energize!
"If each mistake being made is a new one, then progress is being made."

User avatar
slime
Solid Snayke
Posts: 2853
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Windows 32-bit OpenAL32.dll crashes

Post by slime » Fri Jul 26, 2019 11:12 am

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

User avatar
andras
Prole
Posts: 14
Joined: Thu Jun 14, 2018 12:03 pm

Re: Windows 32-bit OpenAL32.dll crashes

Post by andras » Wed Jul 31, 2019 4:34 pm

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 🙌

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 8 guests