-
Notifications
You must be signed in to change notification settings - Fork 243
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
CCB: Fix mutex deadlock on VR.ChangeLanguage received #3175
Comments
@joeygrover -san @theresalech -san This issue is a top priority for Toyota. Can the reproduction steps described actually reproduce this issue? Also, does this issue occur in the latest version? |
Hi @E-SAITO-TMC, we have documented that this is priority for Toyota, and will include for Steering Committee review and vote when planning the contents for the Q4 Core release. This planning will take place in June. |
Hi @theresalech this issue was fixed on SYNC without specific test cases. |
@theresalech Full regression was checked on #3370. Results are similar to develop |
Closing with the merge of #3370 |
Bug Report
Mutex deadlock on VR.ChangeLanguage received
Detailed analysis:
There is a problem that on receiving VR.ChangeLanguage SDL is holding application lock via accessor and tries to send some notifications from the same thread.
For sending notifications SDL should check policy permissions for that notification and hance, to acquire policy lock.
At the same time, PTU could happen in a separate thread and during PTU policy lock could be acquired. Also, during PTU SDL will try to acquire applications lock from this thread, however it is acquired by another thread which executing VR.ChangeLanguage request.
As a result, we receive thread deadlock. To avoid this deadlock, accessor in VR.ChangeLanguage should be scoped in the same manner as for UI and TTS parts.
Reproduction Steps
Expected Behavior
SDL should not crash
Observed Behavior
SDL crashed
OS & Version Information
The text was updated successfully, but these errors were encountered: