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

SEGV when parsing incorrect data in config file #1431

Closed
hifiberry opened this issue Feb 11, 2022 · 5 comments
Closed

SEGV when parsing incorrect data in config file #1431

hifiberry opened this issue Feb 11, 2022 · 5 comments

Comments

@hifiberry
Copy link

Just had my system crashing here. After some debugging, I figured, that there was an incorrect entry in the configuration file:

    wait_for_completion = "NaN";

With this (incorrect) configuration, shairport-sync (latest development release) crashed with a segmentation fault. I understand that the configruation is incorrect, but sahirport-sync should ignore it, report it or something like this, not crash.

@mikebrady mikebrady reopened this Feb 11, 2022
@mikebrady mikebrady added the bug label Feb 12, 2022
@mikebrady
Copy link
Owner

You are right of course! 😊

@mikebrady
Copy link
Owner

Thanks again for the bug report. The fix will appear shortly in a development update. It turns out that there were a number of similar errors; hopefully they have been caught.

Some of them are meant to cause Shairport Sync to exit somewhat gracefully, but they should put a message in the log.

@hifiberry
Copy link
Author

👍

@mikebrady
Copy link
Owner

Just FYI, that push to the development branch has been done.

@github-actions
Copy link

github-actions bot commented May 2, 2022

This issue has been inactive for 45 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants