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

长时间不间断播放礼物,主线程死锁 #73

@followmyheart-Bao

Description

@followmyheart-Bao

复现场景:不间断播放,大概4小时会主线程死锁
设备:中低端机(7P,8都能复现)
死锁时的线程信息:
thread #1, queue = 'gputools.GTSharedMemoryTransport_capture.0x11a205b90.send', stop reason = signal SIGSTOP
frame #0: 0x00000001bd61d088 libsystem_kernel.dylib__semwait_signal + 8 frame #1: 0x000000018d9dc8e0 libsystem_c.dylibnanosleep + 212
frame #2: 0x000000018d9dd5a8 libsystem_c.dylibusleep + 64 frame #3: 0x0000000119325f08 libMTLCapture.dylib___lldb_unnamed_symbol2578$$libMTLCapture.dylib + 40
frame #4: 0x0000000119323dac libMTLCapture.dylib___lldb_unnamed_symbol2531$$libMTLCapture.dylib + 272 frame #5: 0x000000011932426c libMTLCapture.dylib___lldb_unnamed_symbol2533$$libMTLCapture.dylib + 424
frame #6: 0x000000011932244c libMTLCapture.dylib___lldb_unnamed_symbol2478$$libMTLCapture.dylib + 100 frame #7: 0x0000000118f85f94 libdispatch.dylib_dispatch_client_callout + 16
frame #8: 0x0000000118f95af0 libdispatch.dylib_dispatch_sync_invoke_and_complete_recurse + 128 frame #9: 0x00000001193222d8 libMTLCapture.dylib___lldb_unnamed_symbol2475$$libMTLCapture.dylib + 524
frame #10: 0x0000000119324d94 libMTLCapture.dylib___lldb_unnamed_symbol2557$$libMTLCapture.dylib + 232 frame #11: 0x00000001192d6840 libMTLCapture.dylib___lldb_unnamed_symbol1079$$libMTLCapture.dylib + 120
frame #12: 0x0000000119289b34 libMTLCapture.dylib___lldb_unnamed_symbol160$$libMTLCapture.dylib + 376 frame #13: 0x0000000119288c14 libMTLCapture.dylib___lldb_unnamed_symbol155$$libMTLCapture.dylib + 196
frame #14: 0x0000000186fade08 QuartzCoreCA::release_objects(X::List<void const*>*) + 32 frame #15: 0x0000000186fe8654 QuartzCoreCA::release_root_if_unused(CA::Layer*, CA::Layer*, void*) + 92
frame #16: 0x0000000187080b94 QuartzCorex_hash_table_remove_if + 88 frame #17: 0x0000000186fcae68 QuartzCoreCA::Transaction::commit() + 460
frame #18: 0x0000000186faea14 QuartzCoreCA::Transaction::flush_as_runloop_observer(bool) + 84 frame #19: 0x00000001834a2fc4 CoreFoundationCFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 32
frame #20: 0x0000000183474608 CoreFoundation__CFRunLoopDoObservers + 588 frame #21: 0x000000018346fb9c CoreFoundation__CFRunLoopRun + 1012
frame #22: 0x0000000183482e1c CoreFoundationCFRunLoopRunSpecific + 572 frame #23: 0x00000001a38259a0 GraphicsServicesGSEventRunModal + 160
frame #24: 0x0000000185cb6b90 UIKitCore-[UIApplication _run] + 1080 frame #25: 0x0000000185a4c16c UIKitCoreUIApplicationMain + 332
frame #26: 0x00000001021faa40 OneDemoAppmain(argc=1, argv=0x000000016dd1b790) at main.m:17:12 frame #27: 0x0000000119074250 dyldstart + 444

看着应该是gpu线程block了主线程

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