如何修复iOS崩溃“ com.apple.main-thread SIGABRT ABORT”

时间:2019-09-18 03:54:27

标签: ios crash quartz-core

我正面临着从结构日志中发生10次崩溃的情况。但是在连接Xcode时我无法重现它。

0   libsystem_kernel.dylib  __pthread_kill + 8
1   libsystem_pthread.dylib pthread_kill$VARIANT$mp + 380
2   libsystem_c.dylib   abort + 140
3   QuartzCore  CA::Render::Encoder::encode_object_uncached(CA::Render::Object const*) + 366
4   QuartzCore  CA::Render::Encoder::encode_data_async(void const*, unsigned long, void (*)(void const*, void*), void*) + 212
5   QuartzCore  CA::Render::Image::encode(CA::Render::Encoder*) const + 636
6   QuartzCore  CA::Render::Layer::encode(CA::Render::Encoder*) const + 128
7   QuartzCore  CA::Render::encode_set_object(CA::Render::Encoder*, unsigned long, unsigned int, CA::Render::Object*, unsigned int) + 192
8   QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 484
9   QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
10  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
11  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
12  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
13  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
14  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
15  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
16  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
17  QuartzCore  CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
18  QuartzCore  CA::Context::commit_transaction(CA::Transaction*) + 3028
19  QuartzCore  CA::Transaction::commit() + 640
20  QuartzCore  CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
21  CoreFoundation  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
22  CoreFoundation  __CFRunLoopDoObservers + 412
23  CoreFoundation  __CFRunLoopRun + 1228
24  CoreFoundation  CFRunLoopRunSpecific + 436
25  GraphicsServices    GSEventRunModal + 104
26  UIKitCore   UIApplicationMain + 212
27  ChopeDashboard  main.m line 14 main + 14
28  libdyld.dylib   start + 4

你们知道如何解决吗? 非常感谢!

0 个答案:

没有答案