Crash in Foundation when sliding back and forth
See original GitHub issueI have experienced the below crash several times during testing when sliding items quickly back and forth with CarouselView. The crash happens with 1.6.3 and 1.6.4-pre. I have tested it in Simulators and with physical devices and I can repro with both. I have been using Visual Studio 2017 (I have not tested with VS4M yet):
Unhandled Exception:
Foundation.MonoTouchException: Objective-C exception thrown. Name: NSGenericException Reason: *** Collection <CALayerArray: 0x600002ce3420> was mutated while being e
![capture](https://user-images.githubusercontent.com/28783954/47255399-da60c200-d470-11e8-9362-e1e18881849a.PNG)
numerated.
Native stack trace:
0 CoreFoundation 0x000000011110529b __exceptionPreprocess + 331
1 libobjc.A.dylib 0x0000000111e59735 objc_exception_throw + 48
2 CoreFoundation 0x0000000111101f7c __NSFastEnumerationMutationHandler + 124
3 UIKitCore 0x000000011bf0b279 -[UIView(Hierarchy) subviews] + 363
4 UIKitCore 0x000000011bf24887 -[UIView(CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 57
5 UIKitCore 0x000000011bf25055 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1505
6 QuartzCore 0x0000000109a9bd3d -[CALayer layoutSublayers] + 175
7 QuartzCore 0x0000000109aa0bf7 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
8 QuartzCore 0x0000000109a19aa6 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 342
9 QuartzCore 0x0000000109a50c2a _ZN2CA11Transaction6commitEv + 576
10 Spike.CarouselView.iOS 0x0000000103717a79 xamarin_dyn_objc_msgSend + 217
11 ??? 0x0000000136c4ecd0 0x0 + 5213842640
12 ??? 0x0000000136bf46f3 0x0 + 5213472499
13 Spike.CarouselView.iOS 0x00000001035253c1 mono_jit_runtime_invoke + 1441
14 Spike.CarouselView.iOS 0x000000010360bcff mono_runtime_invoke_checked + 127
15 Spike.CarouselView.iOS 0x0000000103654c4a start_wrapper_internal + 602
16 Spike.CarouselView.iOS 0x00000001036549c7 start_wrapper + 71
17 libsystem_pthread.dylib 0x00000001137e333d _pthread_body + 126
18 libsystem_pthread.dylib 0x00000001137e62a7 _pthread_start + 70
19 libsystem_pthread.dylib 0x00000001137e2425 thread_start + 13
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (10 by maintainers)
Top Results From Across the Web
How To Know When To Walk Away From Foundation Issues
Note: Many folks wonder, “can a house collapse from foundation issues?” The truth is yes, a house can eventually collapse from foundation ......
Read more >Family of Austin 8-year-old who died after car crash sets up ...
Eight-year-old Jude Calley died following a roll-over crash in Hays County. His family has now set up a foundation in his honor. His...
Read more >Pile Driving Safety & Accident Prevention - Gear, Site ...
Underpinning a foundation should be conducted only under the direction ... Moving forward, pile driving operations will continue to present ...
Read more >How a cantilever seat pan structure exacerbate submarining
Submarining is an undesired phenomenon during a frontal crash scenario and is dependent on design features of the seat pan and seatbelt system....
Read more >Police investigating a collision in Fort Worth, 1 dead
Police are at the scene of a deadly accident: a high-speed and violent collision in south Fort Worth at Alta-Mesa and Will Rogers...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi
I’m using latest version but let me check with this values
I think, this issue can go away with new releases )