flinux icon indicating copy to clipboard operation
flinux copied to clipboard

`ruby -v` seems to hang

Open factormystic opened this issue 9 years ago • 2 comments

It works, but I have to ctrl+c to get back to my terminal.

[root@ForeignLinux ~]# ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [i686-linux]

[1]+  Stopped                 ruby -v

[root@ForeignLinux ~]# jobs
[1]+  Stopped                 ruby -v
[root@ForeignLinux ~]#

factormystic avatar Feb 26 '16 16:02 factormystic

Verified here. Seems to be something related to futex() system call.

wishstudio avatar Feb 28 '16 03:02 wishstudio

This problem is caused by not sending EOF event when close a pipe while another thread is polling it.

wishstudio avatar Mar 22 '16 18:03 wishstudio