{"action":"created","issue":{"url":"https://api.github.com/repos/Instabug/Instabug-iOS/issues/230","repository_url":"https://api.github.com/repos/Instabug/Instabug-iOS","labels_url":"https://api.github.com/repos/Instabug/Instabug-iOS/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/Instabug/Instabug-iOS/issues/230/comments","events_url":"https://api.github.com/repos/Instabug/Instabug-iOS/issues/230/events","html_url":"https://github.com/Instabug/Instabug-iOS/issues/230","id":290767459,"number":230,"title":"Crash related to UICollectionView","user":{"login":"sz-zoli-lateral","id":11060359,"avatar_url":"https://avatars2.githubusercontent.com/u/11060359?v=4","gravatar_id":"","url":"https://api.github.com/users/sz-zoli-lateral","html_url":"https://github.com/sz-zoli-lateral","followers_url":"https://api.github.com/users/sz-zoli-lateral/followers","following_url":"https://api.github.com/users/sz-zoli-lateral/following{/other_user}","gists_url":"https://api.github.com/users/sz-zoli-lateral/gists{/gist_id}","starred_url":"https://api.github.com/users/sz-zoli-lateral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sz-zoli-lateral/subscriptions","organizations_url":"https://api.github.com/users/sz-zoli-lateral/orgs","repos_url":"https://api.github.com/users/sz-zoli-lateral/repos","events_url":"https://api.github.com/users/sz-zoli-lateral/events{/privacy}","received_events_url":"https://api.github.com/users/sz-zoli-lateral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-23T09:34:42Z","updated_at":"2018-02-07T18:57:50Z","closed_at":null,"author_association":"NONE","body":"### Steps to Reproduce the Problem\r\nWhen used together with UIPageViewController there is a crash.\r\nIt crashes where I set the view controllers:\r\n`self.pageViewControl.setViewControllers([self.viewControllers[page]], direction: .forward, animated: true, completion: nil)`\r\n\r\n`2018-01-23 10:37:05.680553+0200 Application[71504:1465646] *** Assertion failure in -[_UIQueuingScrollView _replaceViews:updatingContents:adjustContentInsets:animated:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3698.33.6/_UIQueuingScrollView.m:395\r\n2018-01-23 10:37:05.695046+0200 Application[71504:1465646] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: [views count] == 3'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x00000001128a012b __exceptionPreprocess + 171\r\n\t1   libobjc.A.dylib                     0x00000001119fdf41 objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x00000001128a52f2 +[NSException raise:format:arguments:] + 98\r\n\t3   Foundation                          0x000000011149ed69 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193\r\n\t4   UIKit                               0x000000010fa91def -[_UIQueuingScrollView _replaceViews:updatingContents:adjustContentInsets:animated:] + 1018\r\n\t5   UIKit                               0x000000010fa95839 -[_UIQueuingScrollView _didScrollWithAnimation:force:] + 1181\r\n\t6   UIKit                               0x000000010fa90e34 -[_UIQueuingScrollView _scrollViewAnimationEnded:finished:] + 92\r\n\t7   UIKit                               0x000000010f15fc53 -[UIAnimator stopAnimation:] + 422\r\n\t8   UIKit                               0x000000010f1603a1 -[UIAnimator _advanceAnimationsOfType:withTimestamp:] + 282\r\n\t9   QuartzCore                          0x0000000112f422b8 _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 684\r\n\t10  QuartzCore                          0x0000000113082894 _ZL22display_timer_callbackP12__CFMachPortPvlS1_ + 248\r\n\t11  CoreFoundation                      0x000000011282f899 __CFMachPortPerform + 169\r\n\t12  CoreFoundation                      0x000000011282f7d9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41\r\n\t13  CoreFoundation                      0x000000011282f741 __CFRunLoopDoSource1 + 465\r\n\t14  CoreFoundation                      0x0000000112827524 __CFRunLoopRun + 2596\r\n\t15  CoreFoundation                      0x0000000112826889 CFRunLoopRunSpecific + 409\r\n\t16  GraphicsServices                    0x00000001171059c6 GSEventRunModal + 62\r\n\t17  UIKit                               0x000000010efce5d6 UIApplicationMain + 159\r\n\t18  Application                         0x0000000109acfca7 main + 55\r\n\t19  libdyld.dylib                       0x000000011468ed81 start + 1\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n`\r\n\r\n### SDK Version\r\n7.8\r\n7.7.1 doesn't crash\r\n\r\n### iOS Version\r\niOS 11\r\n\r\n### Device Type\r\nMultiple devices tested"},"comment":{"url":"https://api.github.com/repos/Instabug/Instabug-iOS/issues/comments/363873111","html_url":"https://github.com/Instabug/Instabug-iOS/issues/230#issuecomment-363873111","issue_url":"https://api.github.com/repos/Instabug/Instabug-iOS/issues/230","id":363873111,"user":{"login":"Kmohamed","id":1115748,"avatar_url":"https://avatars3.githubusercontent.com/u/1115748?v=4","gravatar_id":"","url":"https://api.github.com/users/Kmohamed","html_url":"https://github.com/Kmohamed","followers_url":"https://api.github.com/users/Kmohamed/followers","following_url":"https://api.github.com/users/Kmohamed/following{/other_user}","gists_url":"https://api.github.com/users/Kmohamed/gists{/gist_id}","starred_url":"https://api.github.com/users/Kmohamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kmohamed/subscriptions","organizations_url":"https://api.github.com/users/Kmohamed/orgs","repos_url":"https://api.github.com/users/Kmohamed/repos","events_url":"https://api.github.com/users/Kmohamed/events{/privacy}","received_events_url":"https://api.github.com/users/Kmohamed/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T18:57:50Z","updated_at":"2018-02-07T18:57:50Z","author_association":"CONTRIBUTOR","body":"@sz-zoli-lateral also could you give the latest version a try ?"}}
{"actor":{"display_login":"Kmohamed"}}