web-dev-qa-db-ja.com

Android 10でFacebookオーディエンスネットワークのネイティブクラッシュ

最新バージョンのオーディエンスネットワークを使用してクラッシュが発生しています。ほとんどすべてのPixelスマートフォンがAndroid 10を実行しています。ここにトレースがあります:

_backtrace:
  #00  pc 000000000008246c  /apex/com.Android.runtime/lib64/bionic/libc.so (abort+160)
  #01  pc 00000000004ba0c4  /apex/com.Android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2176)
  #02  pc 000000000000c634  /system/lib64/libbase.so (Android::base::LogMessage::~LogMessage()+604)
  #03  pc 00000000003781f0  /apex/com.Android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1608)
  #04  pc 00000000003784a0  /apex/com.Android.runtime/lib64/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+180)
  #05  pc 00000000004ffc84  /apex/com.Android.runtime/lib64/libart.so (art::Thread::DecodeJObject(_jobject*) const+780)
  #06  pc 00000000003c6228  /apex/com.Android.runtime/lib64/libart.so (art::JNI::GetArrayLength(_JNIEnv*, _jarray*)+580)
  #07  pc 0000000000038d10  /apex/com.Android.conscrypt/lib64/libjavacrypto.so (evpUpdate(_JNIEnv*, _jobject*, _jbyteArray*, int, int, char const*, int (*)(env_md_ctx_st*, void const*, unsigned long))+308)
  #08  pc 000000000013f350  /apex/com.Android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144)
  #09  pc 00000000020007b4  /memfd:/jit-cache (com.Android.org.conscrypt.OpenSSLMessageDigestJDK.engineUpdate+116)
  #10  pc 00000000002609c0  /system/framework/arm64/boot.oat (Java.security.MessageDigest$Delegate.engineUpdate+64)
  #11  pc 00000000001bd6cc  /system/framework/arm64/boot.oat (Java.security.MessageDigest.update+76)
  #12  pc 0000000002000f70  /memfd:/jit-cache (com.facebook.ads.redexgen.X.Nt.A01+416)
  #13  pc 000000000013663c  /apex/com.Android.runtime/lib64/libart.so (art_quick_osr_stub+60)
  #14  pc 00000000003380ac  /apex/com.Android.runtime/lib64/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+1772)
  #15  pc 00000000005ad260  /apex/com.Android.runtime/lib64/libart.so (MterpMaybeDoOnStackReplacement+212)
  #16  pc 0000000000135350  /apex/com.Android.runtime/lib64/libart.so (MterpHelpers+240)
  #17  pc 00000000001a4fbe  [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Nt.A01+66)
  #18  pc 00000000005a5154  /apex/com.Android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
  #19  pc 0000000000130994  /apex/com.Android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #20  pc 00000000001a509a  [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Nt.A02+10)
  #21  pc 00000000002b4b04  /apex/com.Android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.11452150525172173309+240)
  #22  pc 0000000000593744  /apex/com.Android.runtime/lib64/libart.so (artQuickToInterpreterBridge+944)
  #23  pc 000000000013f468  /apex/com.Android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #24  pc 00000000001365b8  /apex/com.Android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
  #25  pc 0000000000145084  /apex/com.Android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
  #26  pc 00000000002e3bc0  /apex/com.Android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
  #27  pc 00000000002deab8  /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*)+928)
  #28  pc 00000000005a4e3c  /apex/com.Android.runtime/lib64/libart.so (MterpInvokeStatic+368)
  #29  pc 0000000000130994  /apex/com.Android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #30  pc 0000000000172ac4  [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jp.A02+104)
  #31  pc 00000000005a5154  /apex/com.Android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
  #32  pc 0000000000130994  /apex/com.Android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #33  pc 0000000000172b4c  [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jp.A03)
  #34  pc 00000000005a5154  /apex/com.Android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
  #35  pc 0000000000130994  /apex/com.Android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #36  pc 00000000001728b8  [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jo.A00+16)
  #37  pc 00000000005a4934  /apex/com.Android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
  #38  pc 0000000000130914  /apex/com.Android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #39  pc 0000000000172918  [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jo.call)
  #40  pc 00000000002b4b04  /apex/com.Android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.11452150525172173309+240)
  #41  pc 0000000000593744  /apex/com.Android.runtime/lib64/libart.so (artQuickToInterpreterBridge+944)
  #42  pc 000000000013f468  /apex/com.Android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #43  pc 0000000000298528  /system/framework/arm64/boot.oat (Java.util.concurrent.FutureTask.run+200)
  #44  pc 00000000002019d4  /system/framework/arm64/boot.oat (Java.util.concurrent.Executors$RunnableAdapter.call+68)
  #45  pc 0000000000298528  /system/framework/arm64/boot.oat (Java.util.concurrent.FutureTask.run+200)
  #46  pc 00000000002f9fd8  /system/framework/arm64/boot.oat (Java.util.concurrent.ThreadPoolExecutor.runWorker+984)
  #47  pc 00000000002f7640  /system/framework/arm64/boot.oat (Java.util.concurrent.ThreadPoolExecutor$Worker.run+64)
  #48  pc 00000000001a50b8  /system/framework/arm64/boot.oat (Java.lang.Thread.run+72)
  #49  pc 0000000000136334  /apex/com.Android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
  #50  pc 0000000000145064  /apex/com.Android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
  #51  pc 00000000004b1c58  /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)
  #52  pc 00000000004b2d28  /apex/com.Android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
  #53  pc 00000000004f3290  /apex/com.Android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1172)
  #54  pc 00000000000e372c  /apex/com.Android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #55  pc 0000000000084004  /apex/com.Android.runtime/lib64/bionic/libc.so (__start_thread+64)
_

SDKを最初に初期化するために、_implementation 'com.facebook.Android:audience-network-sdk:5.6.0'_とnew AdView(context, adUnit, BANNER_HEIGHT_50)AudienceNetworkAds.initialize(activity.getApplicationContext());とともに使用しています。

誰かが同じ問題に遭遇してそれを修正していますか?

7
avianey

5.4.1へのダウングレード/クラッシュが消えた

implementation 'com.facebook.Android:audience-network-sdk:5.4.1'
1
avianey