Skip to content

SDL Core crash 'Unhandled smart object type' during fails resumption for 1st app #3917

Description

@VjKlepikov

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
  1. Two App are registered
  2. Apps added some resumption data
  3. Ignition On/Off
  4. App re-connected
  5. During resumption SDL sends requests to HMI
  6. 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
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

Logs:

2022-05-16_10-40-17.478_failed.tar.gz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions