Creator 版本号:1.4.2
运行时目标平台:iOS
情况描述:
1.应用正常启动后,切到后台;
2.一段时间后(几十秒或几分钟长短不等)再切回前景,应用直接闪退,发生概率较高,不是每次都闪退。
详细的崩溃日志:
Incident Identifier: 5EE8AB41-4A54-402A-B644-E6722917FCC5
CrashReporter Key: 060a63bcb52d920f9cc09e7d057601080968c53f
Hardware Model: iPhone8,2
Process: xxxxxxxxxxxx [932]
Path: /private/var/containers/Bundle/Application/7A40FCE3-C954-4710-ADEE-60278631FDA2/xxxxxxxxxxxxx/xxxxxxxxxxxx
Identifier: xxx.xxx.xxx
Version: 1 (1.0.22)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: xxx.xxx.xxx [727]
Date/Time: 2017-04-11 16:25:39.2286 +0800
Launch Time: 2017-04-11 16:22:00.9478 +0800
OS Version: iPhone OS 10.3.1 (14E304)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000185931014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001859fb334 pthread_kill + 112
2 libsystem_c.dylib 0x00000001858a59c4 abort + 140
3 libsystem_malloc.dylib 0x0000000185967cb4 szone_size + 0
4 xxxxxxxxxxx 0x0000000100ace134 std::__1::__hash_table<std::__1::__hash_value_type<void*, js_proxy*>, std::__1::__unordered_map_hasher<void*, std::__1::__hash_value_type<void*, js_proxy*>, std::__1::hash<void*>, true>, std::__1::__unordered_map_equal<void*, std::__1::__hash_value_type<void*, js_proxy*>, std::__1::equal_to<void*>, true>, std::__1::allocator<std::__1::__hash_value_type<void*, js_proxy*> > >::__deallocate(std::__1::__hash_node_base<std::__1::__hash_node<std::__1::__hash_value_type<void*, js_proxy*>, void*>>) (__hash_table:1515)
5 xxxxxxxxxxx 0x0000000100ad3a1c std::__1::__hash_table<std::__1::__hash_value_type<void*, js_proxy*>, std::__1::__unordered_map_hasher<void*, std::__1::__hash_value_type<void*, js_proxy*>, std::__1::hash<void*>, true>, std::__1::__unordered_map_equal<void*, std::__1::__hash_value_type<void*, js_proxy*>, std::__1::equal_to<void*>, true>, std::__1::allocator<std::__1::__hash_value_type<void*, js_proxy*> > >::clear() (__hash_table:1763)
6 xxxxxxxxxxx 0x0000000100abc514 ScriptingCore::removeAllRoots(JSContext*) (ScriptingCore.cpp:576)
7 xxxxxxxxxxx 0x0000000100abf504 ScriptingCore::cleanup() (ScriptingCore.cpp:890)
8 xxxxxxxxxxx 0x0000000100abfe2c ScriptingCore::~ScriptingCore() (ScriptingCore.cpp:879)
9 xxxxxxxxxxx 0x0000000100abfe94 ScriptingCore::~ScriptingCore() (ScriptingCore.cpp:881)
10 xxxxxxxxxxx 0x0000000100abfec8 ScriptingCore::~ScriptingCore() (ScriptingCore.cpp:878)
11 xxxxxxxxxxx 0x000000010130d00c cocos2d::ScriptEngineManager::removeScriptEngine() (CCScriptSupport.cpp:143)
12 xxxxxxxxxxx 0x000000010130cfa8 cocos2d::ScriptEngineManager::~ScriptEngineManager() (CCScriptSupport.cpp:127)
13 xxxxxxxxxxx 0x000000010130d040 cocos2d::ScriptEngineManager::~ScriptEngineManager() (CCScriptSupport.cpp:128)
14 xxxxxxxxxxx 0x000000010130d110 cocos2d::ScriptEngineManager::destroyInstance() (CCScriptSupport.cpp:161)
15 xxxxxxxxxxx 0x000000010013e9bc AppDelegate::~AppDelegate() (AppDelegate.cpp:41)
16 xxxxxxxxxxx 0x000000010013ea30 AppDelegate::~AppDelegate() (AppDelegate.cpp:45)
17 libsystem_c.dylib 0x00000001858a65b4 __cxa_finalize_ranges + 384
18 libsystem_c.dylib 0x00000001858509e0 exit + 24
19 UIKit 0x000000018caf0e40 +[_UIAlertManager hideAlertsForTermination] + 0
20 UIKit 0x000000018ccef268 __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke.2093 + 792
21 UIKit 0x000000018ccf2a18 _runAfterCACommitDeferredBlocks + 292
22 UIKit 0x000000018cce4ab4 _cleanUpAfterCAFlushAndRunDeferredBlocks + 528
23 UIKit 0x000000018ca58724 _afterCACommitHandler + 132
24 CoreFoundation 0x00000001868e49a0 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 32
25 CoreFoundation 0x00000001868e2628 __CFRunLoopDoObservers + 372
26 CoreFoundation 0x00000001868e2a74 __CFRunLoopRun + 956
27 CoreFoundation 0x0000000186812d94 CFRunLoopRunSpecific + 424
28 GraphicsServices 0x000000018827c074 GSEventRunModal + 100
29 UIKit 0x000000018cacb130 UIApplicationMain + 208
30 xxxxxxxxxxx 0x000000010019c0cc main (main.m:8)
31 libdyld.dylib 0x000000018582159c start + 4