-
Notifications
You must be signed in to change notification settings - Fork 244
Description
Bug Report
SDL Core crash ''Unhandled smart object type'' during fails resumption for 1st app and succeeded for 2nd app in case if HMI responds with result code to at least one request from SDL related to the 1st app
Occurrences:
0.1%
Reproduction Steps
- Two App are registered
- Apps added some resumption data
- Ignition On/Off
- App re-connected
- During resumption SDL sends requests to HMI
- HMI responds with result code to at least one request from SDL related to the 1st app
Expected Behavior
SDL does respond RegisterAppInterfaceResponse(success=true,result_code=RESUME_FAILED) to mobile application app1
SDL restores all data for app2
SDL respond RegisterAppInterfaceResponse(success=true,result_code=SUCCESS) to mobile application app2
Observed Behavior
Core crash
smartDeviceLinkCore: /home/jenkins/workspace/Issue_12914_SDL_NoUT_H/src/components/smart_objects/src/smart_object.cc:723: void ns_smart_device_link::ns_smart_objects::SmartObject::duplicate(const ns_smart_device_link::ns_smart_objects::SmartObject&): Assertion `(!"Unhandled smart object type")' failed.
OS & Version Information
- OS/Version: Ubuntu 18.04
- SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (65947fd)
Test Case, Sample Code, and / or Example App
./test_scripts/Resumption/Handling_errors_from_HMI/008_resume_all_data_with_one_error_rpc_2apps_ign_off.lua