异常信息
SIGSEGV SEGV_ACCERR UIKit -[UICollectionViewData _setLayoutAttributes:atGlobalItemIndex:]
出错堆栈
#0 Thread SIGSEGV SEGV_ACCERR 0 UIKit -[UICollectionViewData _setLayoutAttributes:atGlobalItemIndex:] + 80 1 UIKit -[UICollectionViewData _setLayoutAttributes:atGlobalItemIndex:] + 64 2 UIKit ___45-[UICollectionViewData validateLayoutInRect:]_block_invoke + 1880 3 UIKit -[UICollectionViewData validateLayoutInRect:] + 1492 4 UIKit -[UICollectionView layoutSubviews] + 212 5 UIKit -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1196 6 QuartzCore -[CALayer layoutSublayers] + 148 7 QuartzCore CA::Layer::layout_if_needed(CA::Transaction*) + 292 8 QuartzCore CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32 9 QuartzCore CA::Context::commit_transaction(CA::Transaction*) + 252 10 QuartzCore CA::Transaction::commit() + 512 11 QuartzCore CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 120 12 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 13 CoreFoundation ___CFRunLoopDoObservers + 372 14 CoreFoundation ___CFRunLoopRun + 1024 15 CoreFoundation CFRunLoopRunSpecific + 444 16 GraphicsServices GSEventRunModal + 180 17 UIKit -[UIApplication _run] + 684 18 UIKit UIApplicationMain + 208 19 BloomOfChina main (main.m:14) 20 libdyld.dylib _start + 4
即便打了全局断点也没有只想具体的崩溃问题
可以复现但是很奇怪,第一次安装app,打开某个页面,有较大概率出现这个崩溃。
一旦出现如果不在后台彻底关掉app,那之后每次打开这个页面都会崩溃。
彻底关掉app,以后基本不会再出现了。
请问还有什么方法能够去定位问题呢?