Details
-
Bug
-
Resolution: Fixed
-
Major
-
Guppy, master
Description
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 ?