Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[iOS]Metalcontext crashes due to multithreading

Discussion in 'iOS and tvOS' started by tzm, May 30, 2022.

  1. tzm

    tzm

    Joined:
    Dec 20, 2021
    Posts:
    1
    unity version : 2020.3.16f,2020.3.25f (LTS)
    Stack:(From Firebase)
    0
    libsystem_kernel.dylib
    __pthread_kill + 8
    1
    libsystem_pthread.dylib
    pthread_kill + 212
    2
    libsystem_c.dylib
    abort + 120
    3
    IOGPU
    IOGPUMetalCommandBufferStorageReleaseDeviceShmems + 394
    4
    AGXMetalA10
    (缺少 UUID 89777e31304135b1a0e3ee2021c4de4b)
    5
    AGXMetalA10
    (缺少 UUID 89777e31304135b1a0e3ee2021c4de4b)
    6
    AGXMetalA10
    (缺少 UUID 89777e31304135b1a0e3ee2021c4de4b)
    7
    AGXMetalA10
    (缺少 UUID 89777e31304135b1a0e3ee2021c4de4b)
    8
    AGXMetalA10
    (缺少 UUID 89777e31304135b1a0e3ee2021c4de4b)
    arrow_right9
    UnityFramework
    MetalContext.mm - Line 402
    MetalContext::CreateNewEncoder(MTLRenderPassDescriptor*) + 402
    10
    UnityFramework
    FrameBufferMetal.mm - Line 702
    metal::prepareRenderTargetIfNeeded(GfxDeviceMetalBase&) + 702
    11
    UnityFramework
    GfxDeviceMetal.mm - Line 3823
    GfxDeviceMetal::SetRenderTargetsImpl(GfxRenderTargetSetup const&) + 3823
    12
    UnityFramework
    GfxDeviceWorker.cpp - Line 1092
    GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 1092
    13
    UnityFramework
    GfxDeviceMetal.mm - Line 5265
    GfxDeviceWorkerAutoreleasePoolProxy + 5265
    14
    UnityFramework
    GfxDeviceWorker.cpp - Line 389
    GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) + 389
    15
    UnityFramework
    GfxDeviceWorker.cpp - Line 353
    GfxDeviceWorker::RunGfxDeviceWorker(void*) + 353
    16
    UnityFramework
    Thread.cpp - Line 81
    Thread::RunThreadWrapper(void*) + 81
    17
    libsystem_pthread.dylib
    _pthread_start + 288
    18
    libsystem_pthread.dylib
    thread_start + 8

    The distribution range of mobile phone models that have crashed:
    iPhone7 Plus : 76%
    iPhone8 Plus: 16%
    iPhoneX : 6%
    iPhone7 : 2%

    Operating system distribution:
    iOS 15 : 72%
    iOS 14 : 28%
     
    zhao_A and AnswerFinder like this.
  2. AnswerFinder

    AnswerFinder

    Joined:
    May 2, 2015
    Posts:
    7
    @tzm Hi! The same for us. We still have this crash randomly in our users. This is the largest percentage of crashes and is in first place in terms of number. Did you any success with it? Please help.

    Here is info from Firebase:
    Unity Version: 2020.3.34f1(LTS)
    iOS: 15.1.0, 15.4.1, 15.6.0, 15.6.1
    Orientation: Portrait
    Devices: iPhone X, iPhone 7 Plus, iPhone 8 Plus, iPhone XR

    Crashed: UnityGfxDeviceWorker
    0 libsystem_kernel.dylib 0x6bbc __pthread_kill + 8
    1 libsystem_pthread.dylib 0xd854 pthread_kill + 208
    2 libsystem_c.dylib 0x1f6ac abort + 124
    3 IOGPU 0x8358 -[IOGPUMetalTextureLayout initWithDevice:descriptor:] + 394
    4 AGXMetalA11 0x3c338 (Missing UUID e7f29e6b976f32d6a9618f648881b262)
    5 AGXMetalA11 0xcea7c (Missing UUID e7f29e6b976f32d6a9618f648881b262)
    6 AGXMetalA11 0xc4dac (Missing UUID e7f29e6b976f32d6a9618f648881b262)
    7 AGXMetalA11 0x26300 (Missing UUID e7f29e6b976f32d6a9618f648881b262)
    8 UnityFramework 0xd78068 MetalContext::CreateNewEncoder(MTLRenderPassDescriptor*) + 408 (MetalContext.mm:408)
    9 UnityFramework 0xd59184 metal::prepareRenderTargetIfNeeded(GfxDeviceMetalBase&) + 706 (FrameBufferMetal.mm:706)
    10 UnityFramework 0xd5a744 GfxDeviceMetalBase::BeforeDrawCall() + 496 (GfxDeviceMetal.mm:496)
    11 UnityFramework 0xd5aea8 GfxDeviceMetalBase::CommonDrawSetup(VertexDeclarationMetal*, GfxBuffer* const*, unsigned int const*, int, GfxPrimitiveType, bool) + 128 (MetalContext.h:128)
    12 UnityFramework 0xd607c8 GfxDeviceMetalBase::DrawBufferRangesPlatform(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long, int) + 2717 (GfxDeviceMetal.mm:2717)
    13 UnityFramework 0x927194 SinglePassStereoSupportExt::DrawBuffersStereo(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long) + 512 (StereoSupportExt.cpp:512)
    14 UnityFramework 0xd5b1cc GfxDeviceMetalBase::DrawBuffers(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*) + 743 (GfxDeviceMetal.mm:743)
    15 UnityFramework 0x992278 DynamicVBO::DrawChunk(VertexDeclaration*) + 462 (DynamicVBO.cpp:462)
    16 UnityFramework 0xcfd990 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 1003 (GfxDeviceWorker.cpp:1003)
    17 UnityFramework 0xd669d0 GfxDeviceWorkerAutoreleasePoolProxy + 5300 (GfxDeviceMetal.mm:5300)
    18 UnityFramework 0xcff6c4 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) + 389 (GfxDeviceWorker.cpp:389)
    19 UnityFramework 0xcf75d8 GfxDeviceWorker::RunGfxDeviceWorker(void*) + 353 (GfxDeviceWorker.cpp:353)
    20 UnityFramework 0xa62c40 Thread::RunThreadWrapper(void*) + 81 (Thread.cpp:81)
    21 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    22 libsystem_pthread.dylib 0x1948 thread_start + 8

    com.apple.main-thread
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x33b18 _dispatch_sema4_wait$VARIANT$armv81 + 24
    2 libdispatch.dylib 0x34148 _dispatch_semaphore_wait_slow + 128
    3 UnityFramework 0xe4b430 UnityClassic::Baselib_SystemSemaphore_Acquire(UnityClassic::Baselib_SystemSemaphore_Handle) + 36 (Baselib_SystemSemaphore_DarwinApi.inl.h:36)
    4 UnityFramework 0x80dc68 GfxDeviceClient::WaitForPendingPresent() + 5184 (GfxDeviceClient.cpp:5184)
    5 UnityFramework 0x80db6c GfxDeviceClient::BeginFrame() + 3019 (GfxDeviceClient.cpp:3019)
    6 UnityFramework 0x9e243c PlayerRender(bool) + 982 (Player.cpp:982)
    7 UnityFramework 0x9dd9fc ExecutePlayerLoop(NativePlayerLoopSystem*) + 383 (PlayerLoop.cpp:383)
    8 UnityFramework 0x9dda3c ExecutePlayerLoop(NativePlayerLoopSystem*) + 407 (PlayerLoop.cpp:407)
    9 UnityFramework 0x9ddd08 PlayerLoop() + 514 (PlayerLoop.cpp:514)
    10 UnityFramework 0xd9ba1c UnityPlayerLoopImpl(bool) + 328 (LibEntryPoint.mm:328)
    11 UnityFramework 0x1879c -[UnityAppController(Rendering) repaint] + 233 (UnityAppController+Rendering.mm:233)
    12 UnityFramework 0x18704 -[UnityAppController(Rendering) repaintDisplayLink] + 72 (UnityAppController+Rendering.mm:72)
    13 QuartzCore 0x101e0 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 760
    14 QuartzCore 0x16d68 display_timer_callback(__CFMachPort*, void*, long, void*) + 368
    15 CoreFoundation 0xaaec __CFMachPortPerform + 172
    16 CoreFoundation 0x4ad24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
    17 CoreFoundation 0x4e320 __CFRunLoopDoSource1 + 596
    18 CoreFoundation 0xb550 __CFRunLoopRun + 2392
    19 CoreFoundation 0x1e240 CFRunLoopRunSpecific + 572
    20 GraphicsServices 0x1988 GSEventRunModal + 160
    21 UIKitCore 0x4e541c -[UIApplication _run] + 1080
    22 UIKitCore 0x27eb88 UIApplicationMain + 336
    23 UnityFramework 0x181d8 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
    24 SolitaireCash 0x7c80 main + 32 (main.mm:32)
    25 ??? 0x1028f03d0 (Missing)
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0xfd0 __semwait_signal + 8
    1 libsystem_c.dylib 0x4a40 nanosleep + 216
    2 libsystem_c.dylib 0x18710 sleep + 48
    3 Sentry 0x3535c monitorCachedData + 628
    4 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    5 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    SentryCrash Exception Handler (Secondary)
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 libsystem_kernel.dylib 0xc810 thread_suspend + 92
    3 Sentry 0x27cfc handleExceptions + 124
    4 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    5 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    SentryCrash Exception Handler (Primary)
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 Sentry 0x27d28 handleExceptions + 168
    3 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    4 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    com.apple.uikit.eventfetch-thread
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 CoreFoundation 0x6d78 __CFRunLoopServiceMachPort + 368
    3 CoreFoundation 0xb080 __CFRunLoopRun + 1160
    4 CoreFoundation 0x1e240 CFRunLoopRunSpecific + 572
    5 Foundation 0x17efc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232
    6 Foundation 0x57010 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
    7 UIKitCore 0x46486c -[UIEventFetcher threadMain] + 512
    8 Foundation 0x64c0c __NSThread__start__ + 792
    9 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    10 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    GC Finalizer
    0 libsystem_kernel.dylib 0x1484 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x2860 _pthread_cond_wait$VARIANT$armv81 + 1224
    2 UnityFramework 0x11dfc94 il2cpp::eek:s::posix::posixWaitObject::Wait(unsigned int, bool) + 120 (PosixWaitObject.cpp:120)
    3 UnityFramework 0x11b2454 il2cpp::gc::FinalizerThread(void*) + 431 (BoehmGC.cpp:431)
    4 UnityFramework 0x11d6874 il2cpp::eek:s::Thread::RunWrapper(void*) + 183 (Thread.cpp:183)
    5 UnityFramework 0x11d8bf4 il2cpp::eek:s::ThreadImpl::ThreadStartWrapper(void*) + 127 (ThreadImpl.cpp:127)
    6 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    7 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Job.Worker 0-4 AND Background Job.Worker 1-15
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x33b18 _dispatch_sema4_wait$VARIANT$armv81 + 24
    2 libdispatch.dylib 0x34148 _dispatch_semaphore_wait_slow + 128
    3 UnityFramework 0xe4b430 UnityClassic::Baselib_SystemSemaphore_Acquire(UnityClassic::Baselib_SystemSemaphore_Handle) + 36 (Baselib_SystemSemaphore_DarwinApi.inl.h:36)
    4 UnityFramework 0x9bfdec JobQueue::processJobs(JobQueue::ThreadInfo*, void*) + 33 (Baselib_CappedSemaphore_SemaphoreBased.inl.h:33)
    5 UnityFramework 0x9bf304 JobQueue::WorkLoop(void*) + 1034 (JobQueue.cpp:1034)
    6 UnityFramework 0xa62c40 Thread::RunThreadWrapper(void*) + 81 (Thread.cpp:81)
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    BatchDeleteObjects and Loading.AsyncRead
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x33b18 _dispatch_sema4_wait$VARIANT$armv81 + 24
    2 libdispatch.dylib 0x34148 _dispatch_semaphore_wait_slow + 128
    3 UnityFramework 0xe4b430 UnityClassic::Baselib_SystemSemaphore_Acquire(UnityClassic::Baselib_SystemSemaphore_Handle) + 36 (Baselib_SystemSemaphore_DarwinApi.inl.h:36)
    4 UnityFramework 0xa6422c ThreadedStreamBuffer::HandleOutOfBufferToReadFrom(ThreadedStreamBuffer::DataOffsets) + 41 (Baselib_Semaphore_SemaphoreBased.inl.h:41)
    5 UnityFramework 0x9dc300 BatchDeleteStep2Threaded(void*) + 93 (BatchDeleteObjects.cpp:93)
    6 UnityFramework 0xa62c40 Thread::RunThreadWrapper(void*) + 81 (Thread.cpp:81)
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    AVAudioSession Notify Thread
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 CoreFoundation 0x6d78 __CFRunLoopServiceMachPort + 368
    3 CoreFoundation 0xb080 __CFRunLoopRun + 1160
    4 CoreFoundation 0x1e240 CFRunLoopRunSpecific + 572
    5 AudioSession 0x6478 CADeprecated::GenericRunLoopThread::Entry(void*) + 156
    6 AudioSession 0xf7c8 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 88
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 UnityFramework 0x114de9c FMOD_OS_Semaphore_Wait(FMOD_OS_SEMAPHORE*) + 3125552
    2 UnityFramework 0x116a4c8 FMOD::Thread::callback(void*) + 3241820
    3 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    4 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    AURemoteIO::IOThread
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 libEmbeddedSystemAUs.dylib 0x2b98 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::eek:s_workgroup const&)::'lambda'(), std::__1::tuple<> > >(void*) + 532
    3 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    4 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0xfd0 __semwait_signal + 8
    1 libsystem_c.dylib 0x4a40 nanosleep + 216
    2 libsystem_c.dylib 0x5718 usleep + 64
    3 UnityFramework 0x114da64 FMOD_OS_Time_Sleep(unsigned int) + 3124472
    4 UnityFramework 0x116a534 FMOD::Thread::callback(void*) + 3241928
    5 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    6 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    com.apple.NSURLConnectionLoader
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 CoreFoundation 0x6d78 __CFRunLoopServiceMachPort + 368
    3 CoreFoundation 0xb080 __CFRunLoopRun + 1160
    4 CoreFoundation 0x1e240 CFRunLoopRunSpecific + 572
    5 CFNetwork 0x247b08 _CFURLStorageSessionDisableCache + 50420
    6 Foundation 0x64c0c __NSThread__start__ + 792
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    com.apple.CoreMotion.MotionThread
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 CoreFoundation 0x6d78 __CFRunLoopServiceMachPort + 368
    3 CoreFoundation 0xb080 __CFRunLoopRun + 1160
    4 CoreFoundation 0x1e240 CFRunLoopRunSpecific + 572
    5 CoreFoundation 0x993cc CFRunLoopRun + 60
    6 CoreMotion 0x11ec0 CLMotionActivity::isTypeInVehicle(CLMotionActivity::Type) + 21528
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Loading.PreloadManager
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x33b18 _dispatch_sema4_wait$VARIANT$armv81 + 24
    2 libdispatch.dylib 0x34148 _dispatch_semaphore_wait_slow + 128
    3 UnityFramework 0xe4b430 UnityClassic::Baselib_SystemSemaphore_Acquire(UnityClassic::Baselib_SystemSemaphore_Handle) + 36 (Baselib_SystemSemaphore_DarwinApi.inl.h:36)
    4 UnityFramework 0x9ebe08 PreloadManager::Run() + 41 (Baselib_Semaphore_SemaphoreBased.inl.h:41)
    5 UnityFramework 0x9ebd54 PreloadManager::Run(void*) + 183 (PreloadManager.cpp:183)
    6 UnityFramework 0xa62c40 Thread::RunThreadWrapper(void*) + 81 (Thread.cpp:81)
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    CloudJob.Worker 0
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x33b18 _dispatch_sema4_wait$VARIANT$armv81 + 24
    2 libdispatch.dylib 0x34148 _dispatch_semaphore_wait_slow + 128
    3 UnityFramework 0xe4b430 UnityClassic::Baselib_SystemSemaphore_Acquire(UnityClassic::Baselib_SystemSemaphore_Handle) + 36 (Baselib_SystemSemaphore_DarwinApi.inl.h:36)
    4 UnityFramework 0x9bfdec JobQueue::processJobs(JobQueue::ThreadInfo*, void*) + 33 (Baselib_CappedSemaphore_SemaphoreBased.inl.h:33)
    5 UnityFramework 0x9bf304 JobQueue::WorkLoop(void*) + 1034 (JobQueue.cpp:1034)
    6 UnityFramework 0xa62c40 Thread::RunThreadWrapper(void*) + 81 (Thread.cpp:81)
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Timer-Scheduler
    0 libsystem_kernel.dylib 0x1484 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x288c _pthread_cond_wait$VARIANT$armv81 + 1268
    2 UnityFramework 0x11dfc30 il2cpp::eek:s::posix::posixWaitObject::Wait(unsigned int, bool) + 153 (PosixWaitObject.cpp:153)
    3 UnityFramework 0x11c9f4c il2cpp::icalls::mscorlib::System::Threading::WaitHandle::Wait_internal(void**, int, bool, int) + 91 (WaitHandle.cpp:91)
    4 UnityFramework 0x27cd2bc flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4512043708
    5 UnityFramework 0x27cd188 flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4512043400
    6 UnityFramework 0x2801a70 flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4512258672
    7 UnityFramework 0x2775dfc flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4511686140
    8 UnityFramework 0x27b7348 flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4511953736
    9 UnityFramework 0x285fd70 flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4512644464
    10 UnityFramework 0x2775dfc flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 4511686140
    11 UnityFramework 0x10e654 RuntimeInvoker_TrueVoid_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5(void (*)(), MethodInfo const*, void*, void**) + 4471416404 (Il2CppInvokerTable.cpp:4471416404)
    12 UnityFramework 0x12173d4 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 576 (Runtime.cpp:576)
    13 UnityFramework 0x11c9998 il2cpp::icalls::mscorlib::System::Threading::ThreadStart(void*) + 158 (Thread.cpp:158)
    14 UnityFramework 0x11d6874 il2cpp::eek:s::Thread::RunWrapper(void*) + 183 (Thread.cpp:183)
    15 UnityFramework 0x11d8bf4 il2cpp::eek:s::ThreadImpl::ThreadStartWrapper(void*) + 127 (ThreadImpl.cpp:127)
    16 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    17 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x3e30 poll + 8
    1 UnityFramework 0x11d88f0 il2cpp::eek:s::posix::poll(pollfd*, int, int) + 26 (PosixHelpers.cpp:26)
    2 UnityFramework 0x11db9a0 il2cpp::eek:s::SocketImpl::poll(std::__1::vector<il2cpp::eek:s::pollRequest, std::__1::allocator<il2cpp::eek:s::pollRequest> >&, int, int, int*, int*) + 2502 (SocketImpl.cpp:2502)
    3 UnityFramework 0x11d5698 poll_event_wait(void (*)(int, int, void*), void*) + 157 (threadpool-ms-io-poll.cpp:157)
    4 UnityFramework 0x122be44 selector_thread(void*) + 476 (threadpool-ms-io.cpp:476)
    5 UnityFramework 0x1206bac il2cpp::vm::ThreadStart(void*) + 727 (Thread.cpp:727)
    6 UnityFramework 0x11d6874 il2cpp::eek:s::Thread::RunWrapper(void*) + 183 (Thread.cpp:183)
    7 UnityFramework 0x11d8bf4 il2cpp::eek:s::ThreadImpl::ThreadStartWrapper(void*) + 127 (ThreadImpl.cpp:127)
    8 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    9 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1484 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x2860 _pthread_cond_wait$VARIANT$armv81 + 1224
    2 UnityFramework 0x10eff5c Geo::Impl::WaitForMultipleObjects(unsigned int, Geo::Impl::t_HANDLE**, bool, int) + 156 (GeoEvent.cpp:156)
    3 UnityFramework 0x10f0158 Geo::GeoEvent::Wait(unsigned int) + 344 (GeoEvent.cpp:344)
    4 UnityFramework 0x10deea0 Enlighten::MultithreadCpuWorkerCommon::CommandThreadFunction(void*) + 1255 (MultithreadCpuWorker.cpp:1255)
    5 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    6 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    EnlightenWorker
    0 libsystem_kernel.dylib 0xae8 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x33b18 _dispatch_sema4_wait$VARIANT$armv81 + 24
    2 libdispatch.dylib 0x34148 _dispatch_semaphore_wait_slow + 128
    3 UnityFramework 0xe4b430 UnityClassic::Baselib_SystemSemaphore_Acquire(UnityClassic::Baselib_SystemSemaphore_Handle) + 36 (Baselib_SystemSemaphore_DarwinApi.inl.h:36)
    4 UnityFramework 0x838640 TUpdateFunction(void*) + 41 (Baselib_Semaphore_SemaphoreBased.inl.h:41)
    5 UnityFramework 0xa62c40 Thread::RunThreadWrapper(void*) + 81 (Thread.cpp:81)
    6 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    7 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    com.google.firebase.crashlytics.MachExceptionServer
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 FirebaseCrashlytics 0x19054 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
    3 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    4 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0xfd0 __semwait_signal + 8
    1 libsystem_c.dylib 0x4a40 nanosleep + 216
    2 libsystem_c.dylib 0x5718 usleep + 64
    3 UnityFramework 0x114da64 FMOD_OS_Time_Sleep(unsigned int) + 3124472
    4 UnityFramework 0x116a534 FMOD::Thread::callback(void*) + 3241928
    5 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    6 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1014 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x1e5c _pthread_wqthread + 360
    2 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    Thread
    0 libsystem_pthread.dylib 0x1934 start_wqthread + 270
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1014 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x1e5c _pthread_wqthread + 360
    2 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1484 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x288c _pthread_cond_wait$VARIANT$armv81 + 1268
    2 UnityFramework 0x11dfc30 il2cpp::eek:s::posix::posixWaitObject::Wait(unsigned int, bool) + 153 (PosixWaitObject.cpp:153)
    3 UnityFramework 0x11d4a04 monitor_thread(void*) + 156 (ThreadPoolMonitorThread.cpp:156)
    4 UnityFramework 0x1206bac il2cpp::vm::ThreadStart(void*) + 727 (Thread.cpp:727)
    5 UnityFramework 0x11d6874 il2cpp::eek:s::Thread::RunWrapper(void*) + 183 (Thread.cpp:183)
    6 UnityFramework 0x11d8bf4 il2cpp::eek:s::ThreadImpl::ThreadStartWrapper(void*) + 127 (ThreadImpl.cpp:127)
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    IL2CPP Threadpool worker
    0 libsystem_kernel.dylib 0x1484 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x2860 _pthread_cond_wait$VARIANT$armv81 + 1224
    2 UnityFramework 0x11dedac il2cpp::eek:s::ConditionVariableImpl::TimedWait(il2cpp::eek:s::FastMutexImpl*, unsigned int) + 51 (ConditionVariableImpl.cpp:51)
    3 UnityFramework 0x11d529c worker_thread(void*) + 86 (ThreadPoolWorkerThread.cpp:86)
    4 UnityFramework 0x1206bac il2cpp::vm::ThreadStart(void*) + 727 (Thread.cpp:727)
    5 UnityFramework 0x11d6874 il2cpp::eek:s::Thread::RunWrapper(void*) + 183 (Thread.cpp:183)
    6 UnityFramework 0x11d8bf4 il2cpp::eek:s::ThreadImpl::ThreadStartWrapper(void*) + 127 (ThreadImpl.cpp:127)
    7 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    8 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    JavaScriptCore libpas scavenger
    0 libsystem_kernel.dylib 0x1484 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x2860 _pthread_cond_wait$VARIANT$armv81 + 1224
    2 JavaScriptCore 0xe0ef8 scavenger_thread_main + 960
    3 libsystem_pthread.dylib 0x3348 _pthread_start + 116
    4 libsystem_pthread.dylib 0x1948 thread_start + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1014 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x1e5c _pthread_wqthread + 360
    2 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    Thread
    0 libsystem_pthread.dylib 0x1934 start_wqthread + 270
    ----------------------------------------------
    com.Metal.CommandQueueDispatch
    0 libsystem_kernel.dylib 0xaac mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x107c mach_msg + 72
    2 IOKit 0x35f4 io_connect_method + 508
    3 IOKit 0x29a0 IOConnectCallMethod + 172
    4 IOGPU 0x62d0 IOGPUCommandQueueSubmitCommandBuffers + 140
    5 IOGPU 0x65ec -[IOGPUMetalCommandQueue _submitCommandBuffers:count:] + 744
    6 IOGPU 0x7e80 -[IOGPUMetalCommandQueue submitCommandBuffers:count:] + 84
    7 Metal 0x13190 -[_MTLCommandQueue _submitAvailableCommandBuffers] + 680
    8 libdispatch.dylib 0x64094 _dispatch_client_callout + 16
    9 libdispatch.dylib 0x3bab8 _dispatch_continuation_pop$VARIANT$armv81 + 432
    10 libdispatch.dylib 0x4d16c _dispatch_source_invoke$VARIANT$armv81 + 1560
    11 libdispatch.dylib 0x3f380 _dispatch_lane_serial_drain$VARIANT$armv81 + 308
    12 libdispatch.dylib 0x3ff44 _dispatch_lane_invoke$VARIANT$armv81 + 388
    13 libdispatch.dylib 0x498e0 _dispatch_workloop_worker_thread + 608
    14 libsystem_pthread.dylib 0x1e10 _pthread_wqthread + 284
    15 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    com.apple.libtrace.state.block-list
    0 libsystem_kernel.dylib 0x1688 __ulock_wait + 8
    1 libdispatch.dylib 0x33f1c _dlock_wait + 52
    2 libdispatch.dylib 0x33d04 _dispatch_thread_event_wait_slow$VARIANT$armv81 + 52
    3 libdispatch.dylib 0x46704 __DISPATCH_WAIT_FOR_QUEUE__ + 328
    4 libdispatch.dylib 0x46310 _dispatch_sync_f_slow + 136
    5 libsystem_trace.dylib 0x9d40 ___os_state_request_for_self_block_invoke + 348
    6 libdispatch.dylib 0x63094 _dispatch_call_block_and_release + 24
    7 libdispatch.dylib 0x64094 _dispatch_client_callout + 16
    8 libdispatch.dylib 0x3f4a4 _dispatch_lane_serial_drain$VARIANT$armv81 + 600
    9 libdispatch.dylib 0x3ff78 _dispatch_lane_invoke$VARIANT$armv81 + 440
    10 libdispatch.dylib 0x498e0 _dispatch_workloop_worker_thread + 608
    11 libsystem_pthread.dylib 0x1e10 _pthread_wqthread + 284
    12 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    Thread
    0 libsystem_pthread.dylib 0x1934 start_wqthread + 270
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1014 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x1e5c _pthread_wqthread + 360
    2 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1014 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x1e5c _pthread_wqthread + 360
    2 libsystem_pthread.dylib 0x193c start_wqthread + 8
    ----------------------------------------------
    Thread
    0 libsystem_kernel.dylib 0x1014 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x1e5c _pthread_wqthread + 360
    2 libsystem_pthread.dylib 0x193c start_wqthread + 8
     
  3. zhao_A

    zhao_A

    Joined:
    Aug 28, 2020
    Posts:
    1
    @tzm Same problem, did you solved it ?
     
  4. roointan

    roointan

    Joined:
    Jan 8, 2018
    Posts:
    78
    We have this problem too
     
  5. voez_cafe_kevinzhu

    voez_cafe_kevinzhu

    Joined:
    Sep 30, 2020
    Posts:
    1
    @tzm Same problem, did you solved it ?
     
  6. Coco-Dev2

    Coco-Dev2

    Joined:
    Sep 17, 2021
    Posts:
    1
  7. dlchalkshooter

    dlchalkshooter

    Joined:
    Jun 2, 2023
    Posts:
    1