Skip to content

Flutter 3.32.1 causing some ANR [libflutter.so] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&) #169906

@alihassan143

Description

@alihassan143

Steps to reproduce

i cannot reproduce this on my end but getting in playstore

  #00  pc 0x00000000005c0f9c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #01  pc 0x000000000084c2b0  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #02  pc 0x000000000084c084  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #03  pc 0x000000000084bfe8  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #04  pc 0x000000000086e2f4  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #05  pc 0x000000000040f9ac  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #06  pc 0x000000000040fe54  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #07  pc 0x000000000040fd28  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #08  pc 0x000000000040d28c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #09  pc 0x0000000000410500  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #10  pc 0x000000000041046c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #11  pc 0x000000000040f9ac  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #12  pc 0x000000000040fe54  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #13  pc 0x000000000040fd28  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #14  pc 0x000000000040d28c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #15  pc 0x000000000040cf7c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #16  pc 0x000000000040cee8  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #17  pc 0x000000000040c9e4  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #18  pc 0x000000000040c8d8  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #19  pc 0x000000000040c89c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #20  pc 0x00000000003f3bdc  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libapp.so (BuildId: e4f372b4bb13d40e3dca0eab6993ae86)
  #21  pc 0x00000000008d83e4  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libflutter.so (dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&)) (BuildId: 9ec216ce9544799f53126039938e2b66e6d4ca1a)
  #22  pc 0x0000000000a1f56c  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libflutter.so (Dart_InvokeClosure) (BuildId: 9ec216ce9544799f53126039938e2b66e6d4ca1a)
  #23  pc 0x000000000083b6fc  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libflutter.so (tonic::DartMicrotaskQueue::RunMicrotasks()) (BuildId: 9ec216ce9544799f53126039938e2b66e6d4ca1a)
  #24  pc 0x00000000004cf4f8  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libflutter.so (fml::MessageLoopImpl::RunExpiredTasksNow()) (BuildId: 9ec216ce9544799f53126039938e2b66e6d4ca1a)
  #25  pc 0x00000000004d2f78  /data/app/~~mXtSLSqnTy4YPR-yLbSr9Q==/com.example.app-bxwQ8N-xg1zi7FYQ0edOtQ==/lib/arm64/libflutter.so (fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::__invoke(int, int, void*)) (BuildId: 9ec216ce9544799f53126039938e2b66e6d4ca1a)
  #26  pc 0x0000000000018224  /system/lib64/libutils.so (android::Looper::pollInner+1060)
  #27  pc 0x0000000000017da0  /system/lib64/libutils.so (android::Looper::pollOnce+112)
  #28  pc 0x0000000000162d0c  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce+44)
  at android.os.MessageQueue.nativePollOnce (Native method)
  at android.os.MessageQueue.next (MessageQueue.java:335)
  at android.os.Looper.loopOnce (Looper.java:161)
  at android.os.Looper.loop (Looper.java:288)
  at android.app.ActivityThread.main (ActivityThread.java:8194)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:703)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:911)

Expected results

App should not crash

Actual results

Image

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.1, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc4)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.100.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions