{"action":"opened","issue":{"url":"https://api.github.com/repos/RelistenNet/relisten-ios/issues/58","repository_url":"https://api.github.com/repos/RelistenNet/relisten-ios","labels_url":"https://api.github.com/repos/RelistenNet/relisten-ios/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/RelistenNet/relisten-ios/issues/58/comments","events_url":"https://api.github.com/repos/RelistenNet/relisten-ios/issues/58/events","html_url":"https://github.com/RelistenNet/relisten-ios/issues/58","id":349686708,"node_id":"MDU6SXNzdWUzNDk2ODY3MDg=","number":58,"title":"App hangs with layout errors after favoriting Bela Fleck and the Flecktones","user":{"login":"farktronix","id":4943,"node_id":"MDQ6VXNlcjQ5NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/4943?v=4","gravatar_id":"","url":"https://api.github.com/users/farktronix","html_url":"https://github.com/farktronix","followers_url":"https://api.github.com/users/farktronix/followers","following_url":"https://api.github.com/users/farktronix/following{/other_user}","gists_url":"https://api.github.com/users/farktronix/gists{/gist_id}","starred_url":"https://api.github.com/users/farktronix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farktronix/subscriptions","organizations_url":"https://api.github.com/users/farktronix/orgs","repos_url":"https://api.github.com/users/farktronix/repos","events_url":"https://api.github.com/users/farktronix/events{/privacy}","received_events_url":"https://api.github.com/users/farktronix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T23:49:55Z","updated_at":"2018-08-10T23:49:55Z","closed_at":null,"author_association":"COLLABORATOR","body":"I added Bela Fleck and the Flecktones to my favorite artists and the app hung with this error and stack trace:\r\n\r\n``` 2018-08-10 16:48:53.973104-0700 Relisten[33346:8463063] [Collection] New content: { itemCounts = [ <S0: 1> <S1: 0> <S2: 1> <S3: 1> <S4: 1> <S5: 3> <S6: 5> <S7: 128> ] }\r\n2018-08-10 16:48:53.973308-0700 Relisten[33346:8463063] [Collection] reloadData <ASCollectionNode: 0x7f94a15072a0>\r\n2018-08-10 16:48:53.973675-0700 Relisten[33346:8463063] [Collection] New content: { itemCounts = [ <S0: 25> ] }\r\n2018-08-10 16:48:53.989485-0700 Relisten[33346:8463063] The behavior of the UICollectionViewFlowLayout is not defined because:\r\n2018-08-10 16:48:53.989619-0700 Relisten[33346:8463063] the item height must be less than the height of the UICollectionView minus the section insets top and bottom values, minus the content insets top and bottom values.\r\n2018-08-10 16:48:53.989712-0700 Relisten[33346:8463063] Please check the values returned by the delegate.\r\n2018-08-10 16:48:53.990370-0700 Relisten[33346:8463063] The relevant UICollectionViewFlowLayout instance is <UICollectionViewFlowLayout: 0x7f94a1508890>, and it is attached to <ASCollectionView: 0x7f94a1a49600; baseClass = UICollectionView; frame = (0 0; 375 120); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x60c0006530b0>; layer = <ASCollectionNode-Layer: 0x60c000642be0; node = <ASCollectionNode: 0x7f94a15072a0>>; contentOffset: {0, 0}; contentSize: {5263.9999999999991, 120}; adjustedContentInset: {0, 0, 0, 0}> collection view layout: <UICollectionViewFlowLayout: 0x7f94a1508890>.\r\n2018-08-10 16:48:53.990464-0700 Relisten[33346:8463063] Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger.\r\n(lldb) bt\r\n* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1\r\n  * frame #0: 0x000000010962ad84 UIKit`UICollectionViewFlowLayoutBreakForInvalidSizes\r\n    frame #1: 0x000000010962e9de UIKit`-[_UIFlowLayoutSection logInvalidSizesForHorizontalDirection:warnAboutDelegateValues:] + 219\r\n    frame #2: 0x000000010962e8f0 UIKit`-[_UIFlowLayoutSection logInvalidSizes] + 72\r\n    frame #3: 0x0000000109630c34 UIKit`-[_UIFlowLayoutSection computeLayoutInRect:forSection:invalidating:invalidationContext:] + 7606\r\n    frame #4: 0x00000001095b1536 UIKit`__76-[UICollectionViewFlowLayout _updateItemsLayoutForRect:allowsPartialUpdate:]_block_invoke + 533\r\n    frame #5: 0x000000010bc3cb4e CoreFoundation`-[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 222\r\n    frame #6: 0x00000001095b119b UIKit`-[UICollectionViewFlowLayout _updateItemsLayoutForRect:allowsPartialUpdate:] + 495\r\n    frame #7: 0x00000001095a9b5c UIKit`-[UICollectionViewFlowLayout invalidateLayoutWithContext:] + 1331\r\n    frame #8: 0x000000010959ed90 UIKit`-[UICollectionViewLayout _invalidateLayoutUsingContext:] + 63\r\n    frame #9: 0x000000010955f495 UIKit`-[UICollectionView _invalidateLayoutIfNecessaryForReload] + 155\r\n    frame #10: 0x000000010955e717 UIKit`-[UICollectionView reloadData] + 985\r\n    frame #11: 0x0000000105a47f47 AsyncDisplayKit`::__64-[ASCollectionView rangeController:updateWithChangeSet:updates:]_block_invoke(.block_descriptor=0x00007ffeeacadc48) at ASCollectionView.mm:2131\r\n    frame #12: 0x0000000105a47e8b AsyncDisplayKit`ASPerformBlockWithoutAnimation(withoutAnimation=NO, block=0x0000000105a47ec0) block_pointer) at ASInternalHelpers.h:92\r\n    frame #13: 0x0000000105a47b63 AsyncDisplayKit`::-[ASCollectionView rangeController:updateWithChangeSet:updates:](self=0x00007f94a1a49600, _cmd=\"rangeController:updateWithChangeSet:updates:\", rangeController=0x000060c0002ad4a0, changeSet=0x00006040005a6c80, updates=0x0000000105a61950) at ASCollectionView.mm:2126\r\n    frame #14: 0x0000000105b5562d AsyncDisplayKit`::-[ASRangeController dataController:updateWithChangeSet:updates:](self=0x000060c0002ad4a0, _cmd=\"dataController:updateWithChangeSet:updates:\", dataController=0x000060c000137e80, changeSet=0x00006040005a6c80, updates=0x0000000105a61950) at ASRangeController.mm:521\r\n    frame #15: 0x0000000105a618d6 AsyncDisplayKit`::__40-[ASDataController updateWithChangeSet:]_block_invoke_2.224(.block_descriptor=0x000060800107ca00) at ASDataController.mm:610\r\n    frame #16: 0x0000000105b29d94 AsyncDisplayKit`::__30-[ASMainSerialQueue runBlocks]_block_invoke(.block_descriptor=0x00006080006527e0) at ASMainSerialQueue.mm:73\r\n    frame #17: 0x000000010dd407ab libdispatch.dylib`_dispatch_call_block_and_release + 12\r\n    frame #18: 0x000000010dd417ec libdispatch.dylib`_dispatch_client_callout + 8\r\n    frame #19: 0x000000010dd4c8cf libdispatch.dylib`_dispatch_main_queue_callback_4CF + 628\r\n    frame #20: 0x000000010bc72c99 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n    frame #21: 0x000000010bc36ea6 CoreFoundation`__CFRunLoopRun + 2342\r\n    frame #22: 0x000000010bc3630b CoreFoundation`CFRunLoopRunSpecific + 635\r\n    frame #23: 0x000000010f573a73 GraphicsServices`GSEventRunModal + 62\r\n    frame #24: 0x0000000108a9f057 UIKit`UIApplicationMain + 159\r\n    frame #25: 0x0000000104f684c7 Relisten`main at RLAppDelegate.swift:20\r\n    frame #26: 0x000000010ddbe955 libdyld.dylib`start + 1\r\n    frame #27: 0x000000010ddbe955 libdyld.dylib`start + 1\r\n```"}}
{"actor":{"display_login":"farktronix"}}