wishstudio / flinux

Foreign LINUX - Run unmodified Linux applications inside Windows.
GNU General Public License v3.0
3.58k stars 244 forks source link

`ruby -v` seems to hang #88

Open factormystic opened 8 years ago

factormystic commented 8 years ago

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 ~]#
wishstudio commented 8 years ago

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

wishstudio commented 8 years ago

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