游戏进入后台或者从后台回来,调用applicationWillTerminate报~DescriptorSet()崩溃,cc::gfx::DescriptorSet::~DescriptorSet()
Thread 14 Crashed:
0 libsystem_kernel.dylib 0x00000002494550cc __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001faf7a810 pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x00000001a9f4fff4 __abort + 132 (abort.c:163)
3 libsystem_c.dylib 0x00000001a9f4ff70 abort + 136 (abort.c:130)
4 libsystem_malloc.dylib 0x00000001a9b04a68 malloc_vreport + 892 (malloc_printf.c:251)
5 libsystem_malloc.dylib 0x00000001a9b046e0 malloc_report + 64 (malloc_printf.c:290)
6 libsystem_malloc.dylib 0x00000001a9af8718 ___BUG_IN_CLIENT_OF_LIBMALLOC_POINTER_BEING_FREED_WAS_NOT_ALLOCATED + 76 (malloc_common.c:179)
7 rollgame-mobile 0x00000001030eafd0 cc::gfx::DescriptorSet::~DescriptorSet() + 72
8 rollgame-mobile 0x00000001030f8d30 cc::gfx::CCMTLDescriptorSet::~CCMTLDescriptorSet() + 28
9 rollgame-mobile 0x00000001030e0a90 cc::gfx::DescriptorSetAgent::~DescriptorSetAgent()::DescriptorSetDestruct::execute() + 36
10 rollgame-mobile 0x0000000102efbf28 cc::MessageQueue::consumerThreadLoop() + 280
11 rollgame-mobile 0x0000000102efdc94 void* std::__1::__thread_proxy[abi:ne200100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (cc::MessageQueue::*)() noexc… + 72
12 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
13 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
完整堆栈
Date/Time: 2026-01-26 23
44.7732 +0800
Launch Time: 2026-01-26 22:36:34.8965 +0800
OS Version: iPhone OS 26.2 (23C55)
Release Type: User
Baseband Version: 3.20.03
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: rollgame-mobile [31887]
Triggered by Thread: 14
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x000000024944ac50 semaphore_wait_trap + 8
1 rollgame-mobile 0x0000000102efdd68 cc::Semaphore::wait() + 16
2 rollgame-mobile 0x0000000102efbd5c cc::MessageQueue::kickAndWait() + 168
3 rollgame-mobile 0x00000001030ddfc0 cc::gfx::CommandBufferAgent::destroyMessageQueue() + 32
4 rollgame-mobile 0x00000001030e1c64 cc::gfx::DeviceAgent::doDestroy() + 52
5 rollgame-mobile 0x00000001030ec008 cc::gfx::Device::destroy() + 304
6 rollgame-mobile 0x000000010301a058 cc::Engine::destroy() + 200
7 rollgame-mobile 0x0000000103019e98 cc::Engine::~Engine() + 32
8 rollgame-mobile 0x0000000102ed17ac cc::CocosApplication::~CocosApplication() + 192
9 rollgame-mobile 0x0000000102ecedd8 cocos_destroy() + 108
10 rollgame-mobile 0x00000001030b14a4 -[AppDelegateBridge applicationWillTerminate:] + 48
11 rollgame-mobile 0x0000000102e04a00 -[AppDelegate applicationWillTerminate:] + 84 (AppDelegate.mm:118)
12 UIKitCore 0x00000001a5411ae0 -[UIApplication _terminateWithStatus:] + 196 (UIApplication.m:7560)
13 UIKitCore 0x00000001a4a16348 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 112 (_UISceneLifecycleMultiplexer.m:823)
14 UIKitCore 0x00000001a4a160e8 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 164 (_UISceneLifecycleMultiplexer.m:486)
15 UIKitCore 0x00000001a540aff0 -[UIApplication workspaceShouldExit:withTransitionContext:] + 164 (UIApplication.m:4246)
16 FrontBoardServices 0x00000001be7b05b0 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 72 (FBSWorkspaceScenesClient.m:805)
17 FrontBoardServices 0x00000001be791f00 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 (FBSWorkspace.m:579)
18 libdispatch.dylib 0x00000001d71d17fc _dispatch_client_callout + 16 (client_callout.mm:85)
19 libdispatch.dylib 0x00000001d71bcbb4 _dispatch_block_invoke_direct + 284 (queue.c:539)
20 BoardServices 0x00000001b5e781d4 BSSERVICEMAINRUNLOOPQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 52 (BSServiceQueue.m:307)
21 BoardServices 0x00000001b5e78054 BSServiceMainRunLoopSourceHandler + 224 (BSServiceQueue.m:215)
22 CoreFoundation 0x000000019e6f9f10 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 (CFRunLoop.c:2021)
23 CoreFoundation 0x000000019e6f9e84 __CFRunLoopDoSource0 + 172 (CFRunLoop.c:2065)
24 CoreFoundation 0x000000019e6d7acc __CFRunLoopDoSources0 + 232 (CFRunLoop.c:2102)
25 CoreFoundation 0x000000019e6ae6d8 __CFRunLoopRun + 820 (CFRunLoop.c:2983)
26 CoreFoundation 0x000000019e6ada6c _CFRunLoopRunSpecificWithOptions + 532 (CFRunLoop.c:3462)
27 GraphicsServices 0x00000002402dc498 GSEventRunModal + 120 (GSEvent.c:2049)
28 UIKitCore 0x00000001a4086df8 -[UIApplication _run] + 792 (UIApplication.m:3904)
29 UIKitCore 0x00000001a402fe54 UIApplicationMain + 336 (UIApplication.m:5579)
30 rollgame-mobile 0x0000000102e11154 main + 132 (main.mm:38)
31 dyld 0x000000019b69ae28 start + 7116 (dyldMain.cpp:1477)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x000000024944acd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x000000024944e2f8 mach_msg2_internal + 76 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x000000024944e214 mach_msg_overwrite + 428 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x000000024944e05c mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019e6d7868 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2650)
5 CoreFoundation 0x000000019e6ae848 __CFRunLoopRun + 1188 (CFRunLoop.c:3035)
6 CoreFoundation 0x000000019e6ada6c _CFRunLoopRunSpecificWithOptions + 532 (CFRunLoop.c:3462)
7 Foundation 0x000000019c6a5068 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:375)
8 Foundation 0x000000019c6a5240 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:422)
9 UIKitCore 0x00000001a405c094 -[UIEventFetcher threadMain] + 408 (UIEventFetcher.m:1333)
10 Foundation 0x000000019bd3e21c NSThread__start + 732 (NSThread.m:997)
11 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
12 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x000000024944acd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x000000024944e2f8 mach_msg2_internal + 76 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x000000024944e214 mach_msg_overwrite + 428 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x000000024944e05c mach_msg + 24 (mach_msg.c:323)
4 rollgame-mobile 0x0000000102e24028 FIRCLSMachExceptionReadMessage + 56 (FIRCLSMachException.c:196)
5 rollgame-mobile 0x0000000102e24028 FIRCLSMachExceptionServer + 104 (FIRCLSMachException.c:172)
6 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
7 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 rollgame-mobile 0x00000001038f4700 v8::platform::DelayedTaskQueue::GetNext() + 592
3 rollgame-mobile 0x00000001038f4158 v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 44
4 rollgame-mobile 0x00000001038ede84 v8::base::ThreadEntry(void*) + 104
5 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 rollgame-mobile 0x00000001038f4700 v8::platform::DelayedTaskQueue::GetNext() + 592
3 rollgame-mobile 0x00000001038f4158 v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 44
4 rollgame-mobile 0x00000001038ede84 v8::base::ThreadEntry(void*) + 104
5 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 rollgame-mobile 0x00000001038f4700 v8::platform::DelayedTaskQueue::GetNext() + 592
3 rollgame-mobile 0x00000001038f4158 v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 44
4 rollgame-mobile 0x00000001038ede84 v8::base::ThreadEntry(void*) + 104
5 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 rollgame-mobile 0x00000001038f4700 v8::platform::DelayedTaskQueue::GetNext() + 592
3 rollgame-mobile 0x00000001038f4158 v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 44
4 rollgame-mobile 0x00000001038ede84 v8::base::ThreadEntry(void*) + 104
5 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 7 name:
Thread 7:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 rollgame-mobile 0x00000001038f4700 v8::platform::DelayedTaskQueue::GetNext() + 592
3 rollgame-mobile 0x00000001038f4158 v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 44
4 rollgame-mobile 0x00000001038ede84 v8::base::ThreadEntry(void*) + 104
5 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 8:
0 libsystem_kernel.dylib 0x000000024944ac50 semaphore_wait_trap + 8
1 rollgame-mobile 0x0000000103fe7e90 uv_sem_wait + 24
2 rollgame-mobile 0x0000000102f157c0 node::inspector::(anonymous namespace)::StartIoThreadMain(void*) + 96
3 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
4 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x000000024944acd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x000000024944e2f8 mach_msg2_internal + 76 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x000000024944e214 mach_msg_overwrite + 428 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x000000024944e05c mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x000000019e6d7868 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2650)
5 CoreFoundation 0x000000019e6ae848 __CFRunLoopRun + 1188 (CFRunLoop.c:3035)
6 CoreFoundation 0x000000019e6ada6c _CFRunLoopRunSpecificWithOptions + 532 (CFRunLoop.c:3462)
7 CFNetwork 0x00000001b34c8d20 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CoreSchedulingSet.mm:1473)
8 Foundation 0x000000019bd3e21c NSThread__start + 732 (NSThread.m:997)
9 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
10 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 10:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ad917704 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 32 (condition_variable.cpp:30)
3 rollgame-mobile 0x0000000102ee35bc void* std::__1::__thread_proxy[abi:ne200100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, cc::LegacyThreadPool::setThread(in… + 324
4 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 11:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ad917704 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 32 (condition_variable.cpp:30)
3 rollgame-mobile 0x0000000102ee35bc void* std::__1::__thread_proxy[abi:ne200100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, cc::LegacyThreadPool::setThread(in… + 324
4 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 12:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ad917704 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 32 (condition_variable.cpp:30)
3 rollgame-mobile 0x0000000102ee35bc void* std::__1::__thread_proxy[abi:ne200100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, cc::LegacyThreadPool::setThread(in… + 324
4 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 13:
0 libsystem_kernel.dylib 0x00000002494505d4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001faf75b58 _pthread_cond_wait + 984 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001ad917704 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 32 (condition_variable.cpp:30)
3 rollgame-mobile 0x0000000102ee35bc void* std::__1::__thread_proxy[abi:ne200100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, cc::LegacyThreadPool::setThread(in… + 324
4 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8
Thread 14 Crashed:
0 libsystem_kernel.dylib 0x00000002494550cc __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001faf7a810 pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x00000001a9f4fff4 __abort + 132 (abort.c:163)
3 libsystem_c.dylib 0x00000001a9f4ff70 abort + 136 (abort.c:130)
4 libsystem_malloc.dylib 0x00000001a9b04a68 malloc_vreport + 892 (malloc_printf.c:251)
5 libsystem_malloc.dylib 0x00000001a9b046e0 malloc_report + 64 (malloc_printf.c:290)
6 libsystem_malloc.dylib 0x00000001a9af8718 ___BUG_IN_CLIENT_OF_LIBMALLOC_POINTER_BEING_FREED_WAS_NOT_ALLOCATED + 76 (malloc_common.c:179)
7 rollgame-mobile 0x00000001030eafd0 cc::gfx::DescriptorSet::~DescriptorSet() + 72
8 rollgame-mobile 0x00000001030f8d30 cc::gfx::CCMTLDescriptorSet::~CCMTLDescriptorSet() + 28
9 rollgame-mobile 0x00000001030e0a90 cc::gfx::DescriptorSetAgent::~DescriptorSetAgent()::DescriptorSetDestruct::execute() + 36
10 rollgame-mobile 0x0000000102efbf28 cc::MessageQueue::consumerThreadLoop() + 280
11 rollgame-mobile 0x0000000102efdc94 void* std::__1::__thread_proxy[abi:ne200100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (cc::MessageQueue::*)() noexc… + 72
12 libsystem_pthread.dylib 0x00000001faf7744c _pthread_start + 136 (pthread.c:931)
13 libsystem_pthread.dylib 0x00000001faf738cc thread_start + 8