-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Interrupted select() when using a timeout in process.read #2861
Comments
Hi! Thanks for reporting. Any chance you could reproduce with |
Oh right, I think it's been fixed in Apologies for the noise.
|
Thanks for reporting! This is fixed in |
Describe the bug
When I set a non-zero
timeout
value inprocess.read
, I am gettingliquidsoap
crash with the following message:Here's relevant part of the script:
Removing the
timeout
value fixes the crashes.Looking at
strace
, it looks like this is caused by the process getting a SIGCHLD when the script I am calling finishes its execution:I suspect the solution might be to handle
Unix.EINTR
inTutils.wait_for
.Version details
Install method
Official docker container (savonet/liquidsoap:v2.1.3).
The text was updated successfully, but these errors were encountered: