nasa / nasa/SC

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

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
46
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

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:

  • Hardware
  • OS: Linux Ubuntu 24
  • Versions Draco-rc4

Additional context
I may open an issue in CFE_ES, once its not quite just a SC bug. Also, using cFS 6.5 it was pretty ok to use 512 RTS tables with 3000 words, the difference was that no MemPoolGeneric existed to manage the tables register.

Reporter Info
Igor Luppi

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with 512 RTS tables and a 3000-word maximum, then trace CFE_TBL_Register through the MemPoolGeneric module. Compare this behavior with cFS 6.5 if available; done means the larger SC table configuration registers successfully without the reported pool-allocation failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.