Page MenuHomeFeedback Tracker

Crash from Air Sounds with Single-Channel Audio Device
Closed, ResolvedPublic

Description

Crash occurs within 1 seconds of observing any helicopter or airplane flying. I may be in the helicopter or simply observe it from a distance. A helicopter may be spooled up without causing the crash, but as soon as taking off the game crashes. Occasionally, when interacting with aquatic vehicles I also get a related crash, although I have not found a reliable way to reproduce this yet.

The crash occurs when using any audio device in single channel (mono) audio mode. Most common when someone is using a BT4 or earlier protocol for headset with mic.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
1909 [18363.1556], 21H1 [19043.1052]
Category
Game Crash
Steps To Reproduce
  1. Use an audio device that is in single-channel (mono) audio mode.

Some audio devices can be configured to use mono audio as shown:


  1. Witness any aerial vehicle in flight.
Additional Information

The crash log indicates 'Exception code: C0000005 ACCESS_VIOLATION'

Related Objects

Mentioned In
T84371: The game is constantly crashing. I can play for 4-9min BEFORE IT CRASHES, wont allow file upload
T84427: Game crashes at random times, never more than 1 hour played.
T84810: 0xC0000005 - STATUS_ACCESS_VIOLATION can someone please help this has been going on for months.
T84982: Memory could not be written
T84673: The memory could not be read error
T86011: Random ACCESS_VIOLATION crash
T157062: Crashes with v2.02
T157009: Crash with Hyperthreading enabled when starting an AR2-Darter
T157541: Arma 3 crashes
T157513: Access_Status_Violation whenever i even try to load into a campaign or showcase or MP.
T158387: Game Crash on Tutorial/SP and MP roughly 30secs to 1 min after loading.
T158710: CTD upon starting engine of any vehicle
T159377: Crash in campaign C0000005 ACCESS_VIOLATION
T160851: Game scrash
T160941: Status Access Violation when playing single player
T169508: Acces Violation error near vehicles Mod and Unmoded
T122922: Game Crash In campaign or MP with USB headset
T150465: Arma 3
T161501: Crash - STATUS_ACCCESS_VIOLATION -> BAD_MODULE_INFO
T163829: Always crashing trying to play singleplayere campain Access_violation
T160797: Second Boot camp mission crash
T163763: Crashes early on startup or on trying to join MP game
T144286: Game continually Crashes at same point
T140040: Helicopter ( game Crash )
T127491: bad module info
T127750: BAD_MODULE_INFO [Not like the others]
T129117: 0xC0000005 - ACCESS_VIOLATION Every time I try to play a campaign or join a server
T126596: Status_Access_Violation Error:
T126204: Arma 3 Crashes when a Vehicle moves
T127081: Game randomly exiting
T123551: Arma3 Crashing both SP and MP
T122979: Constant Crashing Since APEX Update
T119935: Game Crashing during prologue
T127304: Error Code: Access_Violation
T127541: Bad Module Info crash whenever I drive
T132120: ARMA 3 Crash
T124451: Arma 3 64 bit server crash (out of memory)
T128009: Exit code 0x000000FF - Unknown
T123029: My arma 3 keeps on crashing !!!
T141874: Arma 3
T160085: Arma 3 report
T160004: status access violation repeatedly
T126305: Arma 3 MP crash on join
T119608: Reference Memory Error Bug
T127974: Bad_Module_Info
T127891: Bad_Module_Info
T127350: Crashes game shortly after loading into server
T126389: Game crash
T123451: "A3\Missions_F_EPA\Campaign\B_m05" crash
T120321: Arma 3 keeps crashing with memory cannot be written or read.
T127662: Bad_module_info crash
T130851: Game crashes all the time, and receiving 0xC0000005
T164083: Arma 3 Bug Report 0xC0000005
T164807: Crashing at random times
T170419: 0xC000005 - STATUS ACCESS VIOLATION
T170610: Game keeps crashing
T170944: Game Crash | Moddet | MP
T171185: 0xC0000005 - ACCESS_VIOLATION.

Event Timeline

Rhaokiel created this task.Jul 3 2021, 8:32 PM
dedmen added a subscriber: dedmen.Jul 6 2021, 10:35 AM

These all look like random crashes.
We know that USB Headsets on Windows 10 cause crashes, but these are not our Crashes. They are inside windows code.

Not much we can do there

X to Doubt. The only program that has this issue is Arma 3. -- Arma 2 works just fine with my headset, as does any music player, etc.

And the crash always occurs within 1 second of witnessing an aircraft in flight. That's not random.

Sure the ACCESS_VIOLATION might occur at a windows owned address. But as a software engineer myself, I know that usually doesn't mean it is their code at fault. The fault is with something that was passed to windows incorrectly by Arma 3.

The reason why I put the quip about the mono audio channel in there is that it is my best guess as to what is being passed incorrectly. Though why it only affects aircraft and sometimes boats is beyond me.

This is a well known bug with USB audio devices on windows 10, sadly we didn't manage to reproduce it yet, so a fix is not on the horizon.

Rhaokiel added a comment.EditedJul 13 2021, 3:27 AM

This is NOT a USB audio device. There is NO USB dongle involved.

I have since installed a virtual audio driver to work around this issue. https://vb-audio.com/Voicemeeter/
Because the virtual audio driver receives the 2-channel audio and can then funnel it into a single channel device PROPERLY, this allows me to use my bluetooth headset in Arma 3 without issue.

But to confirm my suspicion that the underlying issue has nothing to do with what the audio device is (USB, BT, etc.) but rather that the audio device is a mono channel audio device. I set the virtual driver to only use 1 channel via Windows audio configuration wizard. And guess what, Arma 3 crashes when trying to play to the virtual audio device in mono channel mode when taking off with a helicopter.

Rhaokiel renamed this task from Crash from Air Sounds with Bluetooth Headset to Crash from Air Sounds with Single Channel Audio Device.Jul 13 2021, 3:27 AM
Rhaokiel updated the task description. (Show Details)
Rhaokiel renamed this task from Crash from Air Sounds with Single Channel Audio Device to Crash from Air Sounds with Single-Channel Audio Device.Jul 13 2021, 3:30 AM
Rhaokiel updated the task description. (Show Details)
Rhaokiel edited Steps To Reproduce. (Show Details)
Rhaokiel changed Operating System Version from 1909 [18363.1556] to 1909 [18363.1556], 21H1 [19043.1052].Jul 14 2021, 3:19 AM

Tried this on another computer running Windows 10 21H1 with Voice Meeter set to mono and the same crash occurred.

dedmen claimed this task.Jul 26 2021, 2:39 PM
dedmen changed the task status from New to Assigned.
dedmen set Ref Ticket to AIII-54461.
dedmen added a comment.Sep 1 2021, 4:41 PM

We have a WIP fix, though its not related to single channel output, I'll keep you posted.
It will appear on profiling branch, but I don't know if we will do another one before 2.06 release

dedmen closed this task as Resolved.EditedJun 27 2023, 8:04 PM

Resolved in Arma 2.14
Thank you so much, the hint about specifically single-channel was what I needed to be able to reproduce this.

This was a 8 year old bug, almost exactly actually.
It was introduced in 05.06.2015. Happy anniversary!