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 crash during resumption of big amount of data #3892

Closed VjKlepikov closed 2 years ago

VjKlepikov commented 2 years ago

Bug Report

SDL Core crash during resumption of big amount of data

Occurrence: 0.1%
Reproduction Steps
  1. App is registered and activated on HMI
  2. App adds 20 SubMenus, 20 commands, 20 choice sets
  3. Unexpected Disconnect/Reconnect
  4. App re-registers
Expected Behavior

App's data resumed successfully

Observed Behavior

Core crash smartDeviceLinkCore: /home/jenkins/workspace/Release_8.1_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: release/8.1.0 (1c79adc) (also reproduced in 8.0.0)

Test Case, Sample Code, and / or Example App

./test_scripts/Smoke/Resumption/005_Resumption_big_amount_of_data.lua

Logs:

2022-03-28_00-48-14.181_failed.tar.gz

jacobkeeler commented 2 years ago

Theoretically fixed by #3900 @VjKlepikov feel free to reopen this issue if you are able to reproduce the issue again