flinux
flinux copied to clipboard
`ruby -v` seems to hang
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 ~]#
Verified here. Seems to be something related to futex() system call.
This problem is caused by not sending EOF event when close a pipe while another thread is polling it.