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

CCB: SDL crash on set_delegate on shutdown #3178

Closed
LitvinenkoIra opened this issue Dec 6, 2019 · 6 comments
Closed

CCB: SDL crash on set_delegate on shutdown #3178

LitvinenkoIra opened this issue Dec 6, 2019 · 6 comments

Comments

@LitvinenkoIra
Copy link
Contributor

Bug Report

SDL crash on set_delegate on shutdown

Detailed analysis:

The core crash shows evidence that something around set_delegate is
crashing, on the other hand ~MessageLoopThread is deleting the thread
and not assigning the thread pointer to NULL which is necessary to avoid
undefined behavior

Reproduction Steps
  1. Start SDL, HMI, connect Mobile
  2. Perform Ign Off
Expected Behavior

SDL should not crash

Observed Behavior

SDL crashed

OS & Version Information

@E-SAITO-TMC
Copy link

E-SAITO-TMC commented Apr 17, 2020

@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?

@theresalech
Copy link
Contributor

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.
@LitvinenkoIra, can you please advise if the Luxoft team is seeing this issue in Core 6.1?

@theresalech theresalech added the Waiting for Feedback Maintainers are waiting for feedback from an author or contributor label Apr 23, 2020
@LuxoftAKutsan
Copy link
Contributor

@theresalech
Issue reproduced on SYNC version of SDL.
On open source version of SDL issue may be non reproducible.
Script will be created.
Fix from SYNC adopted for 6.1 codebase #3382

@theresalech theresalech added fix submitted and removed Waiting for Feedback Maintainers are waiting for feedback from an author or contributor labels May 20, 2020
@aderiabin
Copy link

aderiabin commented Aug 28, 2020

@theresalech Please notice the following findings:

Script for provided use case has been created: 3178.lua.tar.gz
ATF: develop
Test sctipts: develop

Issue was not reproduced on latest SDL develop - neither with fix nor without it.

There could be several reasons why issue is not reproduced in open source environment :

  • Timings on Mobile\HMI communication may be different on CI/developer workstation and real hardware
  • QNX platform specific issues may trigger this case
  • Different CPU resources available on HU, and developer/CI.

Anyway script can be used to check use case on real hardware with Remote ATF feature.
And we think proposed fix should be included since it solves 'potential' problem.

@LuxoftAKutsan
Copy link
Contributor

The issue is covered with a #3388 fix.

@jacobkeeler
Copy link
Contributor

Closing as covered by #3388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants