smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
240 stars 245 forks source link

SDL sometimes doesn't send BC.OnAppUnregistered in case HMI close an app with RESOURCE_CONSTRAINT reason #3865

Open GetmanetsIrina opened 2 years ago

GetmanetsIrina commented 2 years ago

Bug Report

SDL sometimes doesn't send BC.OnAppUnregistered in case HMI close an app with RESOURCE_CONSTRAINT reason.

Occurrences

~0.5-0.9%

Reproduction Steps
  1. SDL and HMI are started
  2. App is registered on default mobile connection
  3. App is activated
  4. HMI sends BC.OnExitApplication with reason: RESOURCE_CONSTRAINT related to App to SDL
Expected Behavior

SDL sends BC.OnAppUnregistered notification to HMI

Observed Behavior

SDL doesn't send a notification to HMI

OS & Version Information
Test Case, Sample Code, and / or Example App
GetmanetsIrina commented 2 years ago

This is the same issue as https://github.com/smartdevicelink/sdl_core/issues/3561 from the scope of 8.1 release, but I can see this issue on the current develop branch (b74c738). On my environment, this issue is reproduced about ~2% on the 8.0.0 release and about ~0.5-0.9% on the current develop branch

GetmanetsIrina commented 2 years ago

Luxoft team is going to prepare a fix