OneSignal-Android-SDK icon indicating copy to clipboard operation
OneSignal-Android-SDK copied to clipboard

[Bug]: libcore.io.Linux.getpid

Open laraibsaghir0 opened this issue 1 year ago • 3 comments

What happened?

Alot of ANRs are being logged in Firebase Analytics after upgrading to one signal version 5.4.0.

Steps to reproduce?

Many users face ANR when the app runs. There are no specific steps to reproduce this issue.

What did you expect to happen?

No ANR in my app.

OneSignal Android SDK version

5.4.0

Android version

15

Specific Android models

OnePlus 12
Version: Android 16 (there was no option of selecting android 16)

Relevant log output

main (runnable):tid=1 systid=22770 
       at libcore.io.Linux.getpid(Linux.java:116)
       at libcore.io.ForwardingOs.getpid(ForwardingOs.java:322)
       at libcore.io.ForwardingOs.getpid(ForwardingOs.java:322)
       at android.system.Os.getpid(Os.java:265)
       at android.os.Process.myPid(Process.java:915)
       at android.os.Looper.loopOnce(Looper.java:277)
       at android.os.Looper.loop(Looper.java:408)
       at android.app.ActivityThread.main(ActivityThread.java:9952)
       at java.lang.reflect.Method.invoke(Native method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:613)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

laraibsaghir0 avatar Nov 26 '25 10:11 laraibsaghir0

You do not need to create all as seperate issues...

michael-winkler avatar Nov 26 '25 10:11 michael-winkler

All the stacktraces were different. Thats why I created separate issues.

laraibsaghir0 avatar Nov 26 '25 11:11 laraibsaghir0

Based on the information provided, this crash does not appear to be related to the OneSignal SDK. We’ll go ahead and close this issue. If you discover additional logs or evidence that link the problem to OneSignal, feel free to reopen the issue and we’ll be happy to take another look.

jinliu9508 avatar Dec 02 '25 20:12 jinliu9508