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
{{ message }}
Repository navigation
Reline hangs on Windows 11 when previously calling Open3 #827
And I think it is fixed with #734 and released as v0.5.10 in September 05, 2024.
Please let us know if issue still exist in the latest Reline.
According to the past investigation, it happens after popen or backtick, and perhaps any external command execution. At least one of the cause is fixed in v0.5.10.
Since I have no idea of the cause (and no windows machine), it'd be very helpful if someone could debug it.
I was able to reproduce a similar situation.
irb killed silently when Open3.capture3('git status') entered.
This occurs when using Microsoft's Application Verifier with ruby.
Similar debuggers or process monitors may have been running in other cases as well.
The error is likely being masked by some layer, so it doesn't usually show up.
The cause appears to be that when ruby performs a redirect, dup2 overwrites the standard handle, causing the original handle to be closed.
Passing HANDLE_FLAG_PROTECT_FROM_CLOSE to SetHandleInformation did not improve the situation, so I will try duplicating the handle.
I have resolved the issue on my end, but since the occurrence varies depending on the environment, we need other examples.
I'll also report it to oneclick/rubyinstaller2#288
Activity
elfham commentedon May 18, 2025
oneclick/rubyinstaller2#288 (comment)
Reline outputs the character
▽to the terminal to identify the character width of the terminal.reline/lib/reline.rb
Line 418 in 97bd40a
It seems to be stuck at this point.
tompng commentedon May 18, 2025
Similar issue is reported in #545 #676.
And I think it is fixed with #734 and released as v0.5.10 in September 05, 2024.
Please let us know if issue still exist in the latest Reline.
According to the past investigation, it happens after popen or backtick, and perhaps any external command execution. At least one of the cause is fixed in v0.5.10.
Since I have no idea of the cause (and no windows machine), it'd be very helpful if someone could debug it.
Validate encoding of lines in inputrc file before processing (ruby#827)
Validate encoding of lines in inputrc file before processing (ruby#827)
johnnyshields commentedon Aug 1, 2025
I confirmed this issue is not yet fixed. It still happens on Windows 11 with:
On Windows I can reproduce it by running the following in IRB:
YO4 commentedon Dec 9, 2025
I was able to reproduce a similar situation.
irb killed silently when
Open3.capture3('git status')entered.This occurs when using Microsoft's Application Verifier with ruby.
Similar debuggers or process monitors may have been running in other cases as well.
The error is likely being masked by some layer, so it doesn't usually show up.
The cause appears to be that when ruby performs a redirect,
dup2overwrites the standard handle, causing the original handle to be closed.Passing HANDLE_FLAG_PROTECT_FROM_CLOSE to SetHandleInformation did not improve the situation, so I will try duplicating the handle.
YO4 commentedon Dec 10, 2025
I posted PR #875.
I have resolved the issue on my end, but since the occurrence varies depending on the environment, we need other examples.
I'll also report it to oneclick/rubyinstaller2#288