Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用方案二,但是暂停主线程,会出现偶现的崩溃 #5

Open
fengzipiaoling opened this issue Nov 20, 2018 · 1 comment

Comments

@fengzipiaoling
Copy link

0 libsystem_kernel.dylib 0x000000018329004c __abort_with_payload + 8
libsystem_kernel.dylib 0x000000018328a968 abort_with_payload_wrapper_internal + 100
libsystem_kernel.dylib 0x000000018328a904 abort_with_payload_wrapper_internal + 0
libobjc.A.dylib 0x00000001829c3f54 _objc_fatalv+ 32596 (unsigned long long, unsigned long long, char const*, char*) + 112
libobjc.A.dylib 0x00000001829c3eac __objc_error + 0
libobjc.A.dylib 0x00000001829cdc0c rwlock_tt::unlockRead+ 72716 () + 0
libobjc.A.dylib 0x00000001829cd988 lookUpImpOrForward + 84
libobjc.A.dylib 0x00000001829d8c38 _objc_msgSend_uncached + 56
MyApp 0x00000001049c7e40 0x104994000 + 212544 (thread_singal_handler + 72)
libsystem_platform.dylib 0x000000018342cb48 _sigtramp + 36
libobjc.A.dylib 0x00000001829c953c realizeClass+ 54588 (objc_class*) + 660
libobjc.A.dylib 0x00000001829c740c look_up_class + 96
Foundation 0x0000000184194640 NSClassFromString + 196
MyApp 0x000000010525def4 0x105258000 + 24308 (-[UIViewController(hook) utm_viewDidAppear:] + 44)
MyApp 0x0000000104bbddc8 0x104ba0000 + 122312 (-[WDBaseViewController viewDidAppear:] + 56)
UIKit 0x000000018d4667b8 -[UIViewController _setViewAppearState:isAnimating:] + 840
UIKit 0x000000018d4bcb8c -[UINavigationController viewDidAppear:] + 204
UIKit 0x000000018d4667b8 -[UIViewController _setViewAppearState:isAnimating:] + 840
UIKit 0x000000018d4bcd1c -[UITabBarController viewDidAppear:] + 124
UIKit 0x000000018d4667b8 -[UIViewController _setViewAppearState:isAnimating:] + 840
UIKit 0x000000018d6b747c __64-[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]_block_invoke + 44
UIKit 0x000000018d4bc814 -[UIViewController _executeAfterAppearanceBlock] + 92
UIKit 0x000000018d7c29c4 _runAfterCACommitDeferredBlocks + 564
UIKit 0x000000018d7b898c _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
UIKit 0x000000018d7c96c0 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 152
CoreFoundation 0x00000001837b32bc CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 20
CoreFoundation 0x00000001837b2a7c __CFRunLoopDoBlocks + 264
CoreFoundation 0x00000001837b07b0 __CFRunLoopRun + 1224
CoreFoundation 0x00000001836d0da8 CFRunLoopRunSpecific + 552
GraphicsServices 0x00000001856b3020 GSEventRunModal + 100
UIKit 0x000000018d6b178c UIApplicationMain + 236
MyApp 0x0000000102814214 main + 967188 (main.m:14)
libdyld.dylib 0x0000000183161fc0 start + 4
@MoShenGuo
Copy link

获取主线程堆栈信息,为什么要暂停主线程呢?这样不是影响业务吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants