JDK-4951933 : Linux: Server VM crashes with test/java/util/Date/DateGregorianCalendarTest.java
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_redhat_2.1
  • CPU: x86
  • Submitted: 2003-11-11
  • Updated: 2003-11-13
  • Resolved: 2003-11-13
Related Reports
Duplicate :  
Relates :  
Description
% java -showversion -server DateGregorianCalendarTest
java version "1.5.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-okutsu_06_nov_2003_13_18)
Java HotSpot(TM) Server VM (build 1.5.0-beta-b26, mixed mode)

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x4051447d, pid=14110, tid=7176
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0-beta-b26 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x39c47d]
#
# An error report file with more information is saved as hs_err_pid14110.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/cgi-bin/bugreport.cgi
#
[thread 10251 also had an error]
Abort


hs_err_pid14110.log:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x4051447d, pid=14110, tid=7176
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0-beta-b26 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x39c47d]
#

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

Current thread (0x0810a1e0):  JavaThread "CompilerThread1" daemon [_thread_in_native, id=14118]

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

Registers:
EAX=0x00000000, EBX=0x4068b738, ECX=0x00000010, EDX=0x00000010
ESP=0x4cf387cc, EBP=0x4cf387e4, ESI=0x00000000, EDI=0x08098080
EIP=0x4051447d, CR2=0x0000000c, EFLAGS=0x00010202

Top of Stack: (sp=0x4cf387cc)
0x4cf387cc:   0000ffff 00000010 4cf38c48 4068b738
0x4cf387dc:   4cf38c48 080b7f24 4cf38834 405599fa
0x4cf387ec:   080b7f24 4cf38c2c 080b7f24 080b7f24
0x4cf387fc:   0812ffac 0812ffd0 080b7f24 40556b19
0x4cf3880c:   082716f4 00000715 08098674 4cf38d6c
0x4cf3881c:   082131fc 000007e2 4cf38c54 4068b738
0x4cf3882c:   4cf38c2c 081345e8 4cf38874 405595b0
0x4cf3883c:   4cf38c2c 081345e8 0000072a 0000072a 

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

Stack: [0x4cd3a000,0x4cf3a000),  sp=0x4cf387cc,  free space=2041k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x39c47d]
V  [libjvm.so+0x3e19fa]
V  [libjvm.so+0x3e15b0]
V  [libjvm.so+0x1854d0]
V  [libjvm.so+0x1827ca]
V  [libjvm.so+0x134cbc]
V  [libjvm.so+0x18abc5]
V  [libjvm.so+0x18a559]
V  [libjvm.so+0x448386]
V  [libjvm.so+0x44329d]
V  [libjvm.so+0x3b6b64]
C  [libpthread.so.0+0x6c6f]


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


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

Java Threads: ( => current thread )
  0x0811ea60 JavaThread "Thread-2" [_thread_blocked, id=14123]
  0x0811dd38 JavaThread "Thread-1" [_thread_blocked, id=14122]
  0x081219e0 JavaThread "Thread-0" [_thread_blocked, id=14121]
  0x0810b550 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=14119]
=>0x0810a1e0 JavaThread "CompilerThread1" daemon [_thread_in_native, id=14118]
  0x081092a0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=14117]
  0x08108320 JavaThread "AdapterThread" daemon [_thread_blocked, id=14116]
  0x080dec00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14115]
  0x080d7718 JavaThread "Finalizer" daemon [_thread_blocked, id=14114]
  0x080d71c8 JavaThread "Reference Handler" daemon [_thread_blocked, id=14113]
  0x080544e0 JavaThread "main" [_thread_blocked, id=14110]

Other Threads:
  0x080d30d8 VMThread [id=14112]
  0x0810c8d0 WatcherThread [id=14120]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 514K [0x42f20000, 0x42fc0000, 0x43630000)
  eden space 512K,  99% used [0x42f20000, 0x42f9ffb8, 0x42fa0000)
  from space 64K,   3% used [0x42fa0000, 0x42fa0878, 0x42fb0000)
  to   space 64K,   0% used [0x42fb0000, 0x42fb0000, 0x42fc0000)
 tenured generation   total 1408K, used 107K [0x43630000, 0x43790000, 0x46f20000)
   the space 1408K,   7% used [0x43630000, 0x4364acc8, 0x4364ae00, 0x43790000)
 compacting perm gen  total 16384K, used 1625K [0x46f20000, 0x47f20000, 0x4c720000)
   the space 16384K,   9% used [0x46f20000, 0x470b6630, 0x470b6800, 0x47f20000)
No shared spaces configured.

Dynamic libraries:
08048000-0804f000 r-xp 00000000 00:09 1018790    /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/bin/java
0804f000-08050000 rw-p 00006000 00:09 1018790    /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/bin/java
08050000-08333000 rwxp 00000000 00:00 0
40000000-40016000 r-xp 00000000 03:05 60242      /lib/ld-2.2.4.so
40016000-40017000 rw-p 00015000 03:05 60242      /lib/ld-2.2.4.so
40017000-40018000 rw-p 00000000 00:00 0
40018000-40019000 r--p 00000000 00:00 0
40019000-40020000 r-xp 00000000 00:09 472916     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/native_threads/libhpi.so
40020000-40021000 rw-p 00006000 00:09 472916     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/native_threads/libhpi.so
40023000-40030000 r-xp 00000000 03:05 72294      /lib/i686/libpthread-0.9.so
40030000-40038000 rw-p 0000c000 03:05 72294      /lib/i686/libpthread-0.9.so
40038000-4003b000 r-xp 00000000 03:05 60255      /lib/libdl-2.2.4.so
4003b000-4003c000 rw-p 00002000 03:05 60255      /lib/libdl-2.2.4.so
4003c000-4016f000 r-xp 00000000 03:05 72290      /lib/i686/libc-2.2.4.so
4016f000-40174000 rw-p 00132000 03:05 72290      /lib/i686/libc-2.2.4.so
40174000-40178000 rw-p 00000000 00:00 0
40178000-40635000 r-xp 00000000 00:09 472960     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/server/libjvm.so
40635000-4068f000 rw-p 004bc000 00:09 472960     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/server/libjvm.so
4068f000-40aa4000 rw-p 00000000 00:00 0
40aa4000-40ac6000 r-xp 00000000 03:05 72292      /lib/i686/libm-2.2.4.so
40ac6000-40ac7000 rw-p 00021000 03:05 72292      /lib/i686/libm-2.2.4.so
40ac7000-40acb000 rw-s 00000000 03:05 46315      /tmp/hsperfdata_okutsu/14110
40acb000-40ace000 r--s 00000000 00:09 475004     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/ext/dnsns.jar
40ad2000-40ae5000 r-xp 00000000 03:05 60260      /lib/libnsl-2.2.4.so
40ae5000-40ae6000 rw-p 00012000 03:05 60260      /lib/libnsl-2.2.4.so
40ae6000-40ae8000 rw-p 00000000 00:00 0
40ae8000-40af2000 r-xp 00000000 03:05 60276      /lib/libnss_files-2.2.4.so
40af2000-40af3000 rw-p 00009000 03:05 60276      /lib/libnss_files-2.2.4.so
40af3000-40afd000 r-xp 00000000 03:05 60281      /lib/libnss_nis-2.2.4.so
40afd000-40afe000 rw-p 00009000 03:05 60281      /lib/libnss_nis-2.2.4.so
40afe000-40b09000 r-xp 00000000 00:09 473211     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/libverify.so
40b09000-40b0a000 rw-p 0000b000 00:09 473211     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/libverify.so
40b0a000-40b29000 r-xp 00000000 00:09 474869     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/libjava.so
40b29000-40b2b000 rw-p 0001e000 00:09 474869     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/libjava.so
40b2b000-40b3e000 r-xp 00000000 00:09 474872     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/libzip.so
40b3e000-40b40000 rw-p 00013000 00:09 474872     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/libzip.so
40b40000-40b77000 r--s 00000000 00:09 1018785    /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/jsse.jar
40b77000-40b8b000 r--s 00000000 00:09 1018783    /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/jce.jar
40b8b000-40e92000 r--s 00000000 00:09 1020568    /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/charsets.jar
40e92000-42f12000 rwxp 00000000 00:00 0
42f12000-42f13000 ---p 02080000 00:00 0
42f13000-42f1f000 rwxp 02081000 00:00 0
42f20000-4c7b7000 rwxp 00000000 00:00 0
4c7b7000-4c7ba000 ---p 09897000 00:00 0
4c7ba000-4c837000 rwxp 0989a000 00:00 0
4c837000-4c83a000 ---p 09917000 00:00 0
4c83a000-4c8b7000 rwxp 0991a000 00:00 0
4c8b7000-4c8ba000 ---p 09997000 00:00 0
4c8ba000-4c937000 rwxp 0999a000 00:00 0
4c937000-4c93b000 ---p 09a17000 00:00 0
4c93b000-4cb38000 rwxp 00003000 00:00 0
4cb38000-4cb3c000 ---p 09c18000 00:00 0
4cb3c000-4cd39000 rwxp 00003000 00:00 0
4cd39000-4cd3d000 ---p 00200000 00:00 0
4cd3d000-4cf3a000 rwxp 00003000 00:00 0
4cf3a000-4cf3d000 ---p 00200000 00:00 0
4cf3d000-4cfba000 rwxp 00203000 00:00 0
4cfba000-4cfbb000 ---p 00280000 00:00 0
4cfbb000-4d03b000 rwxp 00281000 00:00 0
4d03b000-4d05f000 r--s 00000000 00:09 472964     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/ext/sunjce_provider.jar
4d05f000-4d08a000 r--s 00000000 00:09 473169     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/ext/sunpkcs11.jar
4d08a000-4d0f4000 r--s 00000000 00:09 475036     /.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/ext/localedata.jar
4d0f4000-4d0f7000 ---p 00000000 00:00 0
4d0f7000-4d174000 rwxp 00003000 00:00 0
4d174000-4d177000 ---p 00080000 00:00 0
4d177000-4d1f4000 rwxp 00083000 00:00 0
4d1f4000-4d1f7000 ---p 00100000 00:00 0
4d1f7000-4d274000 rwxp 00103000 00:00 0
bfdee000-bfdf1000 ---p 00000000 00:00 0
bfdf1000-bffee000 rwxp ffe04000 00:00 0

VM Arguments:
java_command: DateGregorianCalendarTest

Environment Variables:
PATH=/home/okutsu/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386/server:/.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/lib/i386:/.automount/darkwing/root/export/ws/tiger.i18n/build/linux-i586/../lib/i386
SHELL=/bin/csh
HOSTTYPE=i386-linux
OSTYPE=linux
MACHTYPE=i386


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

OS:Red Hat Linux Advanced Server release 2.1AS (Pensacola)

uname:Linux 2.4.9-e.3 #1 Fri May 3 17:02:43 EDT 2002 i686
libc:glibc 2.2.4 stable linuxthreads (floating stack)
rlimit: STACK infinity, CORE infinity, NPROC 1024, NOFILE 1024, AS infinity
load average:1.80 1.56 1.41

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

Memory: 4k page, physical 255028k(3140k free), swap 522072k(492760k free)


The same program runs Okay with the client VM.

% java -showversion DateGregorianCalendarTest
java version "1.5.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-internal-okutsu_06_nov_2003_13_18)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b26, mixed mode)

Part I (count=2124094): Passed
Part II (count=1615802): Passed
Part III (count=3568013): Passed

###@###.### 2003-11-11

Comments
EVALUATION Duplicate of 4951940.
11-06-2004