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

Switch from semaphore to mutex #672

Merged
merged 5 commits into from
Feb 26, 2024
Merged

Conversation

ktmf01
Copy link
Collaborator

@ktmf01 ktmf01 commented Feb 26, 2024

After trying for quite a while to find the source of some hard-to-reproduce fuzz bugs, this PR seems the best fix. While I was unable to find the exact cause, commit 8b30a36 did indeed trigger threadsanitizer, so it seemed the semaphores sometimes work in ways I do not understand.

Mutexes, while needing more syscalls, are easier to comprehend. While I haven't yet run local fuzzing for long enough to be able to assume the bug has been fixed, I am creating this PR to run CI and CI-Fuzz.

@ktmf01 ktmf01 merged commit 7f7da55 into xiph:master Feb 26, 2024
14 checks passed
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.

1 participant