Skip to content

Core dump on ignition off during registering 20 apps#254

Open
RomanReznichenkoLuxoft wants to merge 5 commits intodevelopfrom
fix/core_dump_on_ignition_off_during_registering_20_apps
Open

Core dump on ignition off during registering 20 apps#254
RomanReznichenkoLuxoft wants to merge 5 commits intodevelopfrom
fix/core_dump_on_ignition_off_during_registering_20_apps

Conversation

@RomanReznichenkoLuxoft
Copy link

@RomanReznichenkoLuxoft RomanReznichenkoLuxoft commented Dec 15, 2021

Fixes #12637

This PR is ready for review.

Risk

This PR makes no API changes.

Summary

SDL core dump on Ignition OFF during registering 20 Apps.
During application registration, the ignition is turned off and the fields of the ApplicationManagerImpl object are deleted. We were unable to delete the fields that are deleted after exiting the destructor. Because we used them in other threads. After that, there was a hang of SDL, because we used two mutexes in different sequences in different places.
Then there was a crash due to the use of non-synchronized data in the objects of the Application.
Fixing this opened a drop in the RequestControllerImpl. The fall was due to the fact that sdl uses smart pointers, and they are copied to different threads. So I added delete mobile of the requests in the threads processing these request.

CLA

@LitvinenkoIra LitvinenkoIra changed the title core dump on ignition off during registering 20 apps [WIP] core dump on ignition off during registering 20 apps Jan 17, 2022
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch from b6a4138 to cfe0d5e Compare January 18, 2022 11:18
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 2 times, most recently from 3ef0d35 to d3d8a29 Compare February 5, 2022 13:25
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft changed the title [WIP] core dump on ignition off during registering 20 apps Core dump on ignition off during registering 20 apps Feb 6, 2022
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 2 times, most recently from dc484f8 to 21fc6d3 Compare February 9, 2022 17:16
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch from 21fc6d3 to ac51df2 Compare February 16, 2022 15:23
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 4 times, most recently from 45a87a0 to f238a42 Compare April 4, 2022 17:13
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch from f238a42 to aa44a56 Compare April 14, 2022 07:59
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 4 times, most recently from 44b3348 to 53a96bc Compare May 11, 2022 10:37
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 2 times, most recently from 315c44d to ed34a73 Compare May 25, 2022 17:01
…tructor in the application

Synchronization of data in threads and controlled deletion in the destructor in the application
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 5 times, most recently from e88f0f9 to 819a6fd Compare June 1, 2022 14:18
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch 2 times, most recently from 8d69abc to 88591b1 Compare June 7, 2022 15:24
@RomanReznichenkoLuxoft RomanReznichenkoLuxoft force-pushed the fix/core_dump_on_ignition_off_during_registering_20_apps branch from 88591b1 to 70e4d17 Compare June 8, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants