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
First i instal the default-jdk
The file is c/dev
i run javac tree.java to compile as i do on "real" ubuntu
doesn't appear any error just do not compile
JRE is known to hang because one of the subprocesses goes into a loop and a futex blocks forever (#541). I compiled IcedTea on native Ubuntu and copied the tree over to WSL to try and track down why, but I couldn't get gdb running (it's a tough enough slog in the best of circumstances) and gave up before long. JRE tortures pretty much every syscall under the sun so it seems premature to try tackling such a big a codebase while there remains known unimplemented syscall surface. I am pretty sure it is a shm/signal/lock/wait pthready thing, but that doesn't tell Ben much.
If you don't want to close the terminal you can hit Ctrl-Z (SIGTSTP) and then kill the process with a SIGKILL. I don't know why it doesn't trap Ctrl-C (SIGINT).
Yeah I should have been more explicit. I was meaning it is on-topic because SIGINT works in general. Whatever is hosing JRE apps that use (as of this writing ) unknown constructs hoses it good. I tried to track it to a concrete test case but stracing all of the javac threads is a bear.
Activity
benhillis commentedon Jun 22, 2016
ricardosantos9521 Thank you for reporting this issue. Could you share some more information with me please?
ricardosantos9521 commentedon Jun 22, 2016
First i instal the default-jdk
The file is c/dev
i run javac tree.java to compile as i do on "real" ubuntu
doesn't appear any error just do not compile
therealkenc commentedon Jun 22, 2016
JRE is known to hang because one of the subprocesses goes into a loop and a futex blocks forever (#541). I compiled IcedTea on native Ubuntu and copied the tree over to WSL to try and track down why, but I couldn't get gdb running (it's a tough enough slog in the best of circumstances) and gave up before long. JRE tortures pretty much every syscall under the sun so it seems premature to try tackling such a big a codebase while there remains known unimplemented syscall surface. I am pretty sure it is a shm/signal/lock/wait pthready thing, but that doesn't tell Ben much.
therealkenc commentedon Jun 26, 2016
If you don't want to close the terminal you can hit
Ctrl-Z(SIGTSTP) and then kill the process with a SIGKILL. I don't know why it doesn't trapCtrl-C(SIGINT).therealkenc commentedon Jun 26, 2016
Yeah I should have been more explicit. I was meaning it is on-topic because SIGINT works in general. Whatever is hosing JRE apps that use (as of this writing ) unknown constructs hoses it good. I tried to track it to a concrete test case but stracing all of the javac threads is a bear.
therealkenc commentedon Jun 29, 2016
Workaround Iurii Egorov (@leninalive) posted in #541 seems to solve.
philharmonikerzzy commentedon Jul 6, 2016
Does this issue share the same cause as that of not being able to run maven for bash for windows? They seem to hang in the same way.
benhillis commentedon Sep 11, 2016
Marking as duplicate of #746.