# Crash in Java\_org\_fmod\_FMOD\_OutputAAudioHeadphonesChanged

**URL:** <https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444>\
**Category:** FMOD Engine\
**Tags:** android, cpp\
**Created:** [October 9, 2025, 6:19am UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444 "2025-10-09T06:19:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![balmer](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/balmer/32/9137_2.png) [@balmer](https://qa.fmod.com/u/balmer)\
**Post date:** [October 9, 2025, 6:19am UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444/1 "2025-10-09T06:19:29Z")

</div>

After we cleaned out the most significant crashes from our game, this version of the fmod crash came to the top. This crash doesn’t happen that often, about 1 time per 1000 user sessions. I am attaching stacks of falls from significant threads.

> Android Main thread  
> Crashed: Thread: SIGSEGV 0x0000000000003c00  
> #00 pc 0x89668 libc.so (BuildId: 35a04626779868e5f2a30e171716818d)  
> #01 pc 0x119814 libfmod.so (FMOD\_Thread\_SetAttributes) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #02 pc 0x1200ac libfmod.so (Java\_org\_fmod\_FMOD\_OutputAAudioHeadphonesChanged) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #03 pc 0x1c06c libwilhelm.so (BuildId: add42961dc36bff558c9047066047889)  
> #04 pc 0x1ed2c libwilhelm.so (BuildId: add42961dc36bff558c9047066047889)  
> #05 pc 0x9c440 libaudioclient.so (BuildId: 2d191cdeeae11b23f29d33757d8aff17)  
> #06 pc 0x9b5a0 libaudioclient.so (BuildId: 2d191cdeeae11b23f29d33757d8aff17)  
> #07 pc 0x13550 libutils.so (BuildId: 62128a51f31d41bbd0d14333ccf95e95)  
> #08 pc 0xcd7bc libandroid\_runtime.so (BuildId: de23ddff2fe4e69625beec220036863f)  
> #09 pc 0xfcf50 libc.so (BuildId: 35a04626779868e5f2a30e171716818d)  
> #10 pc 0x8f500 libc.so (BuildId: 35a04626779868e5f2a30e171716818d)
> 
> Game OpenGL thread  
> #00 pc 0x8a01c libc.so (BuildId: 35a04626779868e5f2a30e171716818d)  
> #01 pc 0x8ea10 libc.so (BuildId: 35a04626779868e5f2a30e171716818d)  
> #02 pc 0xfc23c libc.so (BuildId: 35a04626779868e5f2a30e171716818d)  
> #03 pc 0x22b48 libwilhelm.so (BuildId: add42961dc36bff558c9047066047889)  
> #04 pc 0x1db58 libwilhelm.so (BuildId: add42961dc36bff558c9047066047889)  
> #05 pc 0x2d9f8 libwilhelm.so (BuildId: add42961dc36bff558c9047066047889)  
> #06 pc 0x359f8 libwilhelm.so (BuildId: add42961dc36bff558c9047066047889)  
> #07 pc 0x11f9f8 libfmod.so (Java\_org\_fmod\_FMOD\_OutputAAudioHeadphonesChanged) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #08 pc 0x118af8 libfmod.so (FMOD\_Thread\_SetAttributes) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #09 pc 0x135460 libfmod.so (FMOD::SystemI::createClientProfile()) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #10 pc 0x136038 libfmod.so (FMOD::SystemI::setInternalCallback(int, FMOD\_RESULT (_)(FMOD\_SYSTEM_, unsigned int, void\*, void\*, void\*), void\*)) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #11 pc 0x10b230 libfmod.so (FMOD::System::release()) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #12 pc 0xc9408 libfmodstudio.so (FMOD\_OS\_CriticalSection\_IsLocked) (BuildId: 7764932bbcb676ecf4bf9931262807af)  
> #13 pc 0xc9700 libfmodstudio.so (FMOD\_OS\_CriticalSection\_IsLocked) (BuildId: 7764932bbcb676ecf4bf9931262807af)  
> #14 pc 0xe0e94 libfmodstudio.so (FMOD::Studio::System::release()) (BuildId: 7764932bbcb676ecf4bf9931262807af)  
> #15 pc 0x110d9c0 libskylore.so (InternalRelease [AudioSystem.cpp:251]) (BuildId: f3c5e889834d605f7ed0f8166cf29b1e215fb240)

Tombstone:

> #00 pc 0x89668 (\_\_memcpy [/apex/com.android.runtime/lib64/bionic/libc.so]) (BuildId: 35a04626779868e5f2a30e171716818d)  
> #01 pc 0x119814 (FMOD\_Thread\_SetAttributes [/data/app/~~NAHbiNQE8vjoXkDGDBAxUw==/com.aigrind.skylore-FKKLjkym8uLzkaYfVGJNxA==/split\_config.arm64\_v8a.apk!libfmod.so]) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #02 pc 0x1200ac (Java\_org\_fmod\_FMOD\_OutputAAudioHeadphonesChanged [/data/app/~~NAHbiNQE8vjoXkDGDBAxUw==/com.aigrind.skylore-FKKLjkym8uLzkaYfVGJNxA==/split\_config.arm64\_v8a.apk!libfmod.so]) (BuildId: beb253ea4dae9e5790e064906f49c9a7)  
> #03 pc 0x1c06c (audioTrack\_handleMoreData\_lockPlay(CAudioPlayer\_struct\*, android::AudioTrack::Buffer const&) [/system/lib64/libwilhelm.so]) (BuildId: add42961dc36bff558c9047066047889)  
> #04 pc 0x1ed2c (android::AudioTrackCallback::onMoreData(android::AudioTrack::Buffer const&) [/system/lib64/libwilhelm.so]) (BuildId: add42961dc36bff558c9047066047889)  
> #05 pc 0x9c440 (android::AudioTrack::processAudioBuffer() [/system/lib64/libaudioclient.so]) (BuildId: 2d191cdeeae11b23f29d33757d8aff17)  
> #06 pc 0x9b5a0 (android::AudioTrack::AudioTrackThread::threadLoop() [/system/lib64/libaudioclient.so]) (BuildId: 2d191cdeeae11b23f29d33757d8aff17)  
> #07 pc 0x13550 (android:🧵:\_threadLoop(void\*) [/system/lib64/libutils.so]) (BuildId: 62128a51f31d41bbd0d14333ccf95e95)  
> #08 pc 0xcd7bc (android::AndroidRuntime::javaThreadShell(void\*) [/system/lib64/libandroid\_runtime.so]) (BuildId: de23ddff2fe4e69625beec220036863f)  
> #09 pc 0xfcf50 (\_\_pthread\_start(void\*) [/apex/com.android.runtime/lib64/bionic/libc.so]) (BuildId: 35a04626779868e5f2a30e171716818d)  
> #10 pc 0x8f500 (\_\_start\_thread [/apex/com.android.runtime/lib64/bionic/libc.so]) (BuildId: 35a04626779868e5f2a30e171716818d)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [October 9, 2025, 10:27pm UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444/2 "2025-10-09T22:27:01Z")

</div>

Hi,

Thank you for bringing this to our attention.

Could I please grab your FMOD version numbers?

---

<div class="post-metadata">

**Author:** ![balmer](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/balmer/32/9137_2.png) [@balmer](https://qa.fmod.com/u/balmer)\
**Post date:** [October 10, 2025, 7:19am UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444/3 "2025-10-10T07:19:31Z")

</div>

We are using FMOD version 2.03.08

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [October 13, 2025, 12:16am UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444/4 "2025-10-13T00:16:44Z")

</div>

Thanks for the info.

A similar issue in Unity was identified in unity with a potential solution shared here: [[Bug][2.02.06] Android startup crash - #23 by jeff\_fmod](https://qa.fmod.com/t/bug-2-02-06-android-startup-crash/18789/23).

Are you using a game engine? Are you able to share any reproduction steps?

---

<div class="post-metadata">

**Author:** ![balmer](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/balmer/32/9137_2.png) [@balmer](https://qa.fmod.com/u/balmer)\
**Post date:** [October 13, 2025, 7:11am UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444/5 "2025-10-13T07:11:33Z")

</div>

No, according to the link you provided, it’s a completely different stacktrace. There, the drop occurs at the moment of fmod initialization. In my case, the drop occurs when FMOD is called FMOD::Studio::System::release() .

Sorry, but this option is difficult to repeat in the sample. As far as I understand, this is a loss of connection with bluetouch headphones at the moment when the game releases fmod resources.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [October 20, 2025, 4:52am UTC](https://qa.fmod.com/t/crash-in-java-org-fmod-fmod-outputaaudioheadphoneschanged/23444/6 "2025-10-20T04:52:42Z")

</div>

Thank you for checking that.

Unfortunately, testing your theory I was not able to reproduce a crash. We are still investigating other options.

Would it be possible to upload the full tombstone file to your [profile](https://fomd.com/profile#uploads)?
