Skip to content

Java / Leiningen (Clojure build tool) does not work #911

@conan

Description

@conan

I'm experiencing the same problem as #277. There's a matching issue in Leiningen. On a fresh install of Bash on Windows, I did

sudo apt-get install default-jdk
sudo apt-get install leiningen

Then I did this:

conan@ALLP0023:/mnt/c/Users/Conan$ which java
/usr/bin/java

conan@ALLP0023:/mnt/c/Users/Conan$ 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)

conan@ALLP0023:/mnt/c/Users/Conan$ which lein
/usr/bin/lein

Then this takes ages (> 10 mins), and eventually prints the error:

conan@ALLP0023:/mnt/c/Users/Conan$ lein -version
Leiningen is running in bundled mode.
#
[thread 139862623782656 also had an error]# A fatal error has been detected by the Java Runtime Environment:

#
#  Internal Error (safepoint.cpp:325), pid=11174, tid=139862530000640
#  guarantee(PageArmed == 0) failed: invariant
#
# JRE version: OpenJDK Runtime Environment (7.0_101) (build 1.7.0_101-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.95-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.6
# Distribution: Ubuntu 14.04 LTS, package 7u101-2.6.6-0ubuntu0.14.04.1
# Core dump written. Default location: /mnt/c/Users/Conan/core or core.11174
#
# An error report file with more information is saved as:
# /mnt/c/Users/Conan/hs_err_pid11174.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#
rlwrap: warning: java killed by SIGABRT (core dumped).
rlwrap has not crashed, but for transparency,
it will now kill itself with the same signal

/usr/bin/lein: line 126: 11173 Aborted                 (core dumped) $RLWRAP $LEIN_JAVA_CMD -Xbootclasspath/a:"$CLOJURE_JAR" -client $LEIN_JVM_OPTS -XX:+TieredCompilation -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.trampoline-file=$TRAMPOLINE_FILE -cp "$CLASSPATH" clojure.main -e "(use 'leiningen.core)(-main)" /dev/null "$@"

Dump file here:
hs_err_pid11174.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions