Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

ANRs on handleCheckEvent #20

@NguyenDinhTruong97

Description

@NguyenDinhTruong97

I got this log in firebase crashlytics.

SslPinningPlugin.java
com.macif.plugin.sslpinningplugin.SslPinningPlugin.handleCheckEvent

Triggered ANR - Root blocking

main (waiting): tid=1 systid=7551
at sun.misc.Unsafe.park(Unsafe.java)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)
at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1723)
at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3446)
at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1752)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1923)

at com.macif.plugin.sslpinningplugin.SslPinningPlugin.handleCheckEvent(SslPinningPlugin.java)
at com.macif.plugin.sslpinningplugin.SslPinningPlugin.onMethodCall(SslPinningPlugin.java)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java)
at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java)
at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java)

at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:339)
at android.os.Looper.loop(Looper.java:208)
at android.app.ActivityThread.main(ActivityThread.java:8218)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1016)

This happened mostly in android 11 and 12
Screen Shot 2022-03-02 at 11 27 28

Anyone can help me with this issue? Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions