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

sigtimedwait01,sigwaitinfo01 infinite loop (timeout) on musl #1090

Open
richiejp opened this issue Sep 28, 2023 · 0 comments
Open

sigtimedwait01,sigwaitinfo01 infinite loop (timeout) on musl #1090

richiejp opened this issue Sep 28, 2023 · 0 comments
Labels

Comments

@richiejp
Copy link
Contributor

The test calls sigtimedwait with an empty set. Then sends SIGUSR1 to the waiting process. This causes the sigtimedwait syscall to return with EINTR, but musl helpfully restarts the system call. So we just loop inside libc.

@richiejp richiejp added the bug label Sep 28, 2023
@richiejp richiejp changed the title sigtimedwait01 infinite loop (timeout) on musl sigtimedwait01,sigwaitinfo01 infinite loop (timeout) on musl Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant