Skip to content

[Bug]: android.os.MessageQueue.nativePollOnce #2459

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

Transsion Note 50
Transsion HOT 50 Pro+

Relevant log output

main (native):tid=1 systid=13146 
#00 pc 0xca288 libc.so (__epoll_pwait + 8) (BuildId: 41b260160dbd4aae2b04f90d937b7e4f)
#01 pc 0x12fc0 libutils.so (android::Looper::pollOnce + 208) (BuildId: fa639e42761c9f4d00a390a8b06ed417)
#02 pc 0x1940dc libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce + 44) (BuildId: f4cf3bf26f6425b683fd8c2033ca63e8)
       at android.os.MessageQueue.nativePollOnce(Native method)
       at android.os.MessageQueue.next(MessageQueue.java:348)
       at android.os.Looper.loopOnce(Looper.java:246)
       at android.os.Looper.loop(Looper.java:408)
       at android.app.ActivityThread.main(ActivityThread.java:9119)
       at java.lang.reflect.Method.invoke(Native method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:970)

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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