Skip to content

javac on BashOnWindows #566

Closed
Closed

Description

@ricardosantos9521

After the update for the build 14367 the javac doesn't compile anymore. Please solve this.

Activity

  1. benhillis commented on Jun 22, 2016

    @benhillis
    Member

    ricardosantos9521 Thank you for reporting this issue. Could you share some more information with me please?

    1. What is the location of the javac source you are compiling?
    2. What build command are you running?
    3. What errors are you seeing?
  2. ricardosantos9521 commented on Jun 22, 2016

    @ricardosantos9521
    Author

    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

  3. therealkenc commented on Jun 22, 2016

    @therealkenc

    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.

  4. therealkenc commented on Jun 26, 2016

    @therealkenc

    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).

  5. therealkenc commented on Jun 26, 2016

    @therealkenc

    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.

  6. therealkenc commented on Jun 29, 2016

    @therealkenc

    Workaround Iurii Egorov (@leninalive) posted in #541 seems to solve.

  7. philharmonikerzzy commented on Jul 6, 2016

    @philharmonikerzzy

    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.

  8. benhillis commented on Sep 11, 2016

    @benhillis
    Member

    Marking as duplicate of #746.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions