Crashes on certain Samsung Android 14 devices

138 views
Skip to first unread message

Tiago Picão

unread,
Apr 17, 2024, 4:17:30 PM4/17/24
to Google Mobile Ads SDK Developers
Hello,

Since I updated SDK from 21.2.0 to 22.3.0 (I cannot update to newer version yet) I'm seeing frequent crashes on Samsung S23, S24 and Fold devices on Android 14.
The logs end in a native library I never heard about before: libnpth.so.
An example log is below with app package name redacted.

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 29448 >>> com.company.app <<<

backtrace:
  #00  pc 0x000000000000f028  /data/app/~~zyGy-d2boY9JRzWJ6ApHIg==/com.company.app-9HF2kw1Owzxg2oGaes7ztw==/split_config.arm64_v8a.apk!libnpth.so (BuildId: 3526412a2378e8e1ed7d02f0a9d855a7d2ee53fd)
  #01  pc 0x000000000001043c  /data/app/~~zyGy-d2boY9JRzWJ6ApHIg==/com.company.app-9HF2kw1Owzxg2oGaes7ztw==/split_config.arm64_v8a.apk!libnpth.so (BuildId: 3526412a2378e8e1ed7d02f0a9d855a7d2ee53fd)
  #02  pc 0x000000000000d1ac  /data/app/~~zyGy-d2boY9JRzWJ6ApHIg==/com.company.app-9HF2kw1Owzxg2oGaes7ztw==/split_config.arm64_v8a.apk!libnpth.so (BuildId: 3526412a2378e8e1ed7d02f0a9d855a7d2ee53fd)
  #03  pc 0x000000000000bd24  /data/app/~~zyGy-d2boY9JRzWJ6ApHIg==/com.company.app-9HF2kw1Owzxg2oGaes7ztw==/split_config.arm64_v8a.apk!libnpth.so (BuildId: 3526412a2378e8e1ed7d02f0a9d855a7d2ee53fd)
  #04  pc 0x000000000000aafc  /data/app/~~zyGy-d2boY9JRzWJ6ApHIg==/com.company.app-9HF2kw1Owzxg2oGaes7ztw==/split_config.arm64_v8a.apk!libnpth.so (BuildId: 3526412a2378e8e1ed7d02f0a9d855a7d2ee53fd)
  #05  pc 0x0000000000005758  /data/app/~~zyGy-d2boY9JRzWJ6ApHIg==/com.company.app-9HF2kw1Owzxg2oGaes7ztw==/split_config.arm64_v8a.apk!libnpth.so (BuildId: 3526412a2378e8e1ed7d02f0a9d855a7d2ee53fd)
  #06  pc 0x000000000000084c  [vdso]
  #07  pc 0x00000000000e91a8  /apex/com.android.runtime/lib64/bionic/libc.so (__sendto+8)
  #08  pc 0x0000000000005428  /system/lib64/libnetd_client.so ((anonymous namespace)::netdClientSendto(int, void const*, unsigned long, int, sockaddr const*, unsigned int) (.cfi)+188)
  #09  pc 0x0000000000094d2c  /apex/com.android.runtime/lib64/bionic/libc.so (sendto+20)
  #10  pc 0x000000000002d4e4  /apex/com.android.art/lib64/libopenjdk.so (NET_Send+84)
  #11  pc 0x000000000002e18c  /apex/com.android.art/lib64/libopenjdk.so (SocketOutputStream_socketWrite0+376)
  #12  pc 0x0000000000343ea0  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+144)
  #13  pc 0x000000000057b188  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.net.SocketOutputStream.socketWrite+744)
  #14  pc 0x000000000057b41c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.net.SocketOutputStream.write+44)
  #15  pc 0x00000000005b98b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
  #16  pc 0x0000000000019734  /apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.ConscryptEngineSocket$SSLOutputStream.writeToSocket+32)
  #17  pc 0x00000000005b9854  /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
  #18  pc 0x000000000001968e  /apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.ConscryptEngineSocket$SSLOutputStream.writeInternal+262)
  #19  pc 0x00000000005b9854  /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
  #20  pc 0x0000000000019390  /apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.ConscryptEngineSocket$SSLOutputStream.-$$Nest$mwriteInternal)
  #21  pc 0x00000000005b8934  /apex/com.android.art/lib64/libart.so (nterp_helper+52)
  #22  pc 0x000000000001a282  /apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.ConscryptEngineSocket.drainOutgoingQueue+26)
  #23  pc 0x00000000005b9854  /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
  #24  pc 0x000000000001a05e  /apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.ConscryptEngineSocket.close+54)
  #25  pc 0x0000000000612c3c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.okhttp.internal.http.StreamAllocation.deallocate+476)
  #26  pc 0x000000000061413c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.okhttp.internal.http.StreamAllocation.streamFinished+124)
  #27  pc 0x000000000061c550  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.okhttp.internal.http.Http1xStream$AbstractSource.unexpectedEndOfInput+128)
  #28  pc 0x0000000000625f68  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.okhttp.internal.http.Http1xStream$FixedLengthSource.close+152)
  #29  pc 0x000000000061a8ec  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.okhttp.okio.RealBufferedSource$1.close+92)
  #30  pc 0x00000000005b98b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
  #31  pc 0x0000000000186cd0  /data/user_de/0/com.google.android.gms/app_chimera/m/0000015b/dl-AdsFdrDynamite.integ_240304704100000.apk (com.google.android.gms.ads.internal.video.google3exoplayer.b.d+20)
  #32  pc 0x00000000005ba674  /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
  #33  pc 0x00000000000c9330  /data/user_de/0/com.google.android.gms/app_chimera/m/0000015b/dl-AdsFdrDynamite.integ_240304704100000.apk (m.iq.d+4)
  #34  pc 0x00000000005ba674  /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
  #35  pc 0x00000000000c7108  /data/user_de/0/com.google.android.gms/app_chimera/m/0000015b/dl-AdsFdrDynamite.integ_240304704100000.apk (m.hv.a)
  #36  pc 0x00000000005b8934  /apex/com.android.art/lib64/libart.so (nterp_helper+52)
  #37  pc 0x00000000000f45d0  /data/user_de/0/com.google.android.gms/app_chimera/m/0000015b/dl-AdsFdrDynamite.integ_240304704100000.apk (m.xq.run+1216)
  #38  pc 0x000000000055e45c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+716)
  #39  pc 0x000000000055b958  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+56)
  #40  pc 0x000000000041c970  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Thread.run+64)
  #41  pc 0x000000000033b3a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
  #42  pc 0x000000000023a5d0  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144)
  #43  pc 0x0000000000539a7c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600)
  #44  pc 0x000000000053942c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallbackWithUffdGc(void*)+8)
  #45  pc 0x00000000000fd0f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
  #46  pc 0x0000000000096a04  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

Any idea what could be causing this?

Thanks

Mobile Ads SDK Forum Advisor

unread,
Apr 17, 2024, 7:05:12 PM4/17/24
to tp.con...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

The stack trace is rather infeasible for us to resolve so we'll need more information before we can debug this further. Would you kindly verify the extent of this occurrence, and is it limited to version 22.3.0?

In the event that the issue continues to occur, could you kindly provide us with the following information to allow us to conduct a review of the code implementation? We will endeavor to replicate the issue from our perspective.

  • Error Screenshots/video recording
  • Charles proxy logs/network tracing logs
  • Sample project reproducing the issue

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, kindly provide requested information to us via reply to author option or using the steps below:

1. Navigate to
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002tPC3UQAW&entry.80707362=00231608

2. Fill out all fields, and attach your file(s).
 

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tPC3U:ref" (ADR-00231608)

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages