Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1724

binder accepts requests before being ready to serve it

WatchersRequirement Yogi links...
    XMLWordPrintable

    Details

      Description

      In complex cases the binder could serve requests before having started APIs. In some complex cases it could lead to failure of initialization.

      The static declaration of required/provided class/api available in bindings v3 already solves the problem.

      But exporting API after initialization will solve the case even if bindings forget to declare their requirements.

      The issue was discovered because the service pulseaudio has no require on service-audio-4a but accesses it while at the same time service-audio-4a waited a foreign reply to achieve its initialization. Because features of bindings version 3 are not used (to ensure backward port to EE) the message get_role of pulse audio lead to correctly detected error that made initialization of the whole service failing.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              jobol-iot josé bollo
              Reporter:
              jobol-iot josé bollo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: