Bug 268530 - editors/libreoffice: build: a fatal error has been detected by the Java Runtime Environment
Summary: editors/libreoffice: build: a fatal error has been detected by the Java Runti...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL: https://www.freshports.org/editors/li...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-23 19:44 UTC by John Darrah
Modified: 2022-12-24 09:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Darrah 2022-12-23 19:44:40 UTC
Trying to build editors/libreoffice with default options in Poudriere.

[error occurred during error reporting ((null)), id 0xb, SIGSEGV (0xb) at pc=0x000000080118812e]

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000080118812e, pid=52110, tid=258444
#
# JRE version:  (11.0.17+8) (build )
# Java VM: OpenJDK 64-Bit Server VM (11.0.17+8-1, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C  [libc.so.7+0xca12e]  long+0xbe
#
# No core dump will be written. 
#
# An error report file with more information is saved as:
# /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.4.3.2/workdir/JavaClassSet/Jar/ScriptProviderForJavaScript/hs_err_pid52110.log
=>> Killing runaway build after 7200 seconds with no output
=>> Cleaning up wrkdir
===>  Cleaning for libreoffice-7.4.3.2_1
Killed
build of editors/libreoffice | libreoffice-7.4.3.2_1 ended at Fri Dec 23 02:25:28 CST 2022
build time: 03:34:32
!!! build failure encountered !!!

Let me know if I can help!!

John
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-12-24 03:21:55 UTC
Which version of FreeBSD, exactly? Host, and poudriere jail.
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2022-12-24 07:24:04 UTC
Also if possible, let us know:
- The revision of your ports tree (e.g., `git rev-parse HEAD`)
- Is there any customized ports options

It would be nice if we can see the content of hs_err_pid52110.log


BTW I suspect this is an issue in JDK.
Comment 3 John Darrah 2022-12-24 09:28:58 UTC
---Begin OPTIONS List---
===> The following configuration options are available for libreoffice-7.4.3.2_1:
     COINMP=off: Enable CoinMP (deprecated) math solver
     CUPS=on: CUPS printing system support
     DOCS=off: Build and/or install documentation
     GNOME=off: GNOME desktop environment support
     GTK3=off: GTK+ 3 GUI toolkit support
     GTK4=off: GTK+ 4 GUI toolkit support (broken)
     JAVA=on: Add Java support (XML filters, macros, DB connections)
     KF5=off: KF5/Qt5 GUI toolkit support (implies QT5)
     LTO=off: Use Link-Time Optimization
     MARIADB=off: Build with MariaDB/MySQL-SDBC driver
     MMEDIA=on: Enable multimedia backend for Impress
     PDFIUM=on: Enable PDFium secure engine
     PGSQL=off: Build with PostgreSQL-SDBC driver
     SDK=off: Build with SDK
     TEST=off: Run all regression tests
     WEBDAV=off: Enable WebDAV protocol
====> Select Qt GUI engine version: you can only select none or one of them
     QT5=on: Qt5 GUI toolkit support (default visual style)
     QT6=off: Qt6 GUI toolkit support (experimental visual style)
===> Use 'make config' to modify these settings
---End OPTIONS List---


user@bserv:/usr/local/poudriere/ports/beastie $ git rev-list --count --first-parent HEAD
1288

I don't know if "1288" is the right number, but I tried.