Android MusicKit native cra sh при вызове MediaPlayerControllerFactory.createLocalController - PullRequest
0 голосов
/ 25 апреля 2020

Я пытаюсь интегрировать MusicKit для Android. Я успешно получаю токен пользователя, но когда я пытаюсь получить MediaPlayerController, я получаю нативный крей sh. Код для его запуска довольно прост:

val tokenResult = authenticationManager.handleTokenResult(data)

if (!tokenResult.isError) {
    val mediaPlayerController = MediaPlayerControllerFactory.createLocalController(
        context,
        object : TokenProvider {
            override fun getDeveloperToken(): String {
                return context.getString(R.string.apple_developer_key)
            }

            override fun getUserToken(): String {
                return tokenResult.musicUserToken
            }
        }
    )
}

Вот обратный след, который я получаю от cra sh:

2032563-32563/? A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 32563 (t.test), pid 32563 (t.test)
208951-8951/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
208951-8951/? A/DEBUG: Build fingerprint: 'google/coral/coral:10/QQ2A.200405.005/6254899:user/release-keys'
208951-8951/? A/DEBUG: Revision: 'MP1.0'
208951-8951/? A/DEBUG: ABI: 'arm64'
208951-8951/? A/DEBUG: Timestamp: 2020-04-24 12:59:30-0700
208951-8951/? A/DEBUG: pid: 32563, tid: 32563, name: t.test  >>> com.example.test <<<
208951-8951/? A/DEBUG: uid: 10336
208951-8951/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
208951-8951/? A/DEBUG:     x0  0000000000000000  x1  0000000000007f33  x2  0000000000000006  x3  0000007fe4bf26d0
208951-8951/? A/DEBUG:     x4  fefeff52edb49b0a  x5  fefeff52edb49b0a  x6  fefeff52edb49b0a  x7  7f7f7f7fffffff7f
208951-8951/? A/DEBUG:     x8  00000000000000f0  x9  bb98ddf798b89f8a  x10 0000000000000001  x11 0000000000000000
208951-8951/? A/DEBUG:     x12 fffffff0fffffbdf  x13 0000000000000000  x14 ffffffffffffffff  x15 ffffffffffffffff
208951-8951/? A/DEBUG:     x16 000000709874c8c0  x17 000000709872a0c0  x18 000000709a352000  x19 0000000000007f33
208951-8951/? A/DEBUG:     x20 0000000000007f33  x21 00000000ffffffff  x22 00000065f64255cc  x23 0000007099e5f020
208951-8951/? A/DEBUG:     x24 0000000000000000  x25 0000007099e5f020  x26 0000000000001002  x27 00000065f69747c8
208951-8951/? A/DEBUG:     x28 0000007fe4bf3ed0  x29 0000007fe4bf2770
208951-8951/? A/DEBUG:     sp  0000007fe4bf26b0  lr  00000070986def48  pc  00000070986def74
208951-8951/? A/DEBUG: backtrace:
208951-8951/? A/DEBUG:       #00 pc 0000000000081f74  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 8de865099c99977483c8947f9b7937e9)
208951-8951/? A/DEBUG:       #01 pc 00000000000bd074  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libc++_shared.so (BuildId: d0037ef5765b54507445e4f81cb6e6bc527cc701)
208951-8951/? A/DEBUG:       #02 pc 00000000000b9484  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libc++_shared.so (__gxx_personality_v0+364) (BuildId: d0037ef5765b54507445e4f81cb6e6bc527cc701)
208951-8951/? A/DEBUG:       #03 pc 000000000003aca4  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libjscexecutor.so (BuildId: 9984c1cb185669a215d38fc3546e0e7b8ebbaa8a)
208951-8951/? A/DEBUG:       #04 pc 000000000003afc8  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libjscexecutor.so (_Unwind_RaiseException+252) (BuildId: 9984c1cb185669a215d38fc3546e0e7b8ebbaa8a)
208951-8951/? A/DEBUG:       #05 pc 00000000000b7a78  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libfbjni.so (__cxa_throw+112) (BuildId: 8edc347b17ae03442aeaf32376fe2c404c260276)
208951-8951/? A/DEBUG:       #06 pc 0000000000069e70  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libc++_shared.so (std::__ndk1::locale::use_facet(std::__ndk1::locale::id&) const+216) (BuildId: d0037ef5765b54507445e4f81cb6e6bc527cc701)
208951-8951/? A/DEBUG:       #07 pc 0000000000122518  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (_ZNSt6__ndk124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m+160) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #08 pc 00000000001212b8  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (SVError::SVError(SVErrorCode const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, int const&)+500) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #09 pc 00000000001317d8  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (SVAudioDecoderJNI::reset()+88) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #10 pc 0000000000131450  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (SVAudioDecoderJNI::~SVAudioDecoderJNI()+72) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #11 pc 00000000001178a0  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #12 pc 000000000013f350  /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #13 pc 0000000000136334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #14 pc 000000000014506c  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #15 pc 00000000002df738  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #16 pc 00000000002daa18  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #17 pc 000000000059a13c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+400) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #18 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #19 pc 00000000002e4968  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes5.dex] (org.bytedeco.javacpp.Pointer$NativeDeallocator.deallocate+28)
208951-8951/? A/DEBUG:       #20 pc 00000000005998a0  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #21 pc 0000000000130a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #22 pc 00000000002e6448  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes5.dex] (org.bytedeco.javacpp.Pointer.deallocate+76)
208951-8951/? A/DEBUG:       #23 pc 00000000005980ac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #24 pc 0000000000130814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #25 pc 00000000002e63e2  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes5.dex] (org.bytedeco.javacpp.Pointer.deallocate+2)
208951-8951/? A/DEBUG:       #26 pc 00000000005980ac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #27 pc 0000000000130814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #28 pc 00000000002e5d90  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes5.dex] (org.bytedeco.javacpp.Pointer.deallocator+604)
208951-8951/? A/DEBUG:       #29 pc 00000000005980ac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #30 pc 0000000000130814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #31 pc 00000000002e652a  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes5.dex] (org.bytedeco.javacpp.Pointer.init+54)
208951-8951/? A/DEBUG:       #32 pc 00000000002b0384  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1271440803783865717+240) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #33 pc 00000000005893e4  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1012) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #34 pc 000000000013f468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #35 pc 0000000000136334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #36 pc 000000000014506c  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #37 pc 00000000004a9668  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #38 pc 00000000004aa310  /apex/com.android.runtime/lib64/libart.so (art::InvokeWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+400) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #39 pc 00000000003a1b84  /apex/com.android.runtime/lib64/libart.so (art::JNI::CallNonvirtualVoidMethodA(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue const*)+624) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #40 pc 0000000000369a68  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodA(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue const*, art::Primitive::Type, art::InvokeType)+2036) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #41 pc 0000000000116cfc  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #42 pc 0000000000117810  /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/lib/arm64/libappleMusicSDK.so!libappleMusicSDK.so (offset 0x110000) (Java_com_apple_android_music_renderer_javanative_SVAudioDecoderJNI_allocate+64) (BuildId: a5030ca0947cb716)
208951-8951/? A/DEBUG:       #43 pc 000000000013f350  /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #44 pc 0000000000136334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #45 pc 000000000014506c  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #46 pc 00000000002df738  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #47 pc 00000000002daa18  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #48 pc 000000000059a13c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+400) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #49 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #50 pc 0000000000362fa2  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.renderer.javanative.SVAudioDecoderJNI.<init>+6)
208951-8951/? A/DEBUG:       #51 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #52 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #53 pc 00000000003627ae  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.renderer.a.<init>+10)
208951-8951/? A/DEBUG:       #54 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #55 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #56 pc 000000000035450a  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.e.g.<init>+166)
208951-8951/? A/DEBUG:       #57 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #58 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #59 pc 0000000000361efc  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.renderer.a.a.a+88)
208951-8951/? A/DEBUG:       #60 pc 00000000005980ac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #61 pc 0000000000130814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #62 pc 0000000000346878  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.c.b.a+64)
208951-8951/? A/DEBUG:       #63 pc 000000000059d9c8  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStaticRange+768) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #64 pc 0000000000130c94  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static_range+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #65 pc 0000000000346f4e  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.c.b.<init>+198)
208951-8951/? A/DEBUG:       #66 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #67 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #68 pc 000000000034c370  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.c.f.a+4)
208951-8951/? A/DEBUG:       #69 pc 00000000002b0384  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1271440803783865717+240) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #70 pc 00000000002b6170  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+204) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #71 pc 00000000002da9fc  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+884) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #72 pc 000000000059a948  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #73 pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #74 pc 000000000034dd5c  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.controller.a.<init>+264)
208951-8951/? A/DEBUG:       #75 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #76 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #77 pc 000000000034cbc8  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.controller.MediaPlayerControllerFactory.createLocalController+52)
208951-8951/? A/DEBUG:       #78 pc 000000000059ac48  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #79 pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #80 pc 000000000034cc2e  [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk] (com.apple.android.music.playback.controller.MediaPlayerControllerFactory.createLocalController+26)
208951-8951/? A/DEBUG:       #81 pc 00000000002b0384  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1271440803783865717+240) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #82 pc 00000000002b6170  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+204) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #83 pc 00000000002da9fc  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+884) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #84 pc 000000000059a948  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #85 pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #86 pc 00000000000d5af4  [anon:dalvik-classes37.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes37.dex] (com.example.test.app.AppleMusicManager.connect+68)
208951-8951/? A/DEBUG:       #87 pc 00000000005980ac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #88 pc 0000000000130814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #89 pc 00000000000c8f10  [anon:dalvik-classes37.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes37.dex] (com.example.test.ClassSessionActivity.tryConnectAppleMusic+16)
208951-8951/? A/DEBUG:       #90 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #91 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #92 pc 00000000000c8b40  [anon:dalvik-classes37.dex extracted in memory from /data/app/com.example.test-s2UY9FEfuhWLZPZ0FCOAqQ==/base.apk!classes37.dex] (com.example.test.ClassSessionActivity.onActivityResult+108)
208951-8951/? A/DEBUG:       #93 pc 00000000005980ac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #94 pc 0000000000130814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #95 pc 0000000000190caa  /system/framework/framework.jar (android.app.Activity.dispatchActivityResult+14)
208951-8951/? A/DEBUG:       #96 pc 000000000059b4a0  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualRange+1056) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #97 pc 0000000000130b14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_range+20) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #98 pc 0000000000184a2c  /system/framework/framework.jar (android.app.ActivityThread.deliverResults+88)
208951-8951/? A/DEBUG:       #99 pc 000000000059a43c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 782d7b327d3cde508b7954af1362b4c0)
208951-8951/? A/DEBUG:       #100 pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so
...

(мне пришлось обрезать конец обратный след из-за ограничения символов). Я тестировал на Pixel и Pixel 4XL, оба с одинаковым результатом. Кто-нибудь знает, что здесь может происходить?

...