-
Notifications
You must be signed in to change notification settings - Fork 37
Murex gets stuck in loop due to EAGAIN #958
Copy link
Copy link
Open
Labels
bugUnexpected behaviorUnexpected behaviordeployed to `develop`Feature built. Currently BETA testing in the `develop` branchFeature built. Currently BETA testing in the `develop` branchin progressIssue is currently being worked on (possibly in a feature branch)Issue is currently being worked on (possibly in a feature branch)
Metadata
Metadata
Assignees
Labels
bugUnexpected behaviorUnexpected behaviordeployed to `develop`Feature built. Currently BETA testing in the `develop` branchFeature built. Currently BETA testing in the `develop` branchin progressIssue is currently being worked on (possibly in a feature branch)Issue is currently being worked on (possibly in a feature branch)
Describe the bug:
Not sure if this is properly a
murexorreadlinebug, but I'm leaning Murex, so I'll open it here.When I use Murex on Linux to run a command which sets stdin to non-blocking and doesn't set it back, the line
read /dev/stdin: resource temporarily unavailablerepeatedly spams my terminal so fast I can't even kill Murex with Ctrl+C. I have to close my terminal emulator.Expected behaviour:
At least one of
murexandreadlineshould handle this more gracefully.Screenshots:
N/A
Platform (please complete the following information):
uname -aif supported:6.17.5-arch1-1version --no-app-name:7.1.4143 (unknown)Additional context
I encountered this by running the Curl test suite with
make testfrom thecurlsource directory, but I was able to get an LLM to generate a one-liner that reproduces the issue:python3 -c "import fcntl,os,sys; fcntl.fcntl(0,fcntl.F_SETFL,fcntl.fcntl(0,fcntl.F_GETFL)|os.O_NONBLOCK); print('stdin now non-blocking')"The issue doesn't occur when I run the above python command in
bashandfish.