JDK 1.4.2 build error on FBSD 4.8-R

Carl Mascott cmascott at att.net
Fri Sep 23 05:27:12 PDT 2005


BUILD ENVIRONMENT
-----------------

FreeBSD 4.8-R
gcc 2.95.4
jdk-1.4.2_1 port (current version)
Linux bootstrap
Linux sun-jdk 1.4.1_07 (Sun's rev #, not PORTREVISION)
linux_base-7.1_2

Mods to jdk-1.4.2_1 port Makefile:

--- /usr/ports/java/jdk14/Makefile.org	Sat Sep  3 17:13:49 2005
+++ /usr/ports/java/jdk14/Makefile	Thu Sep 22 14:30:02 2005
@@ -42,7 +42,7 @@
 JDK_PATCHSET_VERSION=	7
 LATEST_LINK=	jdk14
 
-SUN_LINUX_JDK_VERSION=  1.4.2
+SUN_LINUX_JDK_VERSION=  1.4.1
 
 .if !defined(WITH_LINUX_BOOTSTRAP)
 NATIVE_BOOTSTRAP_JDKS=	${LOCALBASE}/jdk1.4.2 \
@@ -96,6 +96,7 @@
 EXTRACT_ONLY=	${SCSL_SRCFILE} ${SCSL_BINFILE}
 
 ONLY_FOR_ARCHS=	i386
+CPIO?=		/usr/bin/cpio
 USE_GMAKE=	YES
 USE_REINPLACE=	YES
 RESTRICTED=	"Redistribution of pre-compiled binaries is not permitted"


PROBLEM DESCRIPTION
-------------------

The newly built Java VM aborts with a core dump while attempting
to build classes/javax/swing/text/html/parser/html32.bdtd.
The current Make directory is
	 /usr/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd

The Java VM produces the following error log.  Note that the heap
"from" space is 100% used.

Anyone got an idea what this is?  Other folks don't seem to be
having this problem.

Notes:

1. Moving to a later FBSD release is not an option for me, but
   adopting specific bug fixes from a later release is OK.

2. I used the Linux 1.4.1 jdk because I thought it would be
   more likely to work on 4.8-R than the 1.4.2 jdk.

-----------------------------------------------------------------

Unexpected Signal : 11 occurred at PC=0x284472C7
Function=resolve_method__12LinkResolverR12methodHandleG11KlassHandleG12symbolHandleT3T2iP6Thread+0x23
Library=/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/lib/i386/client/libjvm.so

Current Java thread:

Dynamic libraries:
0x8048000 	/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/bin/java
0x2806b000 	/usr/lib/libc_r.so.4
0x28121000 	/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/lib/i386/client/libjvm.so
0x2864f000 	/usr/lib/libstdc++.so.3
0x28694000 	/usr/lib/libm.so.2
0x286af000 	/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so
0x286be000 	/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/lib/i386/libverify.so
0x286d9000 	/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/lib/i386/libjava.so
0x286fa000 	/usr2/tmp/ports/jdk14/work/control/build/bsd-i586/lib/i386/libzip.so
0x2804e000 	/usr/libexec/ld-elf.so.1

Heap at VM Abort:
Heap
 def new generation   total 1152K, used 824K [0x2a840000, 0x2a970000, 0x2ad20000)
  eden space 1088K,  69% used [0x2a840000, 0x2a8fe1b0, 0x2a950000)
  from space 64K, 100% used [0x2a960000, 0x2a970000, 0x2a970000)
  to   space 64K,   0% used [0x2a950000, 0x2a950000, 0x2a960000)
 tenured generation   total 15168K, used 88K [0x2ad20000, 0x2bbf0000, 0x2e840000)
   the space 15168K,   0% used [0x2ad20000, 0x2ad36008, 0x2ad36200, 0x2bbf0000)
 compacting perm gen  total 4096K, used 1064K [0x2e840000, 0x2ec40000, 0x32840000)
   the space 4096K,  25% used [0x2e840000, 0x2e94a360, 0x2e94a400, 0x2ec40000)

Local Time = Thu Sep 22 20:02:49 2005
Elapsed Time = 1
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002F1
# Please report this error to
# freebsd-java at FreeBSD.org mailing list
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p7-cmascott_22_sep_2005_14_53 mixed mode)
#
# An error report file has been saved as hs_err_pid46287.log.
# Please refer to the file for further information.
#
-----------------------------------------------------------------


More information about the freebsd-java mailing list