https://pantsbuild.org/ logo
#general
Title
# general
w

witty-family-13337

04/05/2022, 11:42 AM
hello guys, noticed sporadic segfaults in the JDK used internally in Pants
2.11.0rc1
when running
scalafmt
in a large set of files (+1000). Changing it with
[jvm].took_jdk = "temurin:1.11"
seems to have made them disappear. Shall I open a ticket for this?
for sake of completeness, here is the error message from the segfault:
Copy code
12:19:06.67 [ERROR] Completed: Lint with scalafmt - scalafmt failed (exit code -6).
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f8473fed6f1, pid=6524, tid=6567
#
# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)
# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xbf46f1]  Node::add_req(Node*)+0xc1
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /tmp/process-executionzWXy23/core.6524)
#
# An error report file with more information is saved as:
# /tmp/process-executionzWXy23/hs_err_pid6524.log
#
# Compiler replay data is saved as:
# [thread 6588 also had an error]
/tmp/process-executionzWXy23/replay_pid6524.log
#
# If you would like to submit a bug report, please visit:
#   <http://bugreport.java.com/bugreport/crash.jsp>
#general
h

happy-kitchen-89482

04/05/2022, 3:33 PM
A ticket would be great, and link to it here, thanks!!
w

witty-family-13337

04/05/2022, 3:43 PM
3 Views