JDK-4955023 : REGRESSION: JCK1.5-runtime api/java_util/zip/ZipEntry/index.html#ZipEntry1 fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux,solaris_10,windows_xp
  • CPU: x86
  • Submitted: 2003-11-17
  • Updated: 2003-11-17
  • Resolved: 2003-11-17
Related Reports
Duplicate :  
Description

Name: iaR10016			Date: 11/17/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b28
                  (passes with JDK1.5.0-b26, JDK1.4.2-b28)
JCK            : JCK1.5-runtime (b08)
Platform[s]    : Solaris 10 x86, Solaris 9 x86, Solaris 8 x86, Suse Linux 8.1, RedHat Adv.server 2.1, Windows XP
                  (passes on Solaris 10 sparc, Solaris 9 sparc, Solaris 8 sparc)
switch/Mode    : -server
                  (passes in "-client" mode)
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test   : api/java_util/zip/ZipEntry/index.html#ZipEntry1

JCK1.5-runtime (b08) api/java_util/zip/ZipEntry/index.html#ZipEntry1 test fails with core dump
using JDK1.5.0-b28 on Solaris x86, Linux and Windows systems in "-server" mode. The test passes
on the same machines in "-client" mode. The test always passes on Solaris sparc.

Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_util/zip/ZipEntry/ZipEntry1Tests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b28/jck15/x86/sol10_x86_gnome_server_linux-18/workDir/api/java_util/zip/ZipEntry/index_ZipEntry1.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables):
--- script start ---
#!/bin/bash

#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b28/binaries/solaris-i586"
JCK="/java/re/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b28/binaries/solaris-i586"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

$JDK/bin/java -server javasoft.sqe.tests.api.java.util.zip.ZipEntry.ZipEntry1Tests
--- script end ---

Script output:
==============

java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b28)
Java HotSpot(TM) Server VM (build 1.5.0-beta-b28, mixed mode)

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x404fc62d, pid=22462, tid=6151
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0-beta-b28 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x39d62d]
#
# An error report file with more information is saved as hs_err_pid22462.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Script.sh: line 19: 22462 Aborted                 $JDK/bin/java -showversion -Xfuture -server -cp $CLASSPATH $TEST


--------- hs_err_pid22462.log ---------
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x404fc62d, pid=22462, tid=6151
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0-beta-b28 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x39d62d]
#

---------------  T H R E A D  ---------------

Current thread (0x080f64d0):  JavaThread "CompilerThread0" daemon [_thread_in_native, id=22469]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000c

Registers:
EAX=0x00000000, EBX=0x4067611c, ECX=0x00000010, EDX=0x00000010
ESP=0xbedfe67c, EBP=0xbedfe694, ESI=0x00000000, EDI=0x080a7498
EIP=0x404fc62d, CR2=0x0000000c, EFLAGS=0x00210202

Top of Stack: (sp=0xbedfe67c)
0xbedfe67c:   0000ffff 00000010 bedfeaf8 4067611c
0xbedfe68c:   bedfeaf8 08278d70 bedfe6e4 40541b4a
0xbedfe69c:   08278d70 bedfeadc 08278d70 08278d70
0xbedfe6ac:   082291a8 082291cc 08278d70 4053ec69
0xbedfe6bc:   08226bb4 00000697 080a7afc bedfec1c
0xbedfe6cc:   081fecc4 00000754 bedfeb04 4067611c
0xbedfe6dc:   bedfeadc 0824d7d0 bedfe724 40541700
0xbedfe6ec:   bedfeadc 0824d7d0 000006ac 000006ac

Instructions: (pc=0x404fc62d)
0x404fc61d:   51 0c 3b 51 10 75 4f 89 d1 89 f0 83 e1 1f 74 23
0x404fc62d:   8b 56 0c 8b 46 10 89 d7 89 c6 d3 ef d3 ee 85 c0

Stack: [0xbec01000,0xbee00000),  sp=0xbedfe67c,  free space=2037k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x39d62d]
V  [libjvm.so+0x3e2b4a]
V  [libjvm.so+0x3e2700]
V  [libjvm.so+0x185c10]
V  [libjvm.so+0x182f0a]
V  [libjvm.so+0x13548c]
V  [libjvm.so+0x18b325]
V  [libjvm.so+0x18acb9]
V  [libjvm.so+0x449916]
V  [libjvm.so+0x4447bd]
V  [libjvm.so+0x3b7cb4]
C  [libpthread.so.0+0x61b0]


Current CompileTask:
opto: 51      java.util.GregorianCalendar.<init>(Ljava/util/TimeZone;Ljava/util/Locale;)V (63 bytes)


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
   0x080f8158 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=22471]
   0x080f37f0 JavaThread "CompilerThread1" daemon [_thread_blocked, id=22470]
=>0x080f64d0 JavaThread "CompilerThread0" daemon [_thread_in_native, id=22469]
   0x080f6330 JavaThread "AdapterThread" daemon [_thread_blocked, id=22468]
   0x080ee880 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=22467]
   0x080e7d18 JavaThread "Finalizer" daemon [_thread_blocked, id=22466]
   0x080e3840 JavaThread "Reference Handler" daemon [_thread_blocked, id=22465]
   0x0805b748 JavaThread "main" [_thread_in_vm, id=22462]

Other Threads:
   0x080e2520 VMThread [id=22464]
   0x080f9430 WatcherThread [id=22472]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
  def new generation   total 576K, used 438K [0x45590000, 0x45630000, 0x45ca0000)
   eden space 512K,  85% used [0x45590000, 0x455fd7e0, 0x45610000)
   from space 64K,   0% used [0x45610000, 0x45610268, 0x45620000)
   to   space 64K,   0% used [0x45620000, 0x45620000, 0x45630000)
  tenured generation   total 1408K, used 126K [0x45ca0000, 0x45e00000, 0x49590000)
    the space 1408K,   8% used [0x45ca0000, 0x45cbf838, 0x45cbfa00, 0x45e00000)
  compacting perm gen  total 16384K, used 2046K [0x49590000, 0x4a590000, 0x4ed90000)
    the space 16384K,  12% used [0x49590000, 0x4978fac0, 0x4978fc00, 0x4a590000)
No shared spaces configured.

Dynamic libraries:
08048000-08055000 r-xp 00000000 00:1e 3229414    /net/linux-15/export/home/java/jdk1.5.0/linux/bin/java
08055000-08057000 rw-p 0000d000 00:1e 3229414    /net/linux-15/export/home/java/jdk1.5.0/linux/bin/java
08057000-082d3000 rwxp 00000000 00:00 0
40000000-40012000 r-xp 00000000 08:08 261958     /lib/ld-2.2.5.so
40012000-40013000 rw-p 00011000 08:08 261958     /lib/ld-2.2.5.so
40013000-40014000 rw-p 00000000 00:00 0
40014000-40015000 r--p 00000000 00:00 0
40015000-4001c000 r-xp 00000000 00:1e 3228694    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/native_threads/libhpi.so
4001c000-4001d000 rw-p 00006000 00:1e 3228694    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/native_threads/libhpi.so
4001d000-40028000 r-xp 00000000 08:08 261972     /lib/libnss_compat.so.2
40028000-40029000 rw-p 0000a000 08:08 261972     /lib/libnss_compat.so.2
40029000-40037000 r-xp 00000000 08:08 261980     /lib/libpthread.so.0
40037000-4003e000 rw-p 0000e000 08:08 261980     /lib/libpthread.so.0
4003e000-40040000 r-xp 00000000 08:08 261968     /lib/libdl.so.2
40040000-40041000 rw-p 00001000 08:08 261968     /lib/libdl.so.2
40041000-40155000 r-xp 00000000 08:08 261964     /lib/libc.so.6
40155000-4015b000 rw-p 00113000 08:08 261964     /lib/libc.so.6
4015b000-4015f000 rw-p 00000000 00:00 0
4015f000-4061f000 r-xp 00000000 00:1e 3228696    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/server/libjvm.so
4061f000-4067a000 rw-p 004c0000 00:1e 3228696    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/server/libjvm.so
4067a000-40a8f000 rw-p 00000000 00:00 0
40a8f000-40ab1000 r-xp 00000000 08:08 261969     /lib/libm.so.6
40ab1000-40ab2000 rw-p 00021000 08:08 261969     /lib/libm.so.6
40ab2000-40ab6000 rw-s 00000000 08:08 170210     /tmp/hsperfdata_ira/22462
40ab6000-40ac1000 r-xp 00000000 00:1e 3228706    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/libverify.so
40ac1000-40ac2000 rw-p 0000b000 00:1e 3228706    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/libverify.so
40ac2000-40ac5000 r--s 00000000 00:1e 3228745    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/ext/dnsns.jar
40ac7000-40ad9000 r-xp 00000000 08:08 261971     /lib/libnsl.so.1
40ad9000-40ada000 rw-p 00011000 08:08 261971     /lib/libnsl.so.1
40ada000-40adc000 rw-p 00000000 00:00 0
40adc000-40afb000 r-xp 00000000 00:1e 3228707    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/libjava.so
40afb000-40afd000 rw-p 0001e000 00:1e 3228707    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/libjava.so
40afd000-40b10000 r-xp 00000000 00:1e 3228709    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/libzip.so
40b10000-40b12000 rw-p 00013000 00:1e 3228709    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/libzip.so
40b12000-42c93000 r--s 00000000 00:1e 3229230    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/rt.jar
42c93000-42d1b000 rw-p 00000000 00:00 0
42d1b000-42d87000 r--s 00000000 00:1e 3228755    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/jsse.jar
42d87000-42d9b000 r--s 00000000 00:1e 3228747    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/jce.jar
42d9b000-43505000 r--s 00000000 00:1e 3229221    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/charsets.jar
43505000-45585000 rwxp 00028000 00:00 0
45590000-4ee27000 rwxp 02153000 00:00 0
4ee27000-4ee52000 r--p 00000000 08:08 66361      /usr/lib/locale/en_US/LC_CTYPE
4ee52000-4ee7d000 r--s 00000000 00:1e 3228744    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/ext/sunpkcs11.jar
4ee7d000-4eea1000 r--s 00000000 00:1e 3228743    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/ext/sunjce_provider.jar
4eea1000-4ef5d000 r--s 00000000 00:1e 3228746    /net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/ext/localedata.jar
be600000-be601000 ---p 00000000 00:00 0
be601000-be800000 rwxp 00001000 00:00 0
be801000-be804000 ---p 00003000 00:00 0
be804000-bea00000 rwxp 00006000 00:00 0
bea00000-bea04000 ---p 00000000 00:00 0
bea04000-bec00000 rwxp 00004000 00:00 0
bec00000-bec04000 ---p 00000000 00:00 0
bec04000-bee00000 rwxp 00004000 00:00 0
bee00000-bee04000 ---p 00000000 00:00 0
bee04000-bf000000 rwxp 00004000 00:00 0
bf001000-bf004000 ---p 00003000 00:00 0
bf004000-bf200000 rwxp 00006000 00:00 0
bf201000-bf204000 ---p 00003000 00:00 0
bf204000-bf400000 rwxp 00006000 00:00 0
bf401000-bf404000 ---p 00003000 00:00 0
bf404000-bf600000 rwxp 00006000 00:00 0
bf600000-bf601000 ---p 00000000 00:00 0
bf601000-bf800000 rwxp 00001000 00:00 0
bfe01000-bfe04000 ---p 00000000 00:00 0
bfe04000-c0000000 rwxp ffe05000 00:00 0

VM Arguments:
jvm_args: -Xverify:all
java_command: javasoft.sqe.tests.api.java.util.zip.ZipEntry.ZipEntry1Tests

Environment Variables:
JAVA_HOME=/net/linux-15/export/home/java/jdk1.5.0/linux
JRE_HOME=/usr/lib/java/jre
PATH=/net/linux-15/export/home/java/jdk1.5.0/linux/bin:.:/home/ira/bin:/usr/local/bin:/usr/bin:/bin:/usr/etc:/etc:/usr/sbin:/export/AB/local/bin:/usr/X11R6/bin:/net/linux-15/export/home/share/bin:/net/linux-15/export/home/java/jdk1.5.0/linux/bin:.:/home/ira/bin:/usr/local/bin:/usr/bin:/bin:/usr/etc:/etc:/usr/sbin:/export/AB/local/bin:/usr/X11R6/bin:/net/linux-15/export/home/share/bin:/opt/kde3/bin:/opt/gnome/bin:/opt/gnome2/bin:/usr/games:/home/ira/bin:/usr/bin/X11:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/lib/java/jre/bin:.:/usr/lib/java/jre/bin:/opt/gnome/bin
USERNAME=ira
LD_LIBRARY_PATH=/net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386/server:/net/linux-15/export/home/java/jdk1.5.0/linux/jre/lib/i386:/net/linux-15/export/home/java/jdk1.5.0/linux/jre/../lib/i386:/opt/gnome2/lib:
SHELL=/bin/tcsh
DISPLAY=:0
HOSTTYPE=i586-linux
OSTYPE=linux
MACHTYPE=i686


---------------  S Y S T E M  ---------------

OS:SuSE Linux 8.1 (i386)
VERSION = 8.1

uname:Linux 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686
libc:glibc 2.2.5 stable linuxthreads (fixed stack)
rlimit: STACK 2044k, CORE 0k, NPROC 2047, NOFILE 1024, AS infinity
load average:4.80 4.39 4.27

CPU:total 1(active 1) family 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 256080k(16800k free), swap 265032k(154068k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0-beta-b28) for linux-x86, built on Nov 12 2003 01:27:20 by java_re with gcc 3.2.1-7 20020903 (release)
---------------------------------------

Specific machine info:
======================
Hostname: linux-18
OS: Solaris 10 (x86) (GNOME)

======================================================================

Comments
EVALUATION It is duplication of 4951940. The run with java_g gives the next assert when compiled java.util.Calendar::<init>: # Internal Error (/BUILD_AREA/jdk1.5.0/hotspot/src/share/vm/opto/phaseX.hpp, 155), pid=4571, tid=9 # # Java VM: Java HotSpot(TM) Server VM (1.5.0-beta-b28-debug mixed mode) # # Error: assert(t != 0,"must set before get") ###@###.### 2003-11-17
17-11-2003