{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1522","repository_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios","labels_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1522/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1522/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-navigation-ios/issues/1522/events","html_url":"https://github.com/mapbox/mapbox-navigation-ios/issues/1522","id":335468224,"node_id":"MDU6SXNzdWUzMzU0NjgyMjQ=","number":1522,"title":"Crash after assigning route to NavigationViewController","user":{"login":"riserpete","id":26596353,"node_id":"MDQ6VXNlcjI2NTk2MzUz","avatar_url":"https://avatars2.githubusercontent.com/u/26596353?v=4","gravatar_id":"","url":"https://api.github.com/users/riserpete","html_url":"https://github.com/riserpete","followers_url":"https://api.github.com/users/riserpete/followers","following_url":"https://api.github.com/users/riserpete/following{/other_user}","gists_url":"https://api.github.com/users/riserpete/gists{/gist_id}","starred_url":"https://api.github.com/users/riserpete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riserpete/subscriptions","organizations_url":"https://api.github.com/users/riserpete/orgs","repos_url":"https://api.github.com/users/riserpete/repos","events_url":"https://api.github.com/users/riserpete/events{/privacy}","received_events_url":"https://api.github.com/users/riserpete/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-25T15:55:53Z","updated_at":"2018-06-26T09:15:14Z","closed_at":"2018-06-26T09:15:13Z","author_association":"NONE","body":"**Mapbox Navigation SDK version: 18.1**\r\n\r\nWhen I assign a new route to the `route` property of the `NavigationViewController` while a navigation is ongoing, the app crashes:\r\n\r\n```\r\nTerminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'\r\nFirst throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x000000011124f1e6 __exceptionPreprocess + 294\r\n\t1   libobjc.A.dylib                     0x00000001104a3031 objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x00000001112c4975 +[NSException raise:format:] + 197\r\n\t3   QuartzCore                          0x000000010cadec61 _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 151\r\n\t4   QuartzCore                          0x000000010cacf362 -[CALayer setPosition:] + 43\r\n\t5   UIKit                               0x000000010d5c8733 -[UIView setCenter:] + 268\r\n\t6   MapboxNavigation                    0x000000010c264c5f _T016MapboxNavigation0B7MapViewC03mapD36DidFinishRenderingFrameFullyRenderedySbF + 511\r\n\t7   MapboxNavigation                    0x000000010c264cc3 _T016MapboxNavigation0B7MapViewC03mapD36DidFinishRenderingFrameFullyRenderedySbFTo + 51\r\n\t8   Mapbox                              0x000000010bab11a9 _Z45MBGLCustomGeometrySourceOptionsFromDictionaryP12NSDictionaryIP8NSStringP11objc_objectE + 168121\r\n\t9   Mapbox                              0x000000010bb6e1fa utrie2_enumForLeadSurrogate_58 + 295955\r\n\t10  Mapbox                              0x000000010bbea958 utrie2_enumForLeadSurrogate_58 + 805745\r\n\t11  Mapbox                              0x000000010ba9098a _Z45MBGLCustomGeometrySourceOptionsFromDictionaryP12NSDictionaryIP8NSStringP11objc_objectE + 34970\r\n\t12  Mapbox                              0x000000010ba9093c _Z45MBGLCustomGeometrySourceOptionsFromDictionaryP12NSDictionaryIP8NSStringP11objc_objectE + 34892\r\n\t13  GLKit                               0x000000012378df3a -[GLKView _display:] + 310\r\n\t14  Mapbox                              0x000000010ba912b5 _Z45MBGLCustomGeometrySourceOptionsFromDictionaryP12NSDictionaryIP8NSStringP11objc_objectE + 37317\r\n\t15  QuartzCore                          0x000000010c9d8850 _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 834\r\n\t16  QuartzCore                          0x000000010cb1aa12 _ZL22display_timer_callbackP12__CFMachPortPvlS1_ + 248\r\n\t17  CoreFoundation                      0x00000001111de4b9 __CFMachPortPerform + 169\r\n\t18  CoreFoundation                      0x00000001111de3f9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41\r\n\t19  CoreFoundation                      0x00000001111de361 __CFRunLoopDoSource1 + 465\r\n\t20  CoreFoundation                      0x00000001111d5f64 __CFRunLoopRun + 2532\r\n\t21  CoreFoundation                      0x00000001111d530b CFRunLoopRunSpecific + 635\r\n\t22  GraphicsServices                    0x0000000117006a73 GSEventRunModal + 62\r\n\t23  UIKit                               0x000000010d51f057 UIApplicationMain + 159```"}}
{"actor":{"display_login":"riserpete"}}