Bug 265805 - java/openjdk11: fails to build: SIGSEGV for support_jmods_jdk.naming.ldap.jmod
Summary: java/openjdk11: fails to build: SIGSEGV for support_jmods_jdk.naming.ldap.jmod
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-12 21:47 UTC by iron.udjin
Modified: 2024-01-30 21:22 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (java)


Attachments
hs_err_pid57410.log (32.37 KB, text/plain)
2022-08-12 21:47 UTC, iron.udjin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description iron.udjin 2022-08-12 21:47:31 UTC
Created attachment 235871 [details]
hs_err_pid57410.log

OS: 13.1-RELEASE

Trying to compille java/openjdk11 from ports:

gmake[3]: Leaving directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'

ERROR: Build failed for target 'images' in configuration 'bsd-x86_64-normal-server-release' (exit code 2) 
gmake[3]: Entering directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'

=== Output from failing command(s) repeated here ===
* For target support_jmods_jdk.naming.ldap.jmod:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000802ccd4e8, pid=57410, tid=740820
#
# JRE version: OpenJDK Runtime Environment (11.0.16+8) (build 11.0.16+8-1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-1, mixed mode, tiered, compressed oops, serial gc, bsd-amd64)
# Problematic frame:
# V  [libjvm.so+0xecd4e8]  JVM_RaiseSignal+0x3d3888
#
# Core dump will be written. Default location: /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/jmod.core
#
# An error report file with more information is saved as:
# /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/hs_err_pid57410.log
#
   ... (rest of output omitted)

* All command lines available in /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/build/bsd-x86_64-normal-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

gmake[3]: Leaving directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'
gmake[2]: *** [/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/Init.gmk:305: main] Error 2
gmake[2]: Leaving directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'
gmake[1]: *** [/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/Init.gmk:186: images] Error 2
gmake[1]: Leaving directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'
===> Compilation failed unexpectedly.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-09-11 05:57:35 UTC
Dear iron.udjin@gmail.com,


Is the failure always reproducible or is it intermittent?

Did you try to compile the same code with other Java versions (16, 17)?

On what system version did you observe the failure?


Thank you,
Yuri
Comment 2 iron.udjin 2022-09-11 06:50:08 UTC
(In reply to Yuri Victorovich from comment #1)

It's not reproducible. Currently openjdk11-11.0.16+8.1_1 builds fine on 13.1-RELEASE-p2. We can close this issue.
Comment 3 Michael Osipov freebsd_committer freebsd_triage 2024-01-30 21:22:16 UTC
Closing as per request.