Fixed
Details
Details
Assignee
jose bollo
jose bolloReporter
Jonathan Aillet
Jonathan AilletFix versions
Labels
Contract ID
Components
Priority
Created February 28, 2019 at 2:32 PM
Updated September 19, 2019 at 12:06 PM
Resolved March 29, 2019 at 10:19 AM
In some occasion, using an 'afb_api_call_sync'/'afb_api_call_sync_legacy' results in an crash when there are launched from an application framework event handler function (registered using 'afb_api_on_event' function).
Error returned before crash : CRITICAL("Can't enter dispatch while in dispatch!").
The changes to prevent these errors in 'libappcontroller' by using asynchronous calls are already in review (https://gerrit.automotivelinux.org/gerrit/#/c/20323/).
But, even if it's not recommended to use synchronous calls in event handler, can something be done in the application framework to prevent this type of issue to happen ?