Ammonite icon indicating copy to clipboard operation
Ammonite copied to clipboard

Run ut using Scala 2.13.10 on MacOS/Apple Silicon failed

Open LuciferYang opened this issue 1 year ago • 0 comments

run ./mill -i unitTest "2.13.10" on Apple M2 Max

zulu 8u372:

openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Zulu 8.70.0.23-CA-macos-aarch64) (build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Zulu 8.70.0.23-CA-macos-aarch64) (build 25.372-b07, mixed mode)

OS: MacOS 13.4

then Jvm crashed:

BuiltinTests
@ // Set the shell prompt to be something else
@ repl.prompt() = ">"
@ // Change the terminal front end; the default is
@ // Ammonite on Linux/OSX and JLineWindows on Windows
@ repl.frontEnd() = frontEnd("unix")
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000123c42678, pid=96732, tid=0x0000000000001603
#
# JRE version: OpenJDK Runtime Environment (Zulu 8.70.0.23-CA-macos-aarch64) (8.0_372-b07) (build 1.8.0_372-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.372-b07 mixed mode bsd-aarch64 compressed oops)
# Problematic frame:
# C  [jna3201989146103660479.tmp+0xe678]  ffi_call+0x510
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/yangjie01/SourceCode/git/Ammonite/hs_err_pid96732.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
1 targets failed
amm.repl[2.13.10].test.test java.lang.Exception: Interactive Subprocess Failed (exit code 134)
    mill.modules.Jvm$.runSubprocess(Jvm.scala:186)
    mill.modules.Jvm$.runSubprocess(Jvm.scala:125)
    mill.scalalib.TestModule.$anonfun$testTask$3(TestModule.scala:102)
    mill.define.Task$TraverseCtx.evaluate(Task.scala:380)

hs_err_pid96732.log

LuciferYang avatar Jun 05 '23 08:06 LuciferYang