# Fmod crash on android crash stack libaudioclient.so

**URL:** <https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266>\
**Category:** Unity\
**Created:** [January 24, 2022, 11:52am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266 "2022-01-24T11:52:29Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![simingtu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simingtu](https://qa.fmod.com/u/simingtu)\
**Post date:** [January 24, 2022, 11:52am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/1 "2022-01-24T11:52:30Z")

</div>

crash on android Xiaomi 2106118C and HUAWEI JER-AN10 happend several times.  
crash stack follows, i do not known why this happens.  
our fmod version is 2.01.11  
our game developed by unity.  
Xiaomi 2106118C phone’s android version is: 11.0  
HUAWEI JER-AN10 phones’s android version is: 10.0  
i saw a web [Android 9/10 crash in FMOD 2.00.09](https://qa.fmod.com/t/android-9-10-crash-in-fmod-2-00-09/16113)  
it said the crash will happend on android 9 or 10.  
so, please help me to solve this question.

Signal 11(SIGSEGV), Code 1(SEGV\_MAPERR)  
1  
#00 pc 0000000000080660 /system/lib64/libaudioclient.so (\_ZN7android10AudioTrack9setVolumeEff+656)  
2  
#01 pc 000000000002b50c /system/lib64/libaaudio\_internal.so (\_ZN6aaudio16AudioStreamTrack11doSetVolumeEv+112)  
3  
#02 pc 000000000001eca0 /system/lib64/libaaudio\_internal.so (\_ZN6aaudio11AudioStream12MyPlayerBase15playerSetVolumeEv+336)  
4  
#03 pc 00000000000b2378 /system/lib64/libaudioclient.so (\_ZN7android10PlayerBase9setVolumeEf+148)  
5  
#04 pc 00000000000492e8 /system/lib64/libaudioclient.so (\_ZN7android5media8BnPlayer10onTransactEjRKNS\_6ParcelEPS2\_j+468)  
6  
#05 pc 000000000004982c /system/lib64/libbinder.so (\_ZN7android7BBinder8transactEjRKNS\_6ParcelEPS1\_j+232)  
7  
#06 pc 00000000000522a8 /system/lib64/libbinder.so (\_ZN7android14IPCThreadState14executeCommandEi+1032)  
8  
#07 pc 0000000000051df0 /system/lib64/libbinder.so (\_ZN7android14IPCThreadState20getAndExecuteCommandEv+156)  
9  
#08 pc 0000000000052628 /system/lib64/libbinder.so (\_ZN7android14IPCThreadState14joinThreadPoolEb+60)  
10  
#09 pc 00000000000788a4 /system/lib64/libbinder.so (\_ZN7android10PoolThread10threadLoopEv+24)  
11  
#10 pc 00000000000154cc /system/lib64/libutils.so (\_ZN7android6Thread11\_threadLoopEPv+260)  
12  
#11 pc 00000000000a676c /system/lib64/libandroid\_runtime.so (\_ZN7android14AndroidRuntime15javaThreadShellEPv+144)  
13  
#12 pc 0000000000014d90 /system/lib64/libutils.so (_ZN13thread\_data\_t10trampolineEPKS_+412)  
14  
#13 pc 00000000000eb86c /apex/com.android.runtime/lib64/bionic/libc.so (\_ZL15\_\_pthread\_startPv+64)  
15  
#14 pc 000000000008ba48 /apex/com.android.runtime/lib64/bionic/libc.so (\_\_start\_thread+64)

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [January 27, 2022, 9:40pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/2 "2022-01-27T21:40:35Z")

</div>

I am not seeing anything here that indicates this crash is coming from FMOD- can you please tick [Enable API Error Logging](https://fmod.com/resources/documentation-unity?version=2.02&page=settings.html#enable-api-error-logging) in the FMOD Unity settings and set your Logging Level to _“Log”_, and then share a complete log starting from application launch up until the crash?

---

<div class="post-metadata">

**Author:** ![vectorunit](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@vectorunit](https://qa.fmod.com/u/vectorunit)\
**Post date:** [May 25, 2022, 5:25pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/3 "2022-05-25T17:25:37Z")

</div>

Were you ever able to resolve this? We’re seeing the same thing on a non-unity game, call-stack below. This is with FMOD Engine v2.02.04, and it only happens on Android 11 & 12.

36.2K crashes in last 30 days, top three crashing devices are:  
Redmi Note 10 - 35.6%  
Redmi Note 10 Pro - 29.0%  
Xiaomi Mi Note 10 Lite - 10.5%

* * *

pid: 0, tid: 0 \>\>\> com.vectorunit.cobalt.googleplay \<\<\<

backtrace:  
#00 pc 0000000000090af4 /system/lib64/libaudioclient.so (android::AudioTrack::setVolume(float, float)+468)  
#00 pc 000000000002cb74 /system/lib64/libaaudio\_internal.so (aaudio::AudioStreamTrack::doSetVolume()+116)  
#00 pc 000000000001da10 /system/lib64/libaaudio\_internal.so (aaudio::AudioStream::MyPlayerBase::playerSetVolume()+340)  
#00 pc 00000000000b2190 /system/lib64/libaudioclient.so (android::PlayerBase::setVolume(float)+148)  
#00 pc 0000000000041a08 /system/lib64/libaudioclient.so (android::media::BnPlayer::onTransact(unsigned int, android::Parcel const&, android::Parcel\*, unsigned int)+668)  
#00 pc 0000000000049880 /system/lib64/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel\*, unsigned int)+252)  
#00 pc 0000000000053910 /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+1048)  
#00 pc 000000000005342c /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+164)  
#00 pc 0000000000053cdc /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+72)  
#00 pc 0000000000080418 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+28)  
#00 pc 000000000001358c /system/lib64/libutils.so (android:🧵:\_threadLoop(void\*)+264)  
#00 pc 00000000000bf4b8 /system/lib64/libandroid\_runtime.so (android::AndroidRuntime::javaThreadShell(void\*)+148)  
#00 pc 0000000000012de8 /system/lib64/libutils.so (thread\_data\_t::trampoline(thread\_data\_t const\*)+408)  
#00 pc 00000000000f0d34 /apex/com.android.runtime/lib64/bionic/libc.so (\_\_pthread\_start(void\*)+264)  
#00 pc 000000000008d57c /apex/com.android.runtime/lib64/bionic/libc.so (\_\_start\_thread+68)

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [May 26, 2022, 12:52am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/4 "2022-05-26T00:52:21Z")

</div>

> [@jeff\_fmod](#):
>
> I am not seeing anything here that indicates this crash is coming from FMOD- can you please tick [Enable API Error Logging](https://fmod.com/resources/documentation-unity?version=2.02&page=settings.html#enable-api-error-logging) in the FMOD Unity settings and set your Logging Level to _“Log”_ , and then share a complete log starting from application launch up until the crash?

Again, a full log would be helpful here as I cannot see “fmod” anywhere in this call stack. You can enable error logging by using the fmodL and fmodstudioL libs and calling [`Debug_Initialize`](https://fmod.com/resources/documentation-api?version=2.02&page=core-api-common.html#debug_initialize) with `FMOD_DEBUG_LEVEL_LOG` as the first argument.

---

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [July 1, 2022, 1:37pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/5 "2022-07-01T13:37:55Z")

</div>

We integrated the latest FMOD Core Engine ourselves instead of using the FMOD for Unity.  
All audio-related code was written in C++, and on the Unity C# side, there are only wrapper functions for P/Invokes.  
No Unity Audio API calls and Unity Audio Listeners at all.

In the Audio settings, the “Disable Unity Audio” option was ticked.  
But the “Visualize Effects” option was on. (This wasn’t intentional. I turned this off after this writing.)  
All other options including the “Global Volume” were set to 0, 1, “Mono”, and “Best latency”.

We initialize the FMOD system manually either with **AAudio** or **OpenSL**.  
Not using **Auto** or **AudioTrack**. NEVER.  
But one of our users is experiencing an **AudioTrack** error, not always, but very often.  
Below is all the backtrace after the crash:

> backtrace:  
> #00 pc \*\*\*\* /system/lib64/libaudioclient.so (android::AudioTrack::setVolume(float, float)+512) (BuildId: \*\*\*)
> 
> at libaudioclient.android::AudioTrack::setVolume(float, float)(setVolume:512)

I don’t get this.  
Does FMOD utilize **AudioTrack** under the hood even when it is set to **AAudio**?

This user’s phone is Redmi Note 10 Pro (Android 12), and reading the above comments, it seems like this issue has something to do with Redmi and Xiaomi phones.  
(We had no issues at all with other devices so far.)

Any thoughts/guesses on this issue?

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [July 8, 2022, 5:23am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/6 "2022-07-08T05:23:47Z")

</div>

> [@jiyongman](#):
>
> Does FMOD utilize **AudioTrack** under the hood even when it is set to **AAudio**?

FMOD does not use AudioTrack internally for the AAudio and OpenSL output types. I’m assuming it isn’t feasible for you to [Enable API Error Logging](https://fmod.com/resources/documentation-unity?version=2.02&page=settings.html#enable-api-error-logging) and get a full log from your user?

> [@jiyongman](#):
>
> This user’s phone is Redmi Note 10 Pro (Android 12), and reading the above comments, it seems like this issue has something to do with Redmi and Xiaomi phones.

We have had reports of crashing when the volume is muted on modern Huawei and Xiaomi devices, which might explain why the issue is reproducing irregularly on your user’s device. Unfortunately we cannot acquire any of the devices that this issue has been reproducing on in our country. If you are in contact with your user you could potentially get them to check whether the issue reproduces if the volume is muted/unmuted?

---

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [July 8, 2022, 4:03pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/7 "2022-07-08T16:03:55Z")

</div>

The user suddenly stopped responding, so there’s no more information we can get.  
But thanks for letting us know about the volume issue.  
We will ask about that when another user experiences the same crash.

---

<div class="post-metadata">

**Author:** ![yinbao](https://avatars.discourse-cdn.com/v4/letter/y/ce73a5/32.png) [@yinbao](https://qa.fmod.com/u/yinbao)\
**Post date:** [August 16, 2022, 9:19am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/8 "2022-08-16T09:19:52Z")

</div>

i also got this error, did you fix it

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 19, 2022, 1:51am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/9 "2022-08-19T01:51:11Z")

</div>

We still haven’t been able to reproduce this crash. Can you please tick _[Enable API Error Logging](https://fmod.com/docs/2.02/unity/settings.html#enable-api-error-logging)_ , set your _[Logging Level](https://fmod.com/docs/2.02/unity/settings.html#logging-level)_ to “Log”, and post the output of your game’s log here up to when the crash occurs?

---

<div class="post-metadata">

**Author:** ![kingiii](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@kingiii](https://qa.fmod.com/u/kingiii)\
**Post date:** [August 24, 2022, 12:51pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/10 "2022-08-24T12:51:05Z")

</div>

This can be related to the modification in audio subsystem of miui/huawei. Using screen recorder in app using fmod on these devices will cause no sound or random noise.  
You may change OutputType to opensl instead of aaudio, which is default. Hope this helps.

---

<div class="post-metadata">

**Author:** ![kingiii](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@kingiii](https://qa.fmod.com/u/kingiii)\
**Post date:** [August 25, 2022, 1:28pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/11 "2022-08-25T13:28:01Z")

</div>

hi jeff,  
as far as i know, on miui with screen recorder running, app will easily crash with such backtrace. it’s probably not the bug of fmod, because wwise has same problem 😆(genshin impact introduced an audio compatible mode in v1.5 to avoid this). i think there is something wrong with fmod working on miui/huawei aaudio subsystem, but it is difficult for me to debug fmod or android system in lowlevel. i hope you guys can conduct a deep investigation on it.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 26, 2022, 2:01am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/12 "2022-08-26T02:01:35Z")

</div>

This seems to be a [bug with the Google Oboe API](https://github.com/google/oboe/issues/538). We aren’t using Oboe, but there appears to be other apps running in the background on these devices that are- the screen recording app is likely an example of this.  
There is a fix scheduled for Android T which came out August 15 2022, so hopefully this crash will start disappearing as more people move to the latest Android OS.

---

<div class="post-metadata">

**Author:** ![kingiii](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@kingiii](https://qa.fmod.com/u/kingiii)\
**Post date:** [August 29, 2022, 11:09am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/13 "2022-08-29T11:09:11Z")

</div>

ah…first found in 2019…  
anyway, thanks a lot, it’s google’ss fault and i can have a good sleep now. 🤪

---

<div class="post-metadata">

**Author:** ![simingtu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@simingtu](https://qa.fmod.com/u/simingtu)\
**Post date:** [September 21, 2022, 4:06am UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/14 "2022-09-21T04:06:41Z")

</div>

the same problem appeared, log is:  
“09-21 10:56:40.992 5946 5946 I wm\_on\_top\_resumed\_lost\_called: [124522791,com.sdk.MainActivity,topStateChangedWhenResumed]”,  
"09-21 10:56:46.172 10387 10515 I tnet-jni: 117089 - [spdyPingRecvCallback] - ",  
“09-21 10:56:46.172 10387 10515 I tnet-jni: 117089 - [SpdySessionCallBack.spdyPingRecvCallback] - org.android.spdy.SpdySession@162e64f”,  
“09-21 10:56:46.180 10387 10515 D NAccs.SilenceConn\_default: spdyPingRecvCallback uniId:36”,  
“09-21 10:56:46.180 10387 10515 D NAccs.MsgRecv\_default: onRcvPing”,  
“09-21 10:56:46.180 10387 10515 D NAccs.HeartbeatManager: onHeartbeatSucc”,  
“09-21 10:56:46.180 10387 10515 D NAccs.OrangeAdapter: isSmartHb result:true”,  
“09-21 10:56:46.180 10387 10515 D NAccs.HeartbeatManager: set 270”,  
“09-21 10:56:46.187 10387 10515 D NAccs.UtilityImpl: setServiceTime:1663729006187”,  
“09-21 10:56:47.034 5946 6022 I Store : [saveRecords]: lastReportTS:1663724784688,jsonObjects:17”,  
“09-21 10:56:54.376 5946 6510 D AAudio : AAudioStream\_requestStop(s#24) called”,  
“09-21 10:56:54.377 5946 6510 D AAudioStream: setState(s#24) from 4 to 9”,  
“09-21 10:56:54.380 5946 6510 D AudioTrack: stop(sessionID=98017)”,  
“09-21 10:56:54.380 5946 6510 D AudioTrack: stop(11563): prior state:STATE\_ACTIVE”,  
“09-21 10:56:54.380 5946 6510 D AudioTrack: stop(11563): called with 41310912 frames delivered”,  
“09-21 10:56:54.412 5946 6510 D com.pie.piegam: PlayerBase::stop() from IPlayer”,  
“09-21 10:56:54.420 5946 6510 D AAudio : AAudioStream\_close(s#24) called ---------------”,  
“09-21 10:56:54.420 5946 6510 D AAudioStream: setState(s#24) from 9 to 11”,  
“09-21 10:56:54.420 5946 6510 D AAudioStream: setState(s#24) from 11 to 12”,  
“09-21 10:56:54.420 5946 6510 D AudioTrack: ~AudioTrack(sessionID=98017)”,  
“09-21 10:56:54.435 5946 6510 D AudioTrack: stop(sessionID=98017)”,  
“09-21 10:56:54.435 5946 6510 D AudioTrack: stop(11563): prior state:STATE\_STOPPED”,  
“09-21 10:56:54.436 5946 6510 D AAudio : AAudioStream\_close(s#24) returned 0 ---------”,  
“09-21 10:56:54.440 5946 6510 I AAudio : AAudioStreamBuilder\_openStream() called ----------------------------------------”,  
“09-21 10:56:54.440 5946 6510 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT”,  
“09-21 10:56:54.440 5946 6510 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: OFF with frames = 0”,  
“09-21 10:56:54.440 5946 6510 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0”,  
“09-21 10:56:54.440 5946 6510 I AudioStreamBuilder: privacy sensitive = false”,  
“09-21 10:56:54.440 5946 6510 D com.pie.piegam: PlayerBase::PlayerBase()”,  
“09-21 10:56:54.493 5946 6510 D com.pie.piegam: PlayerBase::~PlayerBase()”,  
“09-21 10:56:54.493 5946 6510 D com.pie.piegam: PlayerBase::PlayerBase()”,  
“09-21 10:56:54.494 5946 6510 D AudioStreamTrack: open(), request notificationFrames = 0, frameCount = 0”,  
“09-21 10:56:54.494 5946 6510 I com.pie.piegam: getDeviceIsSupportElevoc() The device is not support elevoc”,  
“09-21 10:56:54.494 5946 6510 D AudioTrack: set(sessionId=0)”,  
“09-21 10:56:54.494 5946 6510 D AudioTrack: set(): streamType -1, sampleRate 0, format 0x5, channelMask 0x3, frameCount 0, flags #104, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1”,  
“09-21 10:56:54.505 5946 6510 W AudioTrack: createTrack\_l(11563): AUDIO\_OUTPUT\_FLAG\_FAST denied by client, not shared buffer and transfer = TRANSFER\_SYNC”,  
“09-21 10:56:54.553 5946 6510 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:54.553 5946 6510 W AudioStreamTrack: open() sampleRate changed from 0 to 48000”,  
“09-21 10:56:54.553 5946 6510 D AAudioStream: setState(s#26) from 0 to 2”,  
“09-21 10:56:54.553 5946 6510 W AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000000”,  
“09-21 10:56:54.553 5946 6510 W AudioStreamTrack: open() perfMode changed from 12 to 10”,  
“09-21 10:56:54.555 5946 6510 I AAudio : AAudioStreamBuilder\_openStream() returns 0 = AAUDIO\_OK for s#26 ----------------”,  
“09-21 10:56:54.555 5946 6510 D AAudio : AAudioStream\_close(s#26) called ---------------”,  
“09-21 10:56:54.555 5946 6510 D AAudioStream: setState(s#26) from 2 to 11”,  
“09-21 10:56:54.555 5946 6510 D AAudioStream: setState(s#26) from 11 to 12”,  
“09-21 10:56:54.555 5946 6510 D AudioTrack: ~AudioTrack(sessionID=98065)”,  
“09-21 10:56:54.555 5946 6510 D AudioTrack: stop(sessionID=98065)”,  
“09-21 10:56:54.555 5946 6510 D AudioTrack: stop(11568): prior state:STATE\_STOPPED”,  
“09-21 10:56:54.555 5946 6452 D com.pie.piegam: PlayerBase::setVolume() from IPlayer”,  
“09-21 10:56:54.555 5946 6452 D AAudioStream: setDuckAndMuteVolume() to 1.000000”,  
“09-21 10:56:54.556 5946 6452 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:54.558 5946 6510 D AAudio : AAudioStream\_close(s#26) returned 0 ---------”,  
“09-21 10:56:54.560 5946 6510 I AudioManager: In isBluetoothScoOn(), calling application: com.pie.piegame”,  
“09-21 10:56:54.562 5946 6510 I fmod : FMOD::supportsLowLatency : Low latency = true, Pro Audio = true, Bluetooth On = false, Acceptable Block Size = true (144)”,  
“09-21 10:56:54.562 5946 6510 I GameREC\_Audio[JNI]: audio\_dlsym\_hook setCallback builder:0x763b8d4c80 函数:0x76dfc8ceec userData: 0x7650cb5208”,  
“09-21 10:56:54.562 5946 6510 I AAudio : AAudioStreamBuilder\_openStream() called ----------------------------------------”,  
“09-21 10:56:54.562 5946 6510 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT”,  
“09-21 10:56:54.562 5946 6510 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0”,  
“09-21 10:56:54.562 5946 6510 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0”,  
“09-21 10:56:54.562 5946 6510 I AudioStreamBuilder: privacy sensitive = false”,  
“09-21 10:56:54.562 5946 6510 D com.pie.piegam: PlayerBase::PlayerBase()”,  
“09-21 10:56:54.571 5946 6510 D com.pie.piegam: PlayerBase::~PlayerBase()”,  
“09-21 10:56:54.571 5946 6510 D com.pie.piegam: PlayerBase::PlayerBase()”,  
“09-21 10:56:54.571 5946 6510 D AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0”,  
“09-21 10:56:54.572 5946 6510 I com.pie.piegam: getDeviceIsSupportElevoc() The device is not support elevoc”,  
“09-21 10:56:54.572 5946 6510 D AudioTrack: set(sessionId=0)”,  
“09-21 10:56:54.572 5946 6510 D AudioTrack: set(): streamType -1, sampleRate 0, format 0x5, channelMask 0x3, frameCount 0, flags #104, notificationFrames -8, sessionId 0, transferType 1, uid -1, pid -1”,  
“09-21 10:56:54.807 5946 6510 I AudioTrack: createTrack\_l(11568): AUDIO\_OUTPUT\_FLAG\_FAST successful; frameCount 0 -\u003e 1536”,  
“09-21 10:56:54.807 5946 6510 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:54.807 5946 6510 W AudioStreamTrack: open() sampleRate changed from 0 to 48000”,  
“09-21 10:56:54.807 5946 6510 D AAudioStream: setState(s#28) from 0 to 2”,  
“09-21 10:56:54.808 5946 6510 W AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000004”,  
“09-21 10:56:54.809 5946 6510 I AAudio : AAudioStreamBuilder\_openStream() returns 0 = AAUDIO\_OK for s#28 ----------------”,  
“09-21 10:56:54.809 5946 6510 D AAudio : AAudioStream\_close(s#28) called ---------------”,  
“09-21 10:56:54.809 5946 6510 D AAudioStream: setState(s#28) from 2 to 11”,  
“09-21 10:56:54.809 5946 6510 D AAudioStream: setState(s#28) from 11 to 12”,  
“09-21 10:56:54.809 5946 6510 D AudioTrack: ~AudioTrack(sessionID=98081)”,  
“09-21 10:56:54.810 5946 6510 D AudioTrack: stop(sessionID=98081)”,  
“09-21 10:56:54.810 5946 6510 D AudioTrack: stop(11569): prior state:STATE\_STOPPED”,  
“09-21 10:56:54.812 5946 6404 D com.pie.piegam: PlayerBase::setVolume() from IPlayer”,  
“09-21 10:56:54.812 5946 6404 D AAudioStream: setDuckAndMuteVolume() to 1.000000”,  
“09-21 10:56:54.812 5946 6404 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:54.818 5946 6510 D AAudio : AAudioStream\_close(s#28) returned 0 ---------”,  
“09-21 10:56:54.818 5946 6510 I AAudio : AAudioStreamBuilder\_openStream() called ----------------------------------------”,  
“09-21 10:56:54.818 5946 6510 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT”,  
“09-21 10:56:54.818 5946 6510 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0”,  
“09-21 10:56:54.818 5946 6510 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0”,  
“09-21 10:56:54.818 5946 6510 I AudioStreamBuilder: privacy sensitive = false”,  
“09-21 10:56:54.818 5946 6510 D com.pie.piegam: PlayerBase::PlayerBase()”,  
“09-21 10:56:54.825 5946 6510 D com.pie.piegam: PlayerBase::~PlayerBase()”,  
“09-21 10:56:54.825 5946 6510 D com.pie.piegam: PlayerBase::PlayerBase()”,  
“09-21 10:56:54.826 5946 6510 D AudioStreamTrack: open(), request notificationFrames = 0, frameCount = 3072”,  
“09-21 10:56:54.826 5946 6510 I com.pie.piegam: getDeviceIsSupportElevoc() The device is not support elevoc”,  
“09-21 10:56:54.826 5946 6510 D AudioTrack: set(sessionId=0)”,  
“09-21 10:56:54.826 5946 6510 D AudioTrack: set(): streamType -1, sampleRate 0, format 0x5, channelMask 0x3, frameCount 3072, flags #104, notificationFrames 0, sessionId 0, transferType 1, uid -1, pid -1”,  
“09-21 10:56:54.850 5946 6510 I AudioTrack: createTrack\_l(11569): AUDIO\_OUTPUT\_FLAG\_FAST successful; frameCount 3072 -\u003e 3072”,  
“09-21 10:56:54.850 5946 6510 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:54.850 5946 6510 W AudioStreamTrack: open() sampleRate changed from 0 to 48000”,  
“09-21 10:56:54.850 5946 6510 D AAudioStream: setState(s#30) from 0 to 2”,  
“09-21 10:56:54.850 5946 6510 W AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000004”,  
“09-21 10:56:54.852 5946 6510 I AAudio : AAudioStreamBuilder\_openStream() returns 0 = AAUDIO\_OK for s#30 ----------------”,  
“09-21 10:56:54.853 5946 5976 D com.pie.piegam: PlayerBase::setVolume() from IPlayer”,  
“09-21 10:56:54.853 5946 5976 D AAudioStream: setDuckAndMuteVolume() to 1.000000”,  
“09-21 10:56:54.853 5946 5976 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:54.863 5946 6510 D AAudio : AAudioStream\_requestStart(s#30) called --------------”,  
“09-21 10:56:54.863 5946 6510 D AAudioStream: setState(s#30) from 2 to 3”,  
“09-21 10:56:56.550 5946 6503 I Choreographer: Skipped 99 frames! The application may be doing too much work on its main thread.”,  
“09-21 10:56:56.550 5946 6503 I choreographer\_caton: 99”,  
“09-21 10:56:56.551 5946 6510 W BpBinder: PerfMonitor binderTransact : time=1687ms interface=android.media.IAudioTrack code=2”,  
“09-21 10:56:56.551 5946 6510 D com.pie.piegam: PlayerBase::start() from IPlayer”,  
“09-21 10:56:56.551 5946 6510 D AAudio : AAudioStream\_requestStart(s#30) returned 0 ---------”,  
“09-21 10:56:56.551 5946 4052 W AudioTrack: restartIfDisabled(11570): releaseBuffer() track 0x7520c82100 disabled due to previous underrun, restarting”,  
“09-21 10:56:56.553 5946 8438 D com.pie.piegam: PlayerBase::setVolume() from IPlayer”,  
“09-21 10:56:56.553 5946 8438 D AAudioStream: setDuckAndMuteVolume() to 1.000000”,  
“09-21 10:56:56.561 5946 8438 D AudioTrack: setVolume: left = 1.000000 right = 1.000000”,  
“09-21 10:56:56.561 5946 4052 D AAudioStream: setState(s#30) from 3 to 4”,  
“09-21 10:56:56.562 5946 5976 D AudioStreamLegacy: onAudioDeviceUpdate() devId 3 =\u003e 3”,  
“09-21 10:56:56.563 5946 5976 D AudioStreamLegacy: onAudioDeviceUpdate() devId 3 =\u003e 3”,  
“09-21 10:56:56.587 5946 5946 V MediaRouter: Selecting route: RouteInfo{ name=手机, description=null, status=null, category=RouteCategory{ name=系统 types=ROUTE\_TYPE\_LIVE\_AUDIO ROUTE\_TYPE\_LIVE\_VIDEO groupable=false }, supportedTypes=ROUTE\_TYPE\_LIVE\_AUDIO ROUTE\_TYPE\_LIVE\_VIDEO , presentationDisplay=null }”,  
“09-21 10:56:56.719 5946 6452 E NPTH : Native crash was detected!”,  
“09-21 10:56:57.125 4133 4133 I auditd : type=1400 audit(0.0:259316): avc: denied { getattr } for comm="Binder:5946\_5" path="/sys/kernel/debug/tracing/trace\_marker" dev="tracefs" ino=3949 scontext=u:r:untrusted\_app\_27:s0:c512,c768 tcontext=u:object\_r:debugfs\_trace\_marker:s0 tclass=file permissive=0 app=com.pie.piegame”,  
“09-21 10:56:57.125 4133 4133 W Binder:5946\_5: type=1400 audit(0.0:259316): avc: denied { getattr } for path="/sys/kernel/debug/tracing/trace\_marker" dev="tracefs" ino=3949 scontext=u:r:untrusted\_app\_27:s0:c512,c768 tcontext=u:object\_r:debugfs\_trace\_marker:s0 tclass=file permissive=0 app=com.pie.piegame”,  
“09-21 10:56:57.125 4133 4133 I auditd : type=1400 audit(0.0:259317): avc: denied { getattr } for comm="Binder:5946\_5" path="/sys/kernel/debug/tracing/trace\_marker" dev="tracefs" ino=3949 scontext=u:r:untrusted\_app\_27:s0:c512,c768 tcontext=u:object\_r:debugfs\_trace\_marker:s0 tclass=file permissive=0 app=com.pie.piegame”,  
“09-21 10:56:57.125 4133 4133 W Binder:5946\_5: type=1400 audit(0.0:259317): avc: denied { getattr } for path="/sys/kernel/debug/tracing/trace\_marker" dev="tracefs" ino=3949 scontext=u:r:untrusted\_app\_27:s0:c512,c768 tcontext=u:object\_r:debugfs\_trace\_marker:s0 tclass=file permissive=0 app=com.pie.piegame”

can u analyse the crash reason?

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [September 25, 2022, 11:14pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266/15 "2022-09-25T23:14:50Z")

</div>

What version of Android was on the device?

> [@jeff\_fmod](#):
>
> This seems to be a [bug with the Google Oboe API](https://github.com/google/oboe/issues/538). We aren’t using Oboe, but there appears to be other apps running in the background on these devices that are- the screen recording app is likely an example of this.  
> There is a fix scheduled for Android T which came out August 15 2022, so hopefully this crash will start disappearing as more people move to the latest Android OS.
