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

Crash: ASCollectionView.mm line 1123 -[ASCollectionView collectionView:willDisplaySupplementar #48

Closed
levi opened this issue Apr 20, 2017 · 1 comment

Comments

@levi
Copy link
Contributor

levi commented Apr 20, 2017

Pinterest 42 (com.pinterest.enterprise)
Issue #2763 (Level 1)

System: 10.3.1 (14E304) 10.3.1 (14E304) on Apple iPhone 7 (arm64)
Storage: disk 83% free (25344 MB) and memory 14% free (233 MB)
Orientation: device is portrait and UI is portrait
Session: b5409344b32d4f83b09c5576afb8c9f5_0f43de2d13c74acea83c9e66d6bacc9a_0_v1
Timestamp: 2017-04-19T14:58:04.000Z

[Thread 0] Fatal Exception: NSInvalidArgumentException
-[UICollectionReusableView layoutAttributes]: unrecognized selector sent to instance 0x108d98180
  0 CoreFoundation                 6728298456 __exceptionPreprocess + 0
  1 libobjc.A.dylib                6705628472 objc_exception_throw + 0
  2 CoreFoundation                 6728326900 __methodDescriptionForSelector + 0
  3 CoreFoundation                 6728314700 ___forwarding___ + 0
  4 CoreFoundation                 6727249196 _CF_forwarding_prep_0 + 0
> 5 Pinterest Enterprise           4304483608 -[ASCollectionView collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:] (ASCollectionView.mm:1123)
  6 UIKit                          6831774764 -[UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:withLayoutAttributes:applyAttributes:] + 0
  7 UIKit                          6832104720 -[UICollectionView _viewAnimationsForCurrentUpdate] + 0
  8 UIKit                          6839696328 __71-[UICollectionView _updateWithItems:tentativelyForReordering:animator:]_block_invoke.2012 + 0
  9 UIKit                          6830259708 +[UIView(Animation) performWithoutAnimation:] + 0
 10 UIKit                          6839692364 -[UICollectionView _updateWithItems:tentativelyForReordering:animator:] + 0
 11 UIKit                          6839684332 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] + 0
 12 UIKit                          6839699036 -[UICollectionView _endUpdatesWithInvalidationContext:tentativelyForReordering:animator:] + 0
 13 UIKit                          6839699772 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 0
 14 UIKit                          6839699356 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 0
 15 UIKit                          6839699232 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 0
 16 UIKit                          6832129368 -[UICollectionView performBatchUpdates:completion:] + 0
 17 Pinterest Enterprise           4304474656 -[ASCollectionView _superPerformBatchUpdates:completion:] (ASCollectionView.mm:779)
 18 Pinterest Enterprise           4304502136 __59-[ASCollectionView rangeController:didUpdateWithChangeSet:]_block_invoke (ASCollectionView.mm:0)
 19 Pinterest Enterprise           4304501676 -[ASCollectionView rangeController:didUpdateWithChangeSet:] (ASInternalHelpers.h:78)
 20 Pinterest Enterprise           4304820784 -[ASRangeController dataController:didUpdateWithChangeSet:] (ASRangeController.mm:499)
 21 Pinterest Enterprise           4304533532 __40-[ASDataController updateWithChangeSet:]_block_invoke_3 (ASDataController.mm:583)
 22 Pinterest Enterprise           4304747256 __30-[ASMainSerialQueue runBlocks]_block_invoke (ASMainSerialQueue.mm:62)
 23 libdispatch.dylib              6710176224 _dispatch_call_block_and_release + 0
 24 libdispatch.dylib              6710176160 _dispatch_client_callout + 0
 25 libdispatch.dylib              6710195688 _dispatch_main_queue_callback_4CF + 0
 26 CoreFoundation                 6727962816 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 0
 27 CoreFoundation                 6727953628 __CFRunLoopRun + 0
 28 CoreFoundation                 6727101844 CFRunLoopRunSpecific + 0
 29 GraphicsServices               6754795636 GSEventRunModal + 0
 30 UIKit                          6830616880 UIApplicationMain + 0
 31 Pinterest Enterprise           4296109028 main (main.m:74)
 32 libdyld.dylib                  6710384028 start + 0

[Thread 1] Crashed: com.twitter.crashlytics.ios.exception
  0x0000000000000000
  0 Pinterest Enterprise           4309068484 CLSProcessRecordAllThreads + 3401912
  1 Pinterest Enterprise           4309068484 CLSProcessRecordAllThreads + 3401912
  2 Pinterest Enterprise           4309068160 CLSProcessRecordAllThreads + 3401588
  3 Pinterest Enterprise           4309004608 CLSHandler + 3338036
  4 Pinterest Enterprise           4309060504 __CLSExceptionRecord_block_invoke + 3393932
  5 libdispatch.dylib              6710176160 _dispatch_client_callout + 16
  6 libdispatch.dylib              6710230752 _dispatch_barrier_sync_f_invoke + 84
  7 Pinterest Enterprise           4309059132 CLSExceptionRecord + 3392560
  8 Pinterest Enterprise           4309058672 CLSExceptionRecordNSException + 3392100
  9 Pinterest Enterprise           4309057680 CLSTerminateHandler() + 3391108
 10 libc++abi.dylib                6705558996 std::__terminate(void (*)()) + 16
 11 libc++abi.dylib                6705557240 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 134
 12 libobjc.A.dylib                6705628780 _objc_exception_destructor(void*) + 362
 13 CoreFoundation                 6728326900 __methodDescriptionForSelector + 138
 14 CoreFoundation                 6728314700 ___forwarding___ + 916
 15 CoreFoundation                 6727249196 _CF_forwarding_prep_0 + 92
 16 Pinterest Enterprise           4304483608 -[ASCollectionView collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:] (ASCollectionView.mm:1123)
 17 UIKit                          6831774764 -[UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:withLayoutAttributes:applyAttributes:] + 1560
 18 UIKit                          6832104720 -[UICollectionView _viewAnimationsForCurrentUpdate] + 3604
 19 UIKit                          6839696328 __71-[UICollectionView _updateWithItems:tentativelyForReordering:animator:]_block_invoke.2012 + 132
 20 UIKit                          6830259708 +[UIView(Animation) performWithoutAnimation:] + 104
 21 UIKit                          6839692364 -[UICollectionView _updateWithItems:tentativelyForReordering:animator:] + 3164
 22 UIKit                          6839684332 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] + 12952
 23 UIKit                          6839699036 -[UICollectionView _endUpdatesWithInvalidationContext:tentativelyForReordering:animator:] + 92
 24 UIKit                          6839699772 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 384
 25 UIKit                          6839699356 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 96
 26 UIKit                          6839699232 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 84
 27 UIKit                          6832129368 -[UICollectionView performBatchUpdates:completion:] + 64
 28 Pinterest Enterprise           4304474656 -[ASCollectionView _superPerformBatchUpdates:completion:] (ASCollectionView.mm:779)
 29 Pinterest Enterprise           4304502136 __59-[ASCollectionView rangeController:didUpdateWithChangeSet:]_block_invoke (ASCollectionView.mm:0)
 30 Pinterest Enterprise           4304501676 -[ASCollectionView rangeController:didUpdateWithChangeSet:] (ASInternalHelpers.h:78)
 31 Pinterest Enterprise           4304820784 -[ASRangeController dataController:didUpdateWithChangeSet:] (ASRangeController.mm:499)
 32 Pinterest Enterprise           4304533532 __40-[ASDataController updateWithChangeSet:]_block_invoke_3 (ASDataController.mm:583)
 33 Pinterest Enterprise           4304747256 __30-[ASMainSerialQueue runBlocks]_block_invoke (ASMainSerialQueue.mm:62)
 34 libdispatch.dylib              6710176224 _dispatch_call_block_and_release + 24
 35 libdispatch.dylib              6710176160 _dispatch_client_callout + 16
 36 libdispatch.dylib              6710195688 _dispatch_main_queue_callback_4CF + 996
 37 CoreFoundation                 6727962816 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
 38 CoreFoundation                 6727953628 __CFRunLoopRun + 1572
 39 CoreFoundation                 6727101844 CFRunLoopRunSpecific + 424
 40 GraphicsServices               6754795636 GSEventRunModal + 100
 41 UIKit                          6830616880 UIApplicationMain + 208
 42 Pinterest Enterprise           4296109028 main (main.m:74)
 43 libdyld.dylib                  6710384028 start + 4

[Thread 2] com.apple.uikit.eventfetch-thread
  0 libsystem_kernel.dylib         6711374372 mach_msg_trap + 8
  1 libsystem_kernel.dylib         6711373980 mach_msg + 72
  2 CoreFoundation                 6727962248 __CFRunLoopServiceMachPort + 192
  3 CoreFoundation                 6727953116 __CFRunLoopRun + 1060
  4 CoreFoundation                 6727101844 CFRunLoopRunSpecific + 424
  5 Foundation                     6738742628 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
  6 Foundation                     6738877236 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
  7 UIKit                          6840620536 -[UIEventFetcher threadMain] + 136
  8 Foundation                     6739780296 __NSThread__start__ + 996
  9 libsystem_pthread.dylib        6712317788 _pthread_body + 240
 10 libsystem_pthread.dylib        6712317548 _pthread_body + 282
 11 libsystem_pthread.dylib        6712307076 thread_start + 4

[Thread 3] com.apple.NSURLConnectionLoader
  0 libsystem_kernel.dylib         6711374372 mach_msg_trap + 8
  1 libsystem_kernel.dylib         6711373980 mach_msg + 72
  2 CoreFoundation                 6727962248 __CFRunLoopServiceMachPort + 192
  3 CoreFoundation                 6727953116 __CFRunLoopRun + 1060
  4 CoreFoundation                 6727101844 CFRunLoopRunSpecific + 424
  5 CFNetwork                      6735539364 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404
  6 Foundation                     6739780296 __NSThread__start__ + 996
  7 libsystem_pthread.dylib        6712317788 _pthread_body + 240
  8 libsystem_pthread.dylib        6712317548 _pthread_body + 282
  9 libsystem_pthread.dylib        6712307076 thread_start + 4

[Thread 4] com.twitter.crashlytics.ios.MachExceptionServer
  0 libsystem_kernel.dylib         6711374372 mach_msg_trap + 8
  1 libsystem_kernel.dylib         6711373980 mach_msg + 72
  2 Pinterest Enterprise           4308983712 CLSMachExceptionServer + 3317140
  3 libsystem_pthread.dylib        6712317788 _pthread_body + 240
  4 libsystem_pthread.dylib        6712317548 _pthread_body + 282
  5 libsystem_pthread.dylib        6712307076 thread_start + 4

[Thread 5]
  0 libsystem_kernel.dylib         6711496220 __psynch_cvwait + 8
  1 libsystem_pthread.dylib        6712314084 _pthread_cond_wait + 640
  2 libc++.1.dylib                 6705142472 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
  3 JavaScriptCore                 6804372632 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 112
  4 JavaScriptCore                 6804372492 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 168
  5 JavaScriptCore                 6804372204 std::__1::__shared_ptr_emplace<std::__1::mutex, std::__1::allocator<std::__1::mutex> >::~__shared_ptr_emplace() + 34
  6 JavaScriptCore                 6804372892 void* std::__1::__thread_proxy<std::__1::tuple<void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 92
  7 libsystem_pthread.dylib        6712317788 _pthread_body + 240
  8 libsystem_pthread.dylib        6712317548 _pthread_body + 282
  9 libsystem_pthread.dylib        6712307076 thread_start + 4

[Thread 6] AVAudioSession Notify Thread
  0 libsystem_kernel.dylib         6711374372 mach_msg_trap + 8
  1 libsystem_kernel.dylib         6711373980 mach_msg + 72
  2 CoreFoundation                 6727962248 __CFRunLoopServiceMachPort + 192
  3 CoreFoundation                 6727953116 __CFRunLoopRun + 1060
  4 CoreFoundation                 6727101844 CFRunLoopRunSpecific + 424
  5 AVFAudio                       7164998976 GenericRunLoopThread::Entry(void*) + 164
  6 AVFAudio                       7165155348 CAPThread::Entry(CAPThread*) + 84
  7 libsystem_pthread.dylib        6712317788 _pthread_body + 240
  8 libsystem_pthread.dylib        6712317548 _pthread_body + 282
  9 libsystem_pthread.dylib        6712307076 thread_start + 4

[Thread 7] ASDeallocQueue
  0 libsystem_kernel.dylib         6711374372 mach_msg_trap + 8
  1 libsystem_kernel.dylib         6711373980 mach_msg + 72
  2 CoreFoundation                 6727962248 __CFRunLoopServiceMachPort + 192
  3 CoreFoundation                 6727953116 __CFRunLoopRun + 1060
  4 CoreFoundation                 6727101844 CFRunLoopRunSpecific + 424
  5 CoreFoundation                 6727416224 CFRunLoopRun + 112
  6 Pinterest Enterprise           4304830068 -[ASDeallocQueue threadMain] (ASRunLoopQueue.mm:99)
  7 Foundation                     6739780296 __NSThread__start__ + 996
  8 libsystem_pthread.dylib        6712317788 _pthread_body + 240
  9 libsystem_pthread.dylib        6712317548 _pthread_body + 282
 10 libsystem_pthread.dylib        6712307076 thread_start + 4

[Thread 8]
  0 libsystem_pthread.dylib        6712307064 start_wqthread + 126

[Thread 9]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712307872 _pthread_wqthread + 792
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 10]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 11]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 12]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 13]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 14]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 15]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 16]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 17]
  0 libsystem_kernel.dylib         6711499400 __workq_kernreturn + 8
  1 libsystem_pthread.dylib        6712308340 _pthread_wqthread + 1260
  2 libsystem_pthread.dylib        6712307068 start_wqthread + 4

[Thread 18] Deadlock Detection Thread
  0 libsystem_kernel.dylib         6711497492 __semwait_signal + 8
  1 libsystem_c.dylib              6710577328 nanosleep + 212
  2 Foundation                     6739776896 +[NSThread sleepForTimeInterval:] + 136
  3 Pinterest Enterprise           4299352616 +[PIDeadlockDetector detectionThreadLoop:] (PIDeadlockDetector.m:134)
  4 Foundation                     6739780296 __NSThread__start__ + 996
  5 libsystem_pthread.dylib        6712317788 _pthread_body + 240
  6 libsystem_pthread.dylib        6712317548 _pthread_body + 282
  7 libsystem_pthread.dylib        6712307076 thread_start + 4
@Adlai-Holler
Copy link
Member

@levi This was resolved in #40 , if you post the JIRA I will link it and keep track of the sync cc @garrettmoon

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