NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-evbarm/56469: openjdk11 keytool crashes on pkgsrc build on NetBSD 9.99.88/evbarm (aarch64)



>Number:         56469
>Category:       port-evbarm
>Synopsis:       openjdk11 keytool crashes on pkgsrc build on  NetBSD 9.99.88/evbarm (aarch64)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 27 13:50:00 +0000 2021
>Originator:     Alexander Schreiber
>Release:        NetBSD 9.99.88 & pkgsrc-2021Q3
>Organization:
>Environment:
NetBSD legolas 9.99.88 NetBSD 9.99.88 (GENERIC64) #0: Fri Sep 24 18:47:29 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

>Description:
At the very begin of the pkgsrc build process for lang/openjdk11 on
a Raspberry Pi 4 (8 GB RAM) running NetBSD 9.99.88 and building from
pkgsrc-2021Q3, the keytool from that JDK tries to import the Mozilla
root cert collection and dies with SIGSEGV, dropping a core dump. This
repeats for all the pem files in the collection and then the build
aborts.

The crashing keytool is part of bootstrap-jdk-1.11.0.7.10-netbsd-9-aarch64-20200509.tar.xz



>How-To-Repeat:

on the above environment:
cd /usr/pkgsrc/lang/openjdk11 && make

After this (with the work dir ready), the following minimally replicates
the problem:



/usr/pkgsrc/pkgobj/lang/openjdk11/work/bootstrap/bin/keytool -noprompt -importcert -keystore /usr/pkgsrc/pkgobj/lang/openjdk11/work/cacerts.out.tmp /usr/pkgsrc/pkgobj/lang/openjdk11/work/cacerts/mozilla-rootcert-0.pem
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000f0b15b83afb8, pid=17796, tid=264644147481600
#
# JRE version: OpenJDK Runtime Environment (11.0.7) (build 11.0.7-internal+0-adhoc.pkgsrc.openjdk-jdk11u-jdk-11.0.7-10-2)
# Java VM: OpenJDK 64-Bit Server VM (11.0.7-internal+0-adhoc.pkgsrc.openjdk-jdk11u-jdk-11.0.7-10-2, mixed mode, tiered, compressed oops, g1 gc, bsd-aarch64)
# Problematic frame:
# V  [libjvm.so+0x7eafb8]  JVM_RaiseSignal+0x15bc40
#
# Core dump will be written. Default location: /root/keytool.core
#
# An error report file with more information is saved as:
# /root/hs_err_pid17796.log
#
# Compiler replay data is saved as:
# /root/replay_pid17796.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
[1]   Abort trap (core dumped) /usr/pkgsrc/pkgobj/lang/openjdk11/work/bootstrap/bin/keytool -noprompt -importcert -keystore /usr/pkgsrc/pkgobj/lang/openjdk11/work/cacerts.out.tmp /usr/pkgsrc/pkgobj/lang/openjdk11/work/cacerts/m...


>Fix:



Home | Main Index | Thread Index | Old Index