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

Run ut using Scala 2.13.10 on MacOS/Apple Silicon failed #1352

Open
LuciferYang opened this issue Jun 5, 2023 · 0 comments
Open

Run ut using Scala 2.13.10 on MacOS/Apple Silicon failed #1352

LuciferYang opened this issue Jun 5, 2023 · 0 comments

Comments

@LuciferYang
Copy link
Contributor

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

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

1 participant