|
Quick Lists
|
|
Bug ID:
|
6732438
|
|
Votes
|
0
|
|
Synopsis
|
Failure in build of rt.jar by pack200 due to VM segfault
|
|
Category
|
hotspot:other
|
|
Reported Against
|
b02
|
|
Release Fixed
|
hs14(b02)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
1-Very High
|
|
Related Bugs
|
|
|
Submit Date
|
31-JUL-2008
|
|
Description
|
*** Sun Proprietary/Confidential: For Internal Use Only ***
RE Build Status:
http://jre.sfbay/restatus/build.jsp?product=jdk&version=7
Build Log:
http://jre.sfbay/net/mizu.sfbay/n/dolphin/jdk7/logs/build-linux-amd64.log
Number of Errors: 955
Logfile report:
/bin/mkdir -p /BUILD_AREA/jdk7/build/linux-amd64/j2re-image/`/usr/bin/dirname $i` ; \
/BUILD_AREA/jdk7/build/linux-amd64/bin/pack200 -J-esa -J-ea -J-Xmx1024m "--no-gzip" "--config-file=pack.all.properties" "--config-file=pack.64.properties" --strip-debug --code-attribute=StackMapTable=strip /BUILD_AREA/jdk7/build/linux-amd64/pack/pack-jre-jars/`/usr/bin/dirname $i`/`/bin/basename $i .jar`.pack /BUILD_AREA/jdk7/build/linux-amd64/j2re-image/$i || exit 1 ; \
rm -f /BUILD_AREA/jdk7/build/linux-amd64/j2re-image/$i ; \
/BUILD_AREA/jdk7/build/linux-amd64/bin/unpack200 "-v" /BUILD_AREA/jdk7/build/linux-amd64/pack/pack-jre-jars/`/usr/bin/dirname $i`/`/bin/basename $i .jar`.pack /BUILD_AREA/jdk7/build/linux-amd64/j2re-image/$i || exit 1 ; \
done
Packing 49465964 bytes
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000002a95eb3f75, pid=19050, tid=9226
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x2e2f75]
#
# An error report file with more information is saved as:
# /BUILD_AREA/jdk7/install/make/pack/hs_err_pid19050.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
gnumake[3]: *** [pack-jars] Error 1
gnumake[3]: Leaving directory `/BUILD_AREA/jdk7/install/make/pack'
gnumake[2]: *** [pack-jre] Error 2
gnumake[2]: Leaving directory `/BUILD_AREA/jdk7/install/make/pack'
gnumake[1]: *** [all] Error 1
gnumake[1]: Leaving directory `/BUILD_AREA/jdk7/install/make'
gnumake: *** [install-build] Error 2
## Linux AMD 64-bit local build finished on dol-linamd64
#### RETAG "End Core Build" "FAILED" "07/31/08 customer :58:41"
#### RETAG "Start Create Build Result" "" "07/31/08 customer :58:41"
#### RETAG "End Create Build Result" "SUCCEEDED" "07/31/08 03:03:28"
#### RETAG "Start Ftp Build Result" "" "07/31/08 03:03:28"
Local directory now /net/mizu.sfbay/n/dolphin/jdk7/ws
Interactive mode off.
#### RETAG "End Ftp Build Result" "SUCCEEDED" "07/31/08 03:04:17"
#### RETAG "Start Untar Build Result" "" "07/31/08 03:04:17"
#### RETAG "End Untar Build Result" "SUCCEEDED" "07/31/08 03:06:58"
## Moving buildresult-linux-amd64.tar to intermediate directory...
#### RETAG "Start Check Core Build" "" "07/31/08 03:06:59"
#### RETAG "End Check Core Build" "FAILED" "07/31/08 03:06:59"
;
Posted Date : 2008-07-31 23:22:23.0
|
|
Work Around
|
A fix will be filed under another bug. This is a temp workaround supplied by Kumar - increasing the Heap size seems to make it work for now.
NOTE:
The fix is actually to:
make/common/Pack.gmk
under the Install [closed] repository.
Here's the workaround:
--- a/make/common/Pack.gmk
+++ b/make/common/Pack.gmk
@@ -64,7 +64,8 @@ PACK_JAVA_FLAGS = -J-esa -J-ea $(JAVA_TO
# have a problem here. We ASSUME that the 32bit machine has at least
# 512Mb RAM and the 64bit machine has at least 1024Mb RAM.
ifeq ($(ARCH_DATA_MODEL),64)
- PACK_JAVA_FLAGS += -J-Xmx1024m
+# PACK_JAVA_FLAGS += -J-Xmx1024m
+ PACK_JAVA_FLAGS += -J-Xmx2g
else
PACK_JAVA_FLAGS += -J-Xmx512m
endif
|
|
Evaluation
|
it appears that pack200 is having problems with the new Compressed Oops features.
Posted Date : 2008-07-31 23:22:23.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |