-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javac on BashOnWindows #566
Comments
@ricardosantos9521 Thank you for reporting this issue. Could you share some more information with me please?
|
First i instal the default-jdk |
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. |
I tried the same with openjdk 7 with simple helloworld program, and it hangs. Had to close the terminal and restart again. |
If you don't want to close the terminal you can hit |
Ctrl-Z did work, but not sure why Ctrl-C wasn't working. Probably its not implemented yet? Sorry to deviate from the actual topic, is there any document/link which has the list of syscalls that are implemented? Edit: Ctrl-C is working for other executable (tried python http-server). So it is not working only with javac. |
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. |
I also can not run javac in bash for windows. Is there any solution to this problem? |
Workaround @leninalive posted in #541 seems to solve. |
Yep. That worked as of now. |
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. |
Marking as duplicate of #746. |
After the update for the build 14367 the javac doesn't compile anymore. Please solve this.
The text was updated successfully, but these errors were encountered: