Skip to content

Shutdown-path memory leak observed during instrumented testing #1037

@jackwill-hub

Description

@jackwill-hub

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
Instrumented testing reported a possible shutdown-path memory leak. This may indicate a resource cleanup issue during application or object teardown.

To Reproduce
Steps to reproduce the behavior:

Build cFS with sanitizer support enabled.

  • Start the runtime and execute the test scenario on the code snippets.
  • Stop the runtime cleanly.
  • Review the runtime log and see detected memory leaks.

Expected behavior
Shutdown should complete without sanitizer-reported memory leaks.

Code snips
cFS/cfe/modules/es/fsw/src/cfe_es_start.c
cFS/cfe/modules/es/fsw/src/cfe_es_apps.c
cFS/cfe/modules/es/fsw/src/cfe_es_objects.c

System observed on:
Versions: cFS repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions