Repository navigation
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: productionIssues experienced in live production appsIssues experienced in live production appsc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.needs repro infoAutomated crash report whose cause isn't yet knownAutomated crash report whose cause isn't yet knownplatform-androidAndroid applications specificallyAndroid applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Steps to reproduce
Random in production
Expected results
no report the issue
Actual results
crashlytics report ANR
Code sample
Code sample
No sampleScreenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
main (native):tid=1 systid=27661
#00 pc 0x5e328 libc.so (syscall + 28)
#01 pc 0x63429 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 92)
#02 pc 0xaa373 libc.so (pthread_cond_wait + 32)
#03 pc 0x29d23f split_config.armeabi_v7a.apk!libflutter.so + 8454144
#04 pc 0x4dfe [anon:libc_malloc]
at io.flutter.embedding.engine.FlutterJNI.nativeSurfaceDestroyed(FlutterJNI.java)
at io.flutter.embedding.engine.FlutterJNI.onSurfaceDestroyed(FlutterJNI.java:667)
at io.flutter.embedding.engine.renderer.FlutterRenderer.stopRenderingToSurface(FlutterRenderer.java:1125)
at io.flutter.embedding.android.FlutterSurfaceView.disconnectSurfaceFromRenderer(FlutterSurfaceView.java:303)
at io.flutter.embedding.android.FlutterSurfaceView.access$400(FlutterSurfaceView.java:36)
at io.flutter.embedding.android.FlutterSurfaceView$1.surfaceDestroyed(FlutterSurfaceView.java:78)
at android.view.SurfaceView.notifySurfaceDestroyed(SurfaceView.java:1842)
at android.view.SurfaceView.updateSurface(SurfaceView.java:1130)
at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:310)
at android.view.View.dispatchWindowVisibilityChanged(View.java:14778)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1616)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1616)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1616)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2519)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2038)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8359)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:972)
at android.view.Choreographer.doCallbacks(Choreographer.java:796)
at android.view.Choreographer.doFrame(Choreographer.java:731)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7974)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:948)Flutter Doctor output
Doctor output
[Paste your output here]Reacted by Ashraf Patel and Vitali Baukunovich
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: productionIssues experienced in live production appsIssues experienced in live production appsc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.needs repro infoAutomated crash report whose cause isn't yet knownAutomated crash report whose cause isn't yet knownplatform-androidAndroid applications specificallyAndroid applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Activity
peterweb2005 commentedon Dec 16, 2024
marked no related to another popular 3.27 issue #160228
darshankawar commentedon Dec 17, 2024
@peterweb2005
The stacktrace probably looks similar to #156728 that you can check for reference to see if it helps in your case or not.
peterweb2005 commentedon Dec 17, 2024
don't know, only know that my apps load no gif
darshankawar commentedon Dec 18, 2024
I will keep the issue open based on this stacktrace. Ideally we would need a reproducible case in order to analyze further.
ashraf-patel-hs commentedon Jan 3, 2025
@darshankawar I am facing the same issue, it happens when the activity tries to perform the stop
at android.app.Activity.performStop(Activity.java:8771).The log is from the production user,
jonahwilliams commentedon Jan 6, 2025
@peterweb2005 is that all of the information from crashlytics? It looks like that thread might be parked waiting for something, but not sure what.
If we could get symbols for the singular flutter frame in the issue that would be helpful
peterweb2005 commentedon Jan 6, 2025
seems yes, but these numbers more often, i mean 00-07
peterweb2005 commentedon Jan 6, 2025
wondered that only another one person report production ANRs, or the issue fixed in 3.27.1
peterweb2005 commentedon Jan 24, 2025
seems the error no reported in 3.27.3
Flutter Doctor output
Doctor output
github-actions commentedon Feb 11, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.