Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nasa/nos3#426] Resolve SBN Segfault when client not available #432

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

jlucas9
Copy link
Contributor

@jlucas9 jlucas9 commented Dec 18, 2024

It was reported that SBN would segfault and then crash all of FSW should it not be able to create the connection to a client. The SBN code was updated to default to localhost should hostname resolution fail.

How to test:

  • In ./scripts/fsw/fsw_cfs_launch.sh comment out OnAIR
  • make clean && make
  • make launch
  • Confirm OnAIR not running (see simulator tabs) and that FSW does not crash

The following merge requests must be closes and submodules updated here prior to closure:

Closes #426

@zlynch2
Copy link

zlynch2 commented Dec 18, 2024

Tested, commented out lines 96-98 onair launch in fsw_cfs_launch.sh script. I would suggest making that comment permanent if we dont want to launch onair at this current merge.

Onair isnt running, comfirmed commanding and telemetry with YAMCS. Approving.

Copy link
Contributor

@kevincbruce kevincbruce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabled OnAIR and confirmed, it will not crash with it disabled.

Copy link

@dacarter22 dacarter22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran sucessfully with lines 96-98 commented out

@kevincbruce kevincbruce merged commit 31a3b2f into dev Dec 21, 2024
2 checks passed
@jlucas9 jlucas9 deleted the nos3#426-SBN-segfault branch January 6, 2025 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants