[Bug 279764] java/openjdk8: SIGSEGV (0xb) at pc=0x204806b8, pid=54712, tid=0x000bce23

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Oct 2024 19:21:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279764

Ronald Klop <ronald@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ronald@FreeBSD.org

--- Comment #2 from Ronald Klop <ronald@FreeBSD.org> ---
I noticed that all i386 builders have errors. All errors are a bit different,
but seem memory related.
See: https://portsfallout.com/fallout?port=devel%2Fspark%24

The memory recommendation in the Spark documentation is different from what is
set in /usr/ports/devel/spark/Makefile.

https://archive.apache.org/dist/spark/docs/3.3.4/building-spark.html#setting-up-mavens-memory-usage
shows:
MAVEN_OPTS="-Xss64m -Xmx2g -XX:ReservedCodeCacheSize=1g"

The Makefile contains:
.if ${ARCH:Marmv?} || ${ARCH} == "i386"
MAKE_ENV+=      MAVEN_OPTS="-Xmx1g -XX:ReservedCodeCacheSize=1g" \
                JAVA_HOME=${JAVA_HOME}
.else
MAKE_ENV+=      MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g" \
                JAVA_HOME=${JAVA_HOME}
.endif

Could you try setting MAVEN_OPTS for i386 to what is in the Spark documentation
and try the build again?

-- 
You are receiving this mail because:
You are the assignee for the bug.