Skip to content
New issue

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

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

Already on GitHub? # to your account

Crash when using [self.manager stop] #789

Closed
jamesLapinski opened this issue Nov 14, 2017 · 0 comments · Fixed by #793
Closed

Crash when using [self.manager stop] #789

jamesLapinski opened this issue Nov 14, 2017 · 0 comments · Fixed by #793
Assignees
Labels
bug A defect in the library
Milestone

Comments

@jamesLapinski
Copy link

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 A defect in the library 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
* If the remote files list request fails in progress and we’re in the shutdown state, we failed because we disconnected
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A defect in the library
Projects
None yet
2 participants