You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Related to #1493, no built in protection from possible race conditions with global table data if tables are shared/unshared/unregistered currently with other management functions from multiple tasks.
Note, looks avoidable if CFE_TBL_Register and CFE_TBL_Share happen at startup and shared tables don't CFE_TBL_Unregister. But still need to keep in mind blocking related to management and how updates work.
To Reproduce
Via inspection...
Expected behavior
No race. Add locks or disallow API use in certain system states. Consider if simplification is possible based on actual use cases.
Code snips
See above
System observed on:
NA - inspection
Additional context
Code review
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Describe the bug
Related to #1493, no built in protection from possible race conditions with global table data if tables are shared/unshared/unregistered currently with other management functions from multiple tasks.
CFE_TBL_GetInfo
example:cFE/modules/tbl/fsw/src/cfe_tbl_api.c
Lines 1448 to 1454 in 82c1bd4
CFE_TBL_Modified
example:cFE/modules/tbl/fsw/src/cfe_tbl_api.c
Lines 1562 to 1572 in 82c1bd4
Note, looks avoidable if
CFE_TBL_Register
andCFE_TBL_Share
happen at startup and shared tables don'tCFE_TBL_Unregister
. But still need to keep in mind blocking related to management and how updates work.To Reproduce
Via inspection...
Expected behavior
No race. Add locks or disallow API use in certain system states. Consider if simplification is possible based on actual use cases.
Code snips
See above
System observed on:
NA - inspection
Additional context
Code review
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: