From owner-freebsd-java@FreeBSD.ORG Sun Sep 13 22:15:45 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB7A71065670 for ; Sun, 13 Sep 2009 22:15:45 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5328FC1C for ; Sun, 13 Sep 2009 22:15:44 +0000 (UTC) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n8DK1kSL021863 for ; Mon, 14 Sep 2009 06:01:46 +1000 Received: from server.vk2pj.dyndns.org (c122-106-250-30.belrs3.nsw.optusnet.com.au [122.106.250.30]) by mail12.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n8DK1hwb006475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 14 Sep 2009 06:01:44 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n8DK1geQ094385 for ; Mon, 14 Sep 2009 06:01:42 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n8DK1g15094384 for freebsd-java@freebsd.org; Mon, 14 Sep 2009 06:01:42 +1000 (EST) (envelope-from peter) Date: Mon, 14 Sep 2009 06:01:42 +1000 From: Peter Jeremy To: freebsd-java@freebsd.org Message-ID: <20090913200142.GA63960@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Error building jdk15 in jail X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 22:15:45 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have installed a copy of my i386 netbook into a jail on my main amd64 system to speed up builds. After some initial rough edges got fixed up, I have managed to rebuild world and a significant number of ports but jdk15 has blown up. If anyone has any suggestions, I would appreciate it. uname -a inside the jail reports: FreeBSD builder.vk2pj.dyndns.org 8.0-BETA2 FreeBSD 8.0-BETA2 #10: Mon Aug 3= 1 18:06:42 EST 2009 root@server.vk2pj.dyndns.org:/var/obj/usr/src/sys/s= erver i386 The following environment changes were necessary: MACHINE=3Di386 UNAME_p=3Di386 UNAME_m=3Di386 The jdk15 build goes off the rails with: /usr/local/jdk1.5.0/bin/javac -J-Xbootclasspath/p:../../sun/javac/javac/gjc= =2Ejar -Xbootclasspath/p:../../sun/javac/javac/collect.jar -target jsr14 -d= /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java/java.lang/j= ava/GenerateCharacter -sourcepath ../../tools/GenerateCharacter ../../tools= /GenerateCharacter/GenerateCharacter.java Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. /usr/local/jdk1.5.0/bin/java -Xbootclasspath/p:../../sun/javac/javac/gjc.ja= r -classpath /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java= /java.lang/java/GenerateCharacter GenerateCharacter -template ../../tools/G= enerateCharacter/CharacterDataLatin1.java.template \ -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../= tools/GenerateCharacter/SpecialCasing.txt \ -o /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/lang= /CharacterDataLatin1.java -string -usecharforbyte -latin1 8 /usr/local/jdk1.5.0/bin/java -Xbootclasspath/p:../../sun/javac/javac/gjc.ja= r -classpath /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java= /java.lang/java/GenerateCharacter GenerateCharacter -plane 0 -template ../.= =2E/tools/GenerateCharacter/CharacterData00.java.template \ -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../= tools/GenerateCharacter/SpecialCasing.txt \ -o /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/lang= /CharacterData00.java -string -usecharforbyte 11 4 1 # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4F533F4253440E4350500078), pid=3D78875, tid=3D0x36b7e780 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_16-p9-root_26_apr_2009_17_48 m= ixed mode) # An error report file with more information is saved as /usr/local/jdk1.5.= 0/bin/java -Xbootclasspath/p:../../sun/javac/javac/gjc.jar -classpath /obj/= usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java/java.lang/java/Ge= nerateCharacter GenerateCharacter -plane 1 -template ../../tools/GenerateCh= aracter/CharacterData01.java.template \ -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../= tools/GenerateCharacter/SpecialCasing.txt \ -o /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/lang= /CharacterData01.java -string -usecharforbyte 11 4 1 /usr/local/jdk1.5.0/bin/java -Xbootclasspath/p:../../sun/javac/javac/gjc.ja= r -classpath /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java= /java.lang/java/GenerateCharacter GenerateCharacter -plane 2 -template ../.= =2E/tools/GenerateCharacter/CharacterData02.java.template \ -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../= tools/GenerateCharacter/SpecialCasing.txt \ -o /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/lang= /CharacterData02.java -string -usecharforbyte 11 4 1 # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4F533F4253440E4350500078), pid=3D78877/usr/local/jdk1.5.= 0/bin/java -Xbootclasspath/p:../../sun/javac/javac/gjc.jar -classpath /obj/= usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java/java.lang/java/Ge= nerateCharacter GenerateCharacter -plane 14 -template ../../tools/GenerateC= haracter/CharacterData0E.java.template \ -spec ../../tools/GenerateCharacter/UnicodeData.txt -specialcasing ../../= tools/GenerateCharacter/SpecialCasing.txt \ -o /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/lang= /CharacterData0E.java -string -usecharforbyte 11 4 1 rm -f /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/lan= g/CharacterDataUndefined.java /obj/usr/ports/java/jdk15/work/control/build/= bsd-i586/gensrc/java/lang/CharacterDataPrivateUse.java Unfortunately, the actual log location/name isn't reported. The build continues for a while and dies with: /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:48: illegal character: \35 # ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:49: illegal character: \35 # An unexpected error has been detected by HotSpot Virtual Machine: ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:50: illegal character: \35 # ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:51: illegal character: \35 # Internal Error (4F533F4253440E4350500078), pid=3D86786, tid=3D0x36b7e780 ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:52: illegal character: \35 # ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:53: illegal character: \35 # Java VM: Java HotSpot(TM) Server VM (1.5.0_16-p9-root_26_apr_2009_17_48 m= ixed mode) ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:54: illegal character: \35 # An error report file with more information is saved as hs_err_pid86786.log ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:55: illegal character: \35 # ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:56: illegal character: \35 # If you would like to submit a bug report, please write ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:57: illegal character: \35 # a letter to freebsd-java@FreeBSD.org mailing list ^ /obj/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/java/util/Curr= encyData.java:58: 'class' or 'interface' expected ^ 11 errors (One interesting side comment is that '#' is \043 or \x23 but appears to be reported in decimal). A search through $WRKDIR finds: /obj/usr/ports/java/jdk15/work/j2se/make/java/java/hs_err_pid{78875,86786}.= log The former is empty but the latter contains: # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (4F533F4253440E4350500078), pid=3D86786, tid=3D0x36b7e780 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_16-p9-root_26_apr_2009_17_48 m= ixed mode) --------------- T H R E A D --------------- Current thread (0x28215800): =20 [error occurred during error reporting, step 80, id 0xb] Stack: [0x00000000,0x5a5a5a5a), sp=3D0xffdfd750, free space=3D-2059k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) V [libjvm.so+0x525c3c] V [libjvm.so+0x5265a8] C 0xffffefd4 V [libjvm.so+0x525c3c] V [libjvm.so+0x1de89b] V [libjvm.so+0x440018] V [libjvm.so+0x441c6e] V [libjvm.so+0x4f0e1d] V [libjvm.so+0x52b9cb] V [libjvm.so+0x4406f9] C [libthr.so.3+0x6699] pthread_getprio+0x199 [error occurred during error reporting, step 130, id 0xb] [error occurred during error reporting, step 140, id 0xb] [error occurred during error reporting, step 150, id 0xb] --------------- P R O C E S S --------------- Java Threads: ( =3D> current thread ) 0x36be4d00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id= =3D918019456] 0x36d22380 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3D918= 019776] 0x36d22540 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3D918= 020416] 0x36d22700 JavaThread "AdapterThread" daemon [_thread_blocked, id=3D91802= 0736] 0x36be5180 JavaThread "Finalizer" daemon [_thread_blocked, id=3D918021376] 0x36be5300 JavaThread "Reference Handler" daemon [_thread_blocked, id=3D9= 18021696] Other Threads: VM state:at safepoint (shutting down) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x28219340/0x28232a00] Threads_lock - owner thread: 0x28215800 Heap def new generation total 576K, used 277K [0x2ea30000, 0x2ead0000, 0x2f14= 0000) eden space 512K, 41% used [0x2ea30000, 0x2ea65528, 0x2eab0000) from space 64K, 99% used [0x2eac0000, 0x2eacfff8, 0x2ead0000) to space 64K, 0% used [0x2eab0000, 0x2eab0000, 0x2eac0000) tenured generation total 1408K, used 151K [0x2f140000, 0x2f2a0000, 0x32a= 30000) the space 1408K, 10% used [0x2f140000, 0x2f165ea0, 0x2f166000, 0x2f2a00= 00) compacting perm gen total 16384K, used 2066K [0x32a30000, 0x33a30000, 0x3= 6a30000) the space 16384K, 12% used [0x32a30000, 0x32c34ab0, 0x32c34c00, 0x33a30= 000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/jdk1.5.0/bin/java 0x28095000 /lib/libz.so.4 0x280a7000 /lib/libthr.so.3 0x280bb000 /lib/libc.so.7 0x28300000 /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so 0x281c3000 /lib/libm.so.5 0x281dd000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x281ef000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x288ed000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x28917000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x28052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xbootclasspath/p:../../sun/javac/javac/gjc.jar java_command: GenerateCurrencyData Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=3D CLASSPATH=3D PATH=3D/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin LD_LIBRARY_PATH=3D/usr/local/jdk1.5.0/jre/lib/i386/server:/usr/local/jdk1.5= =2E0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386: SHELL=3D/bin/sh HOSTTYPE=3DFreeBSD OSTYPE=3DFreeBSD ARCH=3Di586 MACHTYPE=3Di386 Signal Handlers: SIGSEGV: [libjvm.so+0x526550], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x000000= 02 SIGBUS: [libjvm.so+0x526550], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000002 SIGFPE: [libjvm.so+0x43ec70], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGPIPE: [libjvm.so+0x43ec70], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x000000= 42 SIGILL: [libjvm.so+0x43ec70], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=3D0x20000000, sa_flags=3D0x00000002 SIGUSR2: SIG_DFL, sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000000 SIGHUP: [libjvm.so+0x440de0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000002 SIGINT: [libjvm.so+0x440de0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x00000002 SIGQUIT: [libjvm.so+0x440de0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x000000= 02 SIGTERM: [libjvm.so+0x440de0], sa_mask[0]=3D0xfffefeff, sa_flags=3D0x000000= 02 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 8.0-BETA2 FreeBSD 8.0-BETA2 #10: Mon Aug 31 18:06:42 EST 2009= root@server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 107 stepp= ing 2, cmov, cx8, fxsr, mmx, mmxext, 3dnowext, 3dnow Memory: 4k page, physical 1156148k vm_info: Java HotSpot(TM) Server VM (1.5.0_16-p9-root_26_apr_2009_17_48) fo= r freebsd-x86, built on Apr 26 2009 18:45:34 by root with gcc 4.2.1 2007071= 9 [FreeBSD] --=20 Peter Jeremy --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqtT6YACgkQ/opHv/APuIebzACaAyTbgraiO/Bi+h72fYhOP/qH GIMAoKhegp5uXiC8BFTXMIUm+/7NZRbk =uu95 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--