Skip to content

[Bug]: libcore.io.Linux.getpid #2456

@laraibsaghir0

Description

@laraibsaghir0

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions