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

SizeTests on 2.13 makes JVM segfault on JDK 13 and 14 #149

Open
SethTisue opened this issue Jan 24, 2020 · 6 comments
Open

SizeTests on 2.13 makes JVM segfault on JDK 13 and 14 #149

SethTisue opened this issue Jan 24, 2020 · 6 comments

Comments

@SethTisue
Copy link

SethTisue commented Jan 24, 2020

example of it happening on Ubuntu, in the Scala community build: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk14-integrate-community-build/628/console

but I have also seen it happen outside dbuild, on MacOS + JDK 14 (14-ea+32-1423) + Scala 2.13.1. just by cloning the repo and then doing testJVM/test. here's the crash log: https://gist.github.com/SethTisue/849ae992455477669d595e3e6510f1a0

@SethTisue
Copy link
Author

reproducible with just testJVM/testOnly *SizeTests

@SethTisue SethTisue changed the title Test suite makes JVM segfault on JDK 13 and 14 SizeTests makes JVM segfault on JDK 13 and 14 Feb 3, 2020
@alexarchambault
Copy link
Owner

alexarchambault commented Feb 3, 2020

I can't reproduce that locally with Adopt 13.0.2 (on macOS):

$ jabba use [email protected]

$ java -version
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)

$ sbt "testJVM/testOnly *SizeTests"
[info] Loading settings for project global-plugins from idea.sbt,plugins.sbt ...
[info] Loading global plugins from ~/.sbt/1.0/plugins
[info] Loading settings for project scalacheck-shapeless-build from plugins.sbt,metals.sbt ...
[info] Loading project definition from ./project
[info] Loading settings for project scalacheck-shapeless from build.sbt ...
[info] Set current project to scalacheck-shapeless (in build file:./scalacheck-shapeless/)
-------------------------------- Running Tests --------------------------------
+ org.scalacheck.SizeTests.tree 2091ms
[info] utest
[info] Tests: 1, Passed: 1, Failed: 0
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
[success] Total time: 3 s, completed 3 févr. 2020 à 19:55:17

@alexarchambault
Copy link
Owner

sbt testJVM/test works too. Same thing with [email protected] via jabba.

Are you consistently getting that error, @SethTisue?

@SethTisue
Copy link
Author

SethTisue commented Feb 3, 2020

it's 2.13-specific. try sbt "++2.13.1" "testJVM/testOnly *SizeTests"

with

openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)

I did 5 runs of sbt "++2.13.1" "testJVM/testOnly *SizeTests" just now and all 5 crashed.

@SethTisue SethTisue changed the title SizeTests makes JVM segfault on JDK 13 and 14 SizeTests on 2.13 makes JVM segfault on JDK 13 and 14 Feb 3, 2020
@alexarchambault
Copy link
Owner

Reproduced with [email protected]. [email protected] seems fine OTOH. No idea what can cause that though 🤔

@SethTisue
Copy link
Author

is [email protected] newer or older than 14-ea+32-1423? the latter is what brew cask install java-beta gives me on macOS

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

2 participants