{"action":"closed","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/671","repository_url":"https://api.github.com/repos/smartdevicelink/sdl_ios","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/671/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/671/events","html_url":"https://github.com/smartdevicelink/sdl_ios/issues/671","id":246608038,"number":671,"title":"Crash in iOS Proxy Due to NSException on Corrupted Protocol Header","user":{"login":"davidswi","id":978602,"avatar_url":"https://avatars3.githubusercontent.com/u/978602?v=4","gravatar_id":"","url":"https://api.github.com/users/davidswi","html_url":"https://github.com/davidswi","followers_url":"https://api.github.com/users/davidswi/followers","following_url":"https://api.github.com/users/davidswi/following{/other_user}","gists_url":"https://api.github.com/users/davidswi/gists{/gist_id}","starred_url":"https://api.github.com/users/davidswi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidswi/subscriptions","organizations_url":"https://api.github.com/users/davidswi/orgs","repos_url":"https://api.github.com/users/davidswi/repos","events_url":"https://api.github.com/users/davidswi/events{/privacy}","received_events_url":"https://api.github.com/users/davidswi/received_events","type":"User","site_admin":false},"labels":[{"id":135859168,"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/labels/bug","name":"bug","color":"F44336","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/milestones/15","html_url":"https://github.com/smartdevicelink/sdl_ios/milestone/15","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/milestones/15/labels","id":2631802,"number":15,"title":"4.7.0","description":"","creator":{"login":"joeljfischer","id":1767063,"avatar_url":"https://avatars0.githubusercontent.com/u/1767063?v=4","gravatar_id":"","url":"https://api.github.com/users/joeljfischer","html_url":"https://github.com/joeljfischer","followers_url":"https://api.github.com/users/joeljfischer/followers","following_url":"https://api.github.com/users/joeljfischer/following{/other_user}","gists_url":"https://api.github.com/users/joeljfischer/gists{/gist_id}","starred_url":"https://api.github.com/users/joeljfischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeljfischer/subscriptions","organizations_url":"https://api.github.com/users/joeljfischer/orgs","repos_url":"https://api.github.com/users/joeljfischer/repos","events_url":"https://api.github.com/users/joeljfischer/events{/privacy}","received_events_url":"https://api.github.com/users/joeljfischer/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":36,"state":"open","created_at":"2017-07-10T14:01:31Z","updated_at":"2017-08-28T14:00:47Z","due_on":"2017-08-31T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-07-30T20:49:48Z","updated_at":"2017-08-28T14:00:47Z","closed_at":"2017-08-28T14:00:47Z","body":"### Bug Report\r\nDuring automated USB/BT connection switching with an engineering sample head unit, the following NSException in SDLProtocolHeader.m was triggered:\r\n       NSString *reason = [NSString stringWithFormat:@\"The version of header that is being created is unknown: %@\", @(version)];\r\n            @throw [NSException exceptionWithName:NSInvalidArgumentException reason:reason userInfo:@{ @\"requestedVersion\": @(version) }];\r\n\r\n\r\n##### Reproduction Steps\r\n1. Set connect/disconnect duty cycle to 30s on programmable USB hub\r\n2. Pair and connect over BT an iOS device with one or more SDL apps installed\r\n3. Launch an SDL media app and an SDL non-media app from the HU\r\n4. Start connect/disconnect testing\r\n\r\n##### Expected Behavior\r\nThe apps don't crash even when a disconnection occurs in the middle of SDL communication.\r\n\r\n##### Observed Behavior\r\nThe above exception is thrown within an hour of automated tests starting.\r\n\r\n##### OS & Version Information\r\n* iOS Version: 8.4.1\r\n* SDL iOS Version: 4.6RC2\r\n* Testing Against: Pre-production head unit\r\n\r\n##### Test Case, Sample Code, and / or Example App\r\nThis should be reproducible with the SDL example app by the above methodology.\r\n\r\n[CTSScreensApp  7-30-17, 12-56 PM.crash.zip](https://github.com/smartdevicelink/sdl_ios/files/1185969/CTSScreensApp.7-30-17.12-56.PM.crash.zip)\r\n\r\n"}}
{"actor":{"display_login":"joeljfischer"}}