nasa / FM

The Core Flight System (cFS) File Manager (FM) application.
Apache License 2.0
43 stars 25 forks source link

Unrepeatable queue full error during FM File Info Command #5

Open skliper opened 2 years ago

skliper commented 2 years ago

The FM main task has an internal queue to pass commands to the FM child task. Most command are executed by the child task since the command execution time is unknown or variable.

A stakeholder has experience two cases where an FM command somehow broke the FM main task and FM child task communication. The FM main task says the internal queue is full and the child task says it's waiting for the next command.

In flight, this problem seemed to go away after 20 minutes and the FM child task reported the 3 queued commands had warnings. When it happened on the ground we didn't wait long enough to see if it would clear up.

It appears the sem give/take got confused. Not sure how this can happen.

Observed on system using Vxworks 6.7, CFE 6.4.2, FM 2.4.2.

Imported from GSFCCFS-941

jeffstjean commented 6 months ago

Is there a reason that FM doesn't use an OSAL queue? Seems like it already has all the features required to be used here in FM