Fmod crash on android crash stack libaudioclient.so

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
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)

I am not seeing anything here that indicates this crash is coming from FMOD- can you please tick 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?

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::thread::_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)

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 with FMOD_DEBUG_LEVEL_LOG as the first argument.

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?

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 and get a full log from your user?

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?

1 Like

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.

i also got this error, did you fix it

We still haven’t been able to reproduce this crash. Can you please tick Enable API Error Logging , set your Logging Level to “Log”, and post the output of your game’s log here up to when the crash occurs?

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.

1 Like

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 :laughing:(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.

This seems to be a bug with the Google Oboe API. 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.

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

1 Like

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?

What version of Android was on the device?