AudioTrack.native_setup fmod crash on android phone

F : runtime.cc:694] native: #51 pc 0000000000053880 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F : runtime.cc:694] at android.media.AudioTrack.native_setup(Native method)
F : runtime.cc:694] at android.media.AudioTrack.(AudioTrack.java:838)
F : runtime.cc:694] at android.media.AudioTrack.(AudioTrack.java:768)
F : runtime.cc:694] at android.media.AudioTrack.(AudioTrack.java:722)
F : runtime.cc:694] at android.media.AudioTrack.(AudioTrack.java:663)
F : runtime.cc:694] at org.fmod.FMODAudioDevice.run(unavailable:-1)
F : runtime.cc:694] at java.lang.Thread.run(Thread.java:930)
F : runtime.cc:694]
E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E CRASH : Version ‘2020.3.18f1 (aa38d5259a)’, Build type ‘Development’, Scripting Backend ‘il2cpp’, CPU ‘arm64-v8a’
E CRASH : Build fingerprint: ‘HONOR/SDY-AN00/HNSDY:12/HONORSDY-AN00/6.1.0.162C00:user/release-keys’
E CRASH : Revision: ‘0’
E CRASH : ABI: ‘arm64’
E CRASH : Timestamp: 2022-09-07 11:21:07+0800
E CRASH : pid: 19964, tid: 20061, name: FMODAudioDevice >>> com.xx.xxx <<<
E CRASH : uid: 10191
E CRASH : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
E CRASH : x0 0000000000000000 x1 0000000000004e5d x2 0000000000000006 x3 00000071d0defb60
E CRASH : x4 626f1f3832221f39 x5 626f1f3832221f39 x6 626f1f3832221f39 x7 7f7f7f7f7f7f7f7f
E CRASH : x8 00000000000000f0 x9 2ab3c20d7d56009a x10 0000000000000000 x11 ffffff00fffffbdf
E CRASH : x12 0000000000000001 x13 00000071d0dee970 x14 0000000000045708 x15 0000005e5c19364f
E CRASH : x16 000000763bb55308 x17 000000763bb32440 x18 00000071be5a4000 x19 0000000000004dfc
E CRASH : x20 0000000000004e5d x21 00000000ffffffff x22 00000073892972fc x23 0000000000000000
E CRASH : x24 00000073892baa3b x25 0000000000000001 x26 000000739167f154 x27 0000007389c18000
E CRASH : x28 b4000073ad70e790 x29 00000071d0defbe0
E CRASH : sp 00000071d0defb40 lr 000000763bae5030 pc 000000763bae505c
E CRASH : backtrace:
E CRASH : #00 pc 000000000005205c /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 82e5b2ff86b193c94139353a92c4af29)
E CRASH : #01 pc 0000000000630848 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1676) (BuildId: 3e18d8bab150bf628c9045fdeee865ef)
E CRASH : #02 pc 000000000001595c /apex/com.android.art/lib64/libbase.so (BuildId: e786ef1455ed9db77601f37672a2d196)
E CRASH : #03 pc 0000000000007dac /system/lib64/liblog.so (__android_log_assert+308) (BuildId: a5be64c83dcb4d252382e328d9029a53)
E CRASH : #04 pc 000000000008b79c /system/lib64/libaudioclient.so (android::AudioTrack::createTrack_l()+6384) (BuildId: 281565b898bd910fb53d8c4fe436eff6)
E CRASH : #05 pc 000000000008941c /system/lib64/libaudioclient.so (android::AudioTrack::set(audio_stream_type_t, unsigned int, audio_format_t, audio_channel_mask_t, unsigned long, audio_output_flags_t, void ()(int, void, void*), void*, int, android::spandroid::IMemory const&, bool, audio_session_t, android::AudioTrack::transfer_type, audio_offload_info_t const*, android::content::AttributionSourceState const&, audio_attributes_t const*, bool, float, int)+1980) (BuildId: 281565b898bd910fb53d8c4fe436eff6)
E CRASH : #06 pc 0000000000091984 /system/lib64/libaudioclient.so (android::AudioTrack::set(audio_stream_type_t, unsigned int, audio_format_t, unsigned int, unsigned long, audio_output_flags_t, void ()(int, void, void*), void*, int, android::spandroid::IMemory const&, bool, audio_session_t, android::AudioTrack::transfer_type, audio_offload_info_t const*, unsigned int, int, audio_attributes_t const*, bool, float, int)+568) (BuildId: 281565b898bd910fb53d8c4fe436eff6)
E CRASH : #07 pc 0000000000015254 /data/app/~~dIIiLlDV2j73OzEOaZo9Vg==/com.pie.piegame-pbi_b6ehO4HtJ_oqEtKlvw==/lib/arm64/libulien_audio_jni.so (OpenSLCaptureImplV31::audio_track_init_set_hook(void*, int, unsigned int, int, unsigned int, unsigned long, int, void*, void*, int, void const*, bool, int, int, void const*, void const*, void const*, bool, float, int)+1192) (BuildId: 862ca8e4fcd00e1ec4592149d5f25b6b078d7e98)
E CRASH : #08 pc 00000000001bed1c /system/lib64/libandroid_runtime.so (BuildId: c14651805438df7fae16c86d70d995e6)
E CRASH : #09 pc 00000000001cf088 /system/framework/arm64/boot-framework.oat (BuildId: 3fa38bf6950cb80c2648bb34222d3eb51e24731c)

phone version is:

FMODAudioDevice.run is from an old version of FMOD, what version of FMOD are you using?
If you are using a recent version of FMOD then this crash is not coming from the FMOD Unity integration and is coming from Unity’s internal audio system, which uses an old version of FMOD that we no longer support. You can try disabling Unity audio, otherwise I think your best option would be to contact Unity with this issue.

our fmod version is 2.01.11
企业微信截图_20220908141124

Thank you for confirming- unfortunately this confirms that the problem is not coming from the FMOD 2.01.11 Unity integration, and is instead coming from Unity’s internal audio system, so you will need to contact Unity with this issue.