You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I could trace back a weird termination in nushell on linux to an EINTR returned by a poll call in rustyline.
The issue occurs when I run qterminal -e nu, but is timing dependent and may be not reproducible on other devices. Even small changes like additional logging changed the behavior during debugging.
There are multiple potential fixes:
Repeat the call on EINTR.
use sigaction to repeat all interrupted syscalls. This may prevent multiple similar issues, but unfortunately it is a program-wide change.
I will send a pull request soon, with a fix for option 1.
The text was updated successfully, but these errors were encountered:
Hello,
I could trace back a weird termination in nushell on linux to an EINTR returned by a
poll
call in rustyline.The issue occurs when I run
qterminal -e nu
, but is timing dependent and may be not reproducible on other devices. Even small changes like additional logging changed the behavior during debugging.There are multiple potential fixes:
sigaction
to repeat all interrupted syscalls. This may prevent multiple similar issues, but unfortunately it is a program-wide change.I will send a pull request soon, with a fix for option 1.
The text was updated successfully, but these errors were encountered: