Skip to content

Getting pthread_mutex_lock crashes on various devices on google play app console #160971

@alihassan143

Description

@alihassan143

Steps to reproduce

(io.flutter.embedding.engine.renderer.SurfaceTextureSurfaceProducer.finalize+16)
    #30  pc 0x0000000000256618  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool) (.llvm.2851806063)+496)
    #31  pc 0x000000000051d6a8  /system/lib64/libart.so (artQuickToInterpreterBridge+1032)
    #32  pc 0x00000000005666fc  /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
    #33  pc 0x00000000001832d4  /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$FinalizerDaemon.doFinalize+100)
    #34  pc 0x000000000018355c  /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$FinalizerDaemon.runInternal+492)
    #35  pc 0x000000000011185c  /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$Daemon.run+76)
    #36  pc 0x000000000025d2e8  /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
    #37  pc 0x000000000055d588  /system/lib64/libart.so (art_quick_invoke_stub+584)
    #38  pc 0x00000000000cf740  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
    #39  pc 0x0000000000463bd0  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
    #40  pc 0x0000000000464c98  /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
    #41  pc 0x0000000000490010  /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
    #42  pc 0x0000000000083824  /system/lib64/libc.so (__pthread_start(void*)+36)
    #43  pc 0x000000000002340c  /system/lib64/libc.so (__start_thread+68)

Expected results

it should not cause issue

Actual results

its causing anr s

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[✓] Flutter (Channel stable, 3.24.5, on macOS 15.2 24C101 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.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.96.2)
[✓] Connected device (6 available)
[✓] Network resources

• No issues found!

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.needs repro infoAutomated crash report whose cause isn't yet knownplatform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions