Skip to content
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 in SDLChoiceSetManager due to multiple threads accessing nonatomic NSSets #1584

Closed
NicoleYarroch opened this issue Mar 13, 2020 · 0 comments
Labels
bug A defect in the library manager-screen Relating to the manager layer - screen managers
Projects

Comments

@NicoleYarroch
Copy link
Contributor

Bug Report

Experienced a crash in SDLChoiceSetManager due to multiple threads accessing nonatomic NSMutableSets preloadedMutableChoices and pendingMutablePreloadChoices.

Reproduction Steps

This bug is difficult to reproduce due to this being a race condition. I've only seen this bug once.

  1. Create multiple choice sets using the Screen Manager API.
  2. Connect app to head unit.
Expected Behavior

The app does not crash

Observed Behavior

The app does crash due to multiple threads trying to access preloadedMutableChoices and pendingMutablePreloadChoicesin the SDLChoiceSetManager.

OS & Version Information
  • iOS Version: n/a
  • SDL iOS Version: 6.5
  • Testing Against: n/a
Test Case, Sample Code, and / or Example App

Testing with Livio music player.

@NicoleYarroch NicoleYarroch added bug A defect in the library manager-screen Relating to the manager layer - screen managers labels Mar 13, 2020
@joeljfischer joeljfischer added this to To do in v6.6.0 Mar 18, 2020
v6.6.0 automation moved this from To do to Done Apr 3, 2020
@joeljfischer joeljfischer mentioned this issue Apr 29, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library manager-screen Relating to the manager layer - screen managers
Projects
No open projects
v6.6.0
  
Done
Development

No branches or pull requests

2 participants