smartdevicelink / sdl_core

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

Crash due to invalid applications iterator in OnLanguageChange #3805

Closed iCollin closed 2 years ago

iCollin commented 2 years ago

Bug Report

A rare crash occurs when registering apps around an OnLanguageChange notification from HMI

Reproduction Steps
  1. Connect apps with EN-US language option
  2. Change HMI UI and TTS+VR language to FR-CA
  3. Connect more apps with EN-US language option and quickly unregister them
Expected Behavior

Core does not crash

Observed Behavior

Core crashes

SIGSEGV in __gnu_cxx::__atomic_add (__mem=0xd, __val=1)
OS & Version Information

3 backtraces

iCollin commented 2 years ago

Closed via https://github.com/smartdevicelink/sdl_core/pull/3806