Skip to content
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

Trying to install SBT hangs #813

Closed
harshhpareek opened this issue Aug 8, 2016 · 11 comments
Closed

Trying to install SBT hangs #813

harshhpareek opened this issue Aug 8, 2016 · 11 comments

Comments

@harshhpareek
Copy link

Please use the following bug reporting template to help produce actionable and reproducible issues:

See our contributing instructions for assistance.

@harshhpareek
Copy link
Author

I removed sbt as installed above, and installed sbt with the Windows installer as described in http://www.scala-sbt.org/release/docs/Installing-sbt-on-Windows.html. This worked fine in cmd.exe but in bash, it hangs again. Looks like this is a compatibility problem between sbt and bash on Windows

@aseering
Copy link
Contributor

aseering commented Aug 8, 2016

Hi @harshhpareek , thanks for reporting this bug! Could you elaborate, though, on why you say "N/A" for the strace? I would be interested to see an strace of the sbt command, to see specifically what syscall or other operation it is hanging on.

@aseering
Copy link
Contributor

aseering commented Aug 8, 2016

Also, I assume this tool (like much of Scala) is built on top of the JVM? Note that there are many tickets in this bugtracker about bugs in support for common Java JVM implementations; there are a bunch of known issues that Microsoft has said that they will address in future releases. I wouldn't be surprised if this were related to that.

@benhillis
Copy link
Member

Trying this now (I'm using default-jre, let me know if I need a different version of java).

@harshhpareek
Copy link
Author

harshhpareek commented Aug 11, 2016

@aseering , sorry I meant Not Available (was at a different computer, but thought it was worth making the report). I'm noticing the same thing @SRGOM said, it blocks saying wait4(-1,
Paste here: http://pastebin.com/rwh8zxQf

It stops after printing the comma. Is that normal behaviour?

@benhillis
Copy link
Member

benhillis commented Aug 11, 2016

@SRGOM Looks like the commands worked? I'm at a terminal that's accepting input, is there anything I should enter?

sbt

@benhillis
Copy link
Member

@SRGOM Yes this is with a build that has the fix for #746.

ben@BENHILL-Z800:/mnt/c/benhill$ java -version
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

@harshhpareek
Copy link
Author

harshhpareek commented Aug 11, 2016

I left that terminal open and it later showed a failed thread dump and
displayed http://pastebin.com/nDdqygEx

I don't know what this means, but attaching this here in case it helps, and here is the associated core dump: http://pastebin.com/MJhEH8T6

@SRGOM SRGOM mentioned this issue Aug 11, 2016
@benhillis
Copy link
Member

@SRGOM The fix is in the lxcore.sys driver. The fix will be our first post-Anniversary Update Insider build and I'm pushing to get this fix back-ported, hopefully the servicing folks are amenable.

@SRGOM SRGOM mentioned this issue Aug 13, 2016
@harshhpareek
Copy link
Author

Thank you Ben ! Really looking forward to Java working!

On Thu, Aug 11, 2016, 8:12 PM SRGOM [email protected] wrote:

I cannot thank you guys enough.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#813 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBxmTPExTTNtc1me0f6JGQ4diXrIE3jks5qe8iTgaJpZM4Jes5J
.

Harsh Pareek | Graduate Student | Computer Science | UT Austin
http://www.cs.utexas.edu/~harshp | +1 (512) 994-5775

@tara-raj
Copy link

Closing as per the above comment - #813 (comment). Fix is now available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants