Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5057842

Class sharing initialization broken on RH9 in Tiger b54

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • hotspot
    • None
    • x86
    • linux_redhat_9.0

      I am unable to complete the installation of Tiger b54 on my machine; after unpacking everything, an abort message is printed:

      ---%<---
      [...]
      Creating jdk1.5.0/jre/lib/javaws.jar
      Creating jdk1.5.0/jre/lib/deploy.jar
      /tmp/jdk-1_5_0-beta3-bin-b54-linux-i586-02_jun_2004.bin: line 546: 1673 Aborted $javahome/bin/java -client -Xshare:dump >/dev/null 2>&1
       
      Done.
      ---%<---

      If I run just that last command, I get:

      ---%<---
      $ /space/jdk1.5.0/bin/java -client -Xshare:dump
      Loading classes to share ... done.
      Rewriting and unlinking classes ... done.
      Calculating hash values for String objects .. done.
      Calculating fingerprints ... done.
      Removing unshareable information ... done.
      Moving most read-only objects to shared space at 0x6e6c0000 ... done.
      Moving common symbols to shared space at 0x6ea383e0 ... done.
      Moving remaining symbols to shared space at 0x6eb62648 ... done.
      Moving string char arrays to shared space at 0x6eb630d8 ... done.
      Moving additional symbols to shared space at 0x6ebe39b8 ... done.
      Read-only space ends at 0x6ec37198, 5730712 bytes.
      Moving read-write objects to shared space at 0x6eec0000 ... done.
      Moving String objects to shared space at 0x6f439f88 ... done.
      Read-write space ends at 0x6f4798b8, 6002872 bytes.
      Updating references to shared objects ... #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (44554D500E4350500184), pid=1706, tid=1093532464
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta3-b54 interpreted mode)
      # An error report file with more information is saved as hs_err_pid1706.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Aborted
      ---%<---

      Notes:

      1. I have installed numerous other builds of Tiger on the same machine, with no significant system changes that I am aware of, including builds with class sharing enabled, with no problems.

      2. Looks like even though class sharing init died, everything else is working; at least SwingSet2 runs with no problems.

      HS log:

      ---%<---
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (44554D500E4350500184), pid=1706, tid=1093532464
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta3-b54 interpreted mode)

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

      Current thread (0x080b2218): VMThread [id=1707]

      Stack: [0x4125f000,0x412e0000), sp=0x412df448, free space=513k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x2dbfc3]
      V [libjvm.so+0x119bac]
      V [libjvm.so+0x1239c1]
      V [libjvm.so+0xc7042]
      V [libjvm.so+0x249030]
      V [libjvm.so+0x123a0d]
      V [libjvm.so+0x28aeb2]
      V [libjvm.so+0x28ae7e]
      V [libjvm.so+0x12249a]
      V [libjvm.so+0x2e4726]
      V [libjvm.so+0x2e3d97]
      V [libjvm.so+0x2e3fa5]
      V [libjvm.so+0x2e3bb0]
      V [libjvm.so+0x257628]
      C [libpthread.so.0+0x4484]

      VM_Operation (0xbfffb140): VM_PopulateSharedSpace, mode: safepoint, requested by thread 0x0805a990


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

      Java Threads: ( => current thread )
        0x0805a990 JavaThread [_thread_blocked, id=1706]

      Other Threads:
      =>0x080b2218 VMThread [id=1707]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x08059e28/0x08059e50] Threads_lock - owner thread: 0x080b2218

      Heap
       def new generation total 576K, used 10K [0x666c0000, 0x66760000, 0x66ba0000)
        eden space 512K, 2% used [0x666c0000, 0x666c2908, 0x66740000)
        from space 64K, 0% used [0x66740000, 0x66740000, 0x66750000)
        to space 64K, 0% used [0x66750000, 0x66750000, 0x66760000)
       tenured generation total 1408K, used 0K [0x66ba0000, 0x66d00000, 0x6a6c0000)
         the space 1408K, 0% used [0x66ba0000, 0x66ba0000, 0x66ba0200, 0x66d00000)
       compacting perm gen total 11520K, used 11469K [0x6a6c0000, 0x6b200000, 0x6e6c0000)
         the space 11520K, 99% used [0x6a6c0000, 0x6b1f36a0, 0x6b1f3800, 0x6b200000)
          ro space 8192K, 68% used [0x6e6c0000, 0x6ec37198, 0x6ec37200, 0x6eec0000)
          rw space 12288K, 47% used [0x6eec0000, 0x6f4798b8, 0x6f479a00, 0x6fac0000)

      Dynamic libraries:
      08048000-08056000 r-xp 00000000 03:06 166451 /space/jdk1.5.0/bin/java
      08056000-08058000 rw-p 0000e000 03:06 166451 /space/jdk1.5.0/bin/java
      08058000-08318000 rwxp 00000000 00:00 0
      40000000-40015000 r-xp 00000000 03:02 98569 /lib/ld-2.3.2.so
      40015000-40016000 rw-p 00015000 03:02 98569 /lib/ld-2.3.2.so
      40016000-40017000 ---p 00000000 00:00 0
      40017000-4001d000 r-xp 00000000 03:06 1442556 /space/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
      4001d000-4001e000 rw-p 00006000 03:06 1442556 /space/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
      4001e000-40023000 rwxp 00000000 00:00 0
      40023000-40024000 rw-p 00000000 00:00 0
      40025000-40026000 rw-p 00002000 00:00 0
      40026000-40031000 r-xp 00000000 03:02 279697 /lib/tls/libpthread-0.34.so
      40031000-40032000 rw-p 0000a000 03:02 279697 /lib/tls/libpthread-0.34.so
      40032000-40034000 rw-p 00000000 00:00 0
      40034000-40037000 r-xp 00000000 03:02 99157 /lib/libdl-2.3.2.so
      40037000-40038000 rw-p 00002000 03:02 99157 /lib/libdl-2.3.2.so
      40038000-40039000 rw-p 00000000 00:00 0
      40039000-40357000 r-xp 00000000 03:06 1771791 /space/jdk1.5.0/jre/lib/i386/client/libjvm.so
      40357000-40375000 rw-p 0031d000 03:06 1771791 /space/jdk1.5.0/jre/lib/i386/client/libjvm.so
      40375000-4078a000 rw-p 00000000 00:00 0
      4078a000-407ab000 r-xp 00000000 03:02 279695 /lib/tls/libm-2.3.2.so
      407ab000-407ac000 rw-p 00020000 03:02 279695 /lib/tls/libm-2.3.2.so
      407ac000-407b4000 rw-s 00000000 03:02 263870 /tmp/hsperfdata_jglick/1706
      407b4000-407bb000 rwxp 00000000 00:00 0
      407bb000-407cd000 r-xp 00000000 03:02 99161 /lib/libnsl-2.3.2.so
      407cd000-407ce000 rw-p 00011000 03:02 99161 /lib/libnsl-2.3.2.so
      407ce000-407d0000 rw-p 00000000 00:00 0
      407d0000-407db000 r-xp 00000000 03:02 99202 /lib/libnss_files-2.3.2.so
      407db000-407dc000 rw-p 0000a000 03:02 99202 /lib/libnss_files-2.3.2.so
      407dc000-407e7000 r-xp 00000000 03:06 1442952 /space/jdk1.5.0/jre/lib/i386/libverify.so
      407e7000-407e8000 rw-p 0000b000 03:06 1442952 /space/jdk1.5.0/jre/lib/i386/libverify.so
      407e8000-40808000 r-xp 00000000 03:06 1442953 /space/jdk1.5.0/jre/lib/i386/libjava.so
      40808000-4080a000 rw-p 0001f000 03:06 1442953 /space/jdk1.5.0/jre/lib/i386/libjava.so
      4080a000-4081d000 r-xp 00000000 03:06 1442955 /space/jdk1.5.0/jre/lib/i386/libzip.so
      4081d000-4081f000 rw-p 00012000 03:06 1442955 /space/jdk1.5.0/jre/lib/i386/libzip.so
      4081f000-40887000 rw-p 00000000 00:00 0
      40887000-40907000 r--s 00000000 03:06 1443805 /space/jdk1.5.0/jre/lib/jsse.jar
      40907000-4091b000 r--s 00000000 03:06 1443019 /space/jdk1.5.0/jre/lib/jce.jar
      4091b000-41155000 r--s 00000000 03:06 1443810 /space/jdk1.5.0/jre/lib/charsets.jar
      41155000-4125f000 rwxp 00001000 00:00 0
      4125f000-41260000 ---p 0010b000 00:00 0
      41260000-412e0000 rwxp 0010c000 00:00 0
      42000000-42130000 r-xp 00000000 03:02 279693 /lib/tls/libc-2.3.2.so
      42130000-42133000 rw-p 00130000 03:02 279693 /lib/tls/libc-2.3.2.so
      42133000-42136000 rw-p 00000000 00:00 0
      42136000-446b5000 r--s 00000000 03:06 1444071 /space/jdk1.5.0/jre/lib/rt.jar
      446b5000-666b5000 rwxp 00028000 00:00 0
      666c0000-702c0000 rwxp 220d3000 00:00 0
      bfe00000-bfe03000 ---p 00000000 00:00 0
      bfe03000-c0000000 rwxp ffe04000 00:00 0

      VM Arguments:
      jvm_args: -Xshare:dump
      java_command: <unknown>

      Environment Variables:
      JAVA_HOME=/space/jdk1.5
      PATH=/usr/local/override:/space/jdk1.5/bin:/usr/local/override:/space/jdk1.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/home/jglick
      USERNAME=
      LD_LIBRARY_PATH=/space/jdk1.5.0/jre/lib/i386/client:/space/jdk1.5.0/jre/lib/i386:/space/jdk1.5.0/jre/../lib/i386
      SHELL=/bin/bash
      DISPLAY=:0.0


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

      OS:Red Hat Linux release 9 (Shrike)

      uname:Linux 2.4.20-20.9 #1 Mon Aug 18 11:45:58 EDT 2003 i686
      libc:glibc 2.3.2 NPTL 0.34
      rlimit: STACK 8192k, CORE 0k, NPROC 7168, NOFILE 1024, AS infinity
      load average:0.52 0.39 0.23

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

      Memory: 4k page, physical 1029800k(624588k free), swap 265064k(261044k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0-beta3-b54) for linux-x86, built on Jun 2 2004 03:16:01 by java_re with gcc 3.2.1-7a (J2SE release)

      ---%<---

      ###@###.### 2004-06-04

            Unassigned Unassigned
            jglick Jesse Glick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: