smartdevicelink / sdl_core

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

SDL core dump on Ignition OFF during registering Apps #3857

Closed VjKlepikov closed 2 years ago

VjKlepikov commented 2 years ago

Bug Report

SDL core dump on Ignition OFF during registering Apps

Occurrences:

~10%

Reproduction Steps
  1. SDL and HMI are started
  2. Connect mobile device via USB transport.
  3. Perform ignition Off during registering Apps (25 Apps) On "HMI" go to → Click the "Exit Application" button → Select “IGNITION_OFF” in “Exit Application reason” → Click the Send state button
Expected Behavior

SDL starts the ignition off sequence

  1. SDL sends to HMI OnSDLClose and stops working SDL->HMI: BasicCommunication.OnSDLClose:{}
Observed Behavior

SDL starts the ignition off sequence

  1. SDL sends to HMI OnSDLClose and stops working SDL->HMI: BasicCommunication.OnSDLClose:{} Core dump is observed SIGSEGV caught DEBUG [139969695552064][SDLMain] /home/jenkins/workspace/Develop_SDL_NoUT_P/src/appMain/life_cycle_impl.cc:241 {anonymous}::sig_handler: SIGSEGV signal has been caught
OS & Version Information
Logs:

Logs.zip

VjKlepikov commented 2 years ago

Please notice this is a non-regression issue. It's also reproduced on 8.0

VjKlepikov commented 2 years ago

@theresalech Please notice Luxoft team is going to prepare a fix

ShobhitAd commented 2 years ago

@VjKlepikov I was able to reproduce this issue on my end manually but might need an ATF tests PR to more easily test the fix .

VjKlepikov commented 2 years ago

@ShobhitAd Please find PR with the script in https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2694

ShobhitAd commented 2 years ago

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