{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/830","repository_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android","labels_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/830/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/830/events","html_url":"https://github.com/mapbox/mapbox-navigation-android/issues/830","id":311888198,"number":830,"title":"Native application crash when use NavigationView.onDestroy() inside fragment","user":{"login":"m-harisqurashi","id":12873592,"avatar_url":"https://avatars3.githubusercontent.com/u/12873592?v=4","gravatar_id":"","url":"https://api.github.com/users/m-harisqurashi","html_url":"https://github.com/m-harisqurashi","followers_url":"https://api.github.com/users/m-harisqurashi/followers","following_url":"https://api.github.com/users/m-harisqurashi/following{/other_user}","gists_url":"https://api.github.com/users/m-harisqurashi/gists{/gist_id}","starred_url":"https://api.github.com/users/m-harisqurashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-harisqurashi/subscriptions","organizations_url":"https://api.github.com/users/m-harisqurashi/orgs","repos_url":"https://api.github.com/users/m-harisqurashi/repos","events_url":"https://api.github.com/users/m-harisqurashi/events{/privacy}","received_events_url":"https://api.github.com/users/m-harisqurashi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-06T08:24:45Z","updated_at":"2018-04-18T14:45:35Z","closed_at":null,"author_association":"NONE","body":"My application crashes every time i tries to cancel navigation via `cancelBtn` using `NavigationView.onDestroy()`.\r\n\r\nI don't want to kill my `Activity` and/or `Fragment`, only needed to cancel `NavigationView` either by removing from view hierarchy or releasing its resources without removing from view hierarchy. Most importantly any user can start navigation with same `NavigationView` reference.\r\n\r\nI tried with dynamically creating `NavigationView` for new navigation request but i still get this.\r\n\r\nOnly get this log:\r\n```\r\ngoogle-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###\r\ngoogle-breakpad: Chrome build fingerprint:\r\ngoogle-breakpad: 1.1.032618\r\ngoogle-breakpad: 32\r\ngoogle-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###\r\nlibc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10020 in tid 9945 (com.package.name), pid 9945 (com.package.name)\r\n```"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/comments/382412509","html_url":"https://github.com/mapbox/mapbox-navigation-android/issues/830#issuecomment-382412509","issue_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/830","id":382412509,"user":{"login":"danesfeder","id":8434572,"avatar_url":"https://avatars0.githubusercontent.com/u/8434572?v=4","gravatar_id":"","url":"https://api.github.com/users/danesfeder","html_url":"https://github.com/danesfeder","followers_url":"https://api.github.com/users/danesfeder/followers","following_url":"https://api.github.com/users/danesfeder/following{/other_user}","gists_url":"https://api.github.com/users/danesfeder/gists{/gist_id}","starred_url":"https://api.github.com/users/danesfeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danesfeder/subscriptions","organizations_url":"https://api.github.com/users/danesfeder/orgs","repos_url":"https://api.github.com/users/danesfeder/repos","events_url":"https://api.github.com/users/danesfeder/events{/privacy}","received_events_url":"https://api.github.com/users/danesfeder/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T14:45:35Z","updated_at":"2018-04-18T14:45:35Z","author_association":"CONTRIBUTOR","body":"@m-harisqurashi what are you calling inside of the cancel btn callback?"}}
{"actor":{"display_login":"danesfeder"}}