New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when using [self.manager stop] #789

Closed
jamesLapinski opened this Issue Nov 14, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@jamesLapinski

jamesLapinski commented Nov 14, 2017

Bug Report

We are attempting to stop the proxy when a Lincoln branded app attempts to appear on a Ford unit (and vice versa) by using [self.manager stop], which causes a crash.

Reproduction Steps
  1. Insert the following into the didReceiveRegisterAppInterfaceResponse method. In this example I was using the hello_sdl_ios project.
 if (![response.vehicleType.make isEqualToString:@"Lincoln"]) {
        
        [self.manager stop];

    }
  1. Run the app.
Expected Behavior

The expected action would be the app attempting to open on the TDK and then immediately closing.

Observed Behavior

The app crashes with the error message 'Invalid state machine SDLStateMachine transition of target SDLFileManager occurred from Shutdown to StartupError'

OS & Version Information
  • iOS Version: 11.1.1
  • SDL iOS Version: 5.0.0-rc.2
  • Testing Against: Using TDK with Relay and connecting with USB.

Crash Log.txt

@joeljfischer joeljfischer self-assigned this Nov 14, 2017

@joeljfischer joeljfischer added the bug label Nov 14, 2017

@joeljfischer joeljfischer added this to the 4.7.x milestone Nov 14, 2017

joeljfischer added a commit that referenced this issue Nov 17, 2017

Fix #789
* If the remote files list request fails in progress and we’re in the shutdown state, we failed because we disconnected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment