nasa / cFE

The Core Flight System (cFS) Core Flight Executive (cFE)
Apache License 2.0
402 stars 198 forks source link

Generic Pool fail for SC when a higher number of tables are registered #2567

Open igorluppi opened 1 month ago

igorluppi commented 1 month ago

Checklist (Please check before submitting)

Describe the bug CFE_TBL_Register fails to register new SC tables when a bigger number of tables are used. This was not a problem before draco-rc4 I guess, because it was introduced in the MemPoolGeneric module.

To Reproduce Steps to reproduce the behavior:

  1. Set RTS Tables to 512
  2. Change de RTS tables maximum words to 3000

Expected behavior CFE_TBL shall have a fail stat (log below) and SC is killed.

Code snips 1980-012-14:03:20.57933 CFE_TBL_Register: 1st Buf Alloc GetPool fail Stat=0xC4000008 MemPoolHndl=0x00140002

System observed on:

Additional context Using cFS 6.5 it was pretty ok to use 512 RTS tables with 3000 words in SC App to register the tables, the difference was that no MemPoolGeneric existed to manage the tables register.

Reporter Info Igor Luppi