Skip to content

OpenAL crash when exiting game while AsyncParticles is installed (exit code -1073740791 / 0xc0000409) #17

@iamnotstanley

Description

@iamnotstanley

Describe the bug
Every time I close the game it crashes after I click the 'Quit game' button in the main menu.
The Windows Event Viewer entry pointed me to this mod since it mentions OpenAL.dll. I narrowed down this potential conflict between RSLS and AsyncParticles.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new 1.21.4 instance in Prism Launcher.
  2. Add Fabric Loader
  3. Add RSLS and AsyncParticles
  4. Launch the game, and get into the main menu
  5. Exit the game with the 'Quit game' button.
  6. Checking the Prism Launcher log window will say: Process crashed with exitcode -1073740791.

Expected behavior
I expect to Prism Launcher to say Process exited with code 0.

Screenshots
N/A

Runtime info (please complete the following information):

  • OS: Windows 11 (24H2 26100.4652)
  • Minecraft version: 1.21.4
  • Mod version: 1.1.9
  • Mod branch: (fill this if you are not using the default ver branches)

Crash reports / logs

Faulting application name: javaw.exe, version: 21.0.7.0, time stamp: 0x55f0e3c4
Faulting module name: OpenAL.dll, version: 1.23.1.0, time stamp: 0x647635a1
Exception code: 0xc0000409
Fault offset: 0x00000000000a2b05
Faulting process id: 0x1B4
Faulting application start time: 0x1DBF4BAE7EEFC74
Faulting application path: E:\Games\Minecraft\JRE\jdk-21.0.7+6-jre\bin\javaw.exe
Faulting module path: C:\Users\daniel\AppData\Local\Temp\lwjgl_daniel\3.3.3-snapshot\x64\OpenAL.dll
Report Id: d548bf96-c2a2-46b6-b1a4-04fba92a2788
Faulting package full name: 
Faulting package-relative application ID: 

Other mods

  • AsyncParticles 1.11.1 1.21.4-beta.0
  • Fabric Loader 0.16.14

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.

Additional context

  • Not sure where I can find the latest development version, since the latest commit in this repo points to version 1.1.9 and that's what I downloaded from Modrinth.
  • This might be related to the comment posted by demistorm: Crash on NeoForge 1.21.1-21.1.143 #14 (comment)
  • Workaround: Prism Launcher has a feature for using a custom OpenAL.dll (Settings -> Minecraft -> Tweaks -> Use system installation of OpenAL). So I downloaded the latest OpenAL.dll from the LWJGL website and using that the game can exit normally and I haven't found any issues with this yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions