Skip to content

CF App Cutting Transfers Off #768

Closed Answered by stephen-hunt
stephen-hunt asked this question in Q&A
Discussion options

You must be logged in to vote

So, this was a me problem. Inspired by a discussion on the CF app, I made changes to remove the Software Bus from the app and use POSIX pipes instead. Those changes have been quite helpful to transfer robustness.

But I created a bug where CFE_SB_ReleaseMessageBuffer(CF_AppData.engine.out.msg); was getting called when producing the output message, but CFE_SB_ReleaseMessageBuffer(CF_AppData.engine.out.msg); was never called. I assume the release also occurs in CFE_SB_TransmitBuffer(CF_AppData.engine.out.msg, true);

Releasing the buffer after sending it into the pipe resolved the problem.

Thank you for the responses and help.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@skliper
Comment options

@stephen-hunt
Comment options

@stephen-hunt
Comment options

@stephen-hunt
Comment options

Answer selected by stephen-hunt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants