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

Share: problem to bring up apps with VM sharing enable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • hotspot
    • x86
    • linux_redhat_7.1


      ###@###.### 2004-01-16


      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
        Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)

      Does this problem occur on J2SE 1.3, 1.4 or 1.4.1? Yes / No (pick one)
        No.

      Operating System Configuration Information (be specific):
        RH Linux 9 + updates
        RH Linux 7.1 + updates
        Other Linux distributions (reported by customer, unverified)

      Bug Description:
        The current CodeGuide packages can not be started with the current JDK
        1.5.0 build under Linux with VM sharing enabled and get the error
        message:
      ---
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0x40448fde, pid=23577, tid=16384
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b32 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x2a3fde] <----- pointer is always the same
      #
      # An error report file with more information is saved as
      /tmp/hs_err_pid23577.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Aborted
      ---
       
       It works fine if -Xshare:off is supplied with the VM startup options.

      Steps to Reproduce (be specific):
        1) Download the latest CodeGuide package from
           http://www.omnicore.com/download/codeguide-6.1-unix.tar.gz
        2) Extract it
        3) Modify the CodeGuide startup script to start the 1.5 VM
        4) Run the CodeGuide script
       
      check attached errlog files for Redhat 7.1(err_rh71_log)
      and Redhat 9(err_rh9_log).



      ###@###.### 2004-01-20

      Further information: It works fine if reduce the maximum heap size
      parameter (-Xmx) to 256m while even 384m maximum heap size causes a
      failure. At least an error message would be helpful. it can be reproduced
      on different hardware with Debian GNU/Linux unstable as well,
      log file attached:


      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0x4044dfde, pid=1028, tid=16384
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b32 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x2a3fde]
      #

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

      Current thread (0x0805afa8): JavaThread [_thread_in_vm, id=1028]

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

      Registers:
      EAX=0x00000000, EBX=0x40535ce4, ECX=0x00000001, EDX=0x00000000
      ESP=0xbfffd6a0, EBP=0xbfffd6b8, ESI=0x080b68b0, EDI=0x080b68b0
      EIP=0x4044dfde, CR2=0x00000008, EFLAGS=0x00210246

      Top of Stack: (sp=0xbfffd6a0)
      0xbfffd6a0: 08092a38 0805afa8 bfffd6c8 40535ce4
      0xbfffd6b0: 40535ce4 4052a12c bfffd7d8 404addd8
      0xbfffd6c0: 080b68b0 00000000 00000000 4053412c
      0xbfffd6d0: 40031080 40031080 bfffd720 bfffd760
      0xbfffd6e0: 0805afa8 bfffd780 bfffd7b0 40016c80
      0xbfffd6f0: 080579f0 bfffd8b0 bfffd7bc 400e40d4
      0xbfffd700: 4000bef6 00000000 401a7290 bfffd754
      0xbfffd710: bfffd738 400e5190 bfffd754 080582b8

      Instructions: (pc=0x4044dfde)
      0x4044dfce: 46 1c 25 ff bf ff ff 89 46 1c 8b 86 84 00 00 00
      0x4044dfde: c7 40 08 02 00 00 00 8b 46 1c a9 00 80 00 00 74

      Stack: [0xbfe01000,0xc0000000), sp=0xbfffd6a0, free space=2033k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x2a3fde]
      V [libjvm.so+0x303dd8]
      V [libjvm.so+0x184e72]
      C [java+0x31dc]
      C [java+0x14df]
      C [libc.so.6+0x15da6] __libc_start_main+0xc6


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

      Java Threads: ( => current thread )
      =>0x0805afa8 JavaThread [_thread_in_vm, id=1028]

      Other Threads:
        0x080b68b0 VMThread

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x0805a6d8/0x0805a700] Notify_lock - owner thread: 0x0805afa8

      Heap
       def new generation total 1152K, used 21K [0x457f0000, 0x45920000, 0x47f50000)
        eden space 1088K, 2% used [0x457f0000, 0x457f5718, 0x45900000)
        from space 64K, 0% used [0x45900000, 0x45900000, 0x45910000)
        to space 64K, 0% used [0x45910000, 0x45910000, 0x45920000)
       tenured generation total 15168K, used 0K [0x47f50000, 0x48e20000, 0x657f0000)
         the space 15168K, 0% used [0x47f50000, 0x47f50000, 0x47f50200, 0x48e20000)
       compacting perm gen total 8192K, used 409K [0x657f0000, 0x65ff0000, 0x697f0000)
         the space 8192K, 5% used [0x657f0000, 0x65856730, 0x65856800, 0x65ff0000)
      No shared spaces configured.

      Dynamic libraries:
      08048000-08056000 r-xp 00000000 03:07 1622134 /opt/java/j2sdk1.5.0/bin/java
      08056000-08058000 rw-p 0000d000 03:07 1622134 /opt/java/j2sdk1.5.0/bin/java
      08058000-080c6000 rwxp 00000000 00:00 0
      40000000-40016000 r-xp 00000000 03:07 163945 /lib/ld-2.3.2.so
      40016000-40017000 rw-p 00015000 03:07 163945 /lib/ld-2.3.2.so
      40017000-40018000 rw-p 00000000 00:00 0
      40018000-40019000 r--p 00000000 00:00 0
      40019000-40020000 r-xp 00000000 03:07 1606152
      /opt/java/j2sdk1.5.0/jre/lib/i386/native_threads/libhpi.so
      40020000-40021000 rw-p 00006000 03:07 1606152
      /opt/java/j2sdk1.5.0/jre/lib/i386/native_threads/libhpi.so
      40023000-40030000 r-xp 00000000 03:07 163962 /lib/libpthread-0.10.so
      40030000-40032000 rw-p 0000c000 03:07 163962 /lib/libpthread-0.10.so
      40032000-40074000 rw-p 00000000 00:00 0
      40074000-40076000 r-xp 00000000 03:07 163950 /lib/libdl-2.3.2.so
      40076000-40077000 rw-p 00002000 03:07 163950 /lib/libdl-2.3.2.so
      40077000-40078000 rw-p 00000000 00:00 0
      40078000-4019f000 r-xp 00000000 03:07 163948 /lib/libc-2.3.2.so
      4019f000-401a8000 rw-p 00126000 03:07 163948 /lib/libc-2.3.2.so
      401a8000-401aa000 rw-p 00000000 00:00 0
      401aa000-4051b000 r-xp 00000000 03:07 819708
      /opt/java/j2sdk1.5.0/jre/lib/i386/client/libjvm.so
      4051b000-40539000 rw-p 00370000 03:07 819708
      /opt/java/j2sdk1.5.0/jre/lib/i386/client/libjvm.so
      40539000-4094d000 rw-p 00000000 00:00 0
      4094d000-4096e000 r-xp 00000000 03:07 163952 /lib/libm-2.3.2.so
      4096e000-4096f000 rw-p 00020000 03:07 163952 /lib/libm-2.3.2.so
      4096f000-40973000 rw-s 00000000 03:07 1573772 /tmp/hsperfdata_hans/1028
      4097a000-4098c000 r-xp 00000000 03:07 163954 /lib/libnsl-2.3.2.so
      4098c000-4098d000 rw-p 00011000 03:07 163954 /lib/libnsl-2.3.2.so
      4098d000-4098f000 rw-p 00000000 00:00 0
      4098f000-40996000 r-xp 00000000 03:07 163955 /lib/libnss_compat-2.3.2.so
      40996000-40997000 rw-p 00006000 03:07 163955 /lib/libnss_compat-2.3.2.so
      40997000-4099f000 r-xp 00000000 03:07 163959 /lib/libnss_nis-2.3.2.so
      4099f000-409a0000 rw-p 00007000 03:07 163959 /lib/libnss_nis-2.3.2.so
      409a0000-409a8000 r-xp 00000000 03:07 163957 /lib/libnss_files-2.3.2.so
      409a8000-409a9000 rw-p 00008000 03:07 163957 /lib/libnss_files-2.3.2.so
      409a9000-409b4000 r-xp 00000000 03:07 1606160 /opt/java/j2sdk1.5.0/jre/lib/i386/libverify.so
      409b4000-409b5000 rw-p 0000b000 03:07 1606160 /opt/java/j2sdk1.5.0/jre/lib/i386/libverify.so
      409b5000-409d5000 r-xp 00000000 03:07 1606161 /opt/java/j2sdk1.5.0/jre/lib/i386/libjava.so
      409d5000-409d7000 rw-p 0001f000 03:07 1606161 /opt/java/j2sdk1.5.0/jre/lib/i386/libjava.so
      409d7000-409ea000 r-xp 00000000 03:07 1606163 /opt/java/j2sdk1.5.0/jre/lib/i386/libzip.so
      409ea000-409ec000 rw-p 00012000 03:07 1606163 /opt/java/j2sdk1.5.0/jre/lib/i386/libzip.so
      409ec000-42e02000 r--s 00000000 03:07 966943 /opt/java/j2sdk1.5.0/jre/lib/rt.jar
      42e02000-42e97000 rw-p 00000000 00:00 0
      42e97000-42f17000 r--s 00000000 03:07 966938 /opt/java/j2sdk1.5.0/jre/lib/jsse.jar
      42f17000-42f2b000 r--s 00000000 03:07 966920 /opt/java/j2sdk1.5.0/jre/lib/jce.jar
      42f2b000-43764000 r--s 00000000 03:07 966941 /opt/java/j2sdk1.5.0/jre/lib/charsets.jar
      43764000-457e4000 rwxp 00028000 00:00 0
      457f0000-6b229000 rwxp 021e4000 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: -Xms16m -Xmx512m
      java_command: CodeGuide

      Environment Variables:
      CLASSPATH=/opt/codeguide-amethyst/lib/codeguide.jar:/opt/codeguide-amethyst/lib/resources.jar:/opt/codeguide-amethyst/lib/native.jar:/opt/codeguide-amethyst/lib/servlet.jar:/opt/codeguide-amethyst/lib/alloy.jar
      PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
      USERNAME=hans
      LD_LIBRARY_PATH=/opt/java/j2sdk1.5.0/jre/lib/i386/client:/opt/java/j2sdk1.5.0/jre/lib/i386:/opt/java/j2sdk1.5.0/jre/../lib/i386
      SHELL=/bin/bash
      DISPLAY=:0.0


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

      OS:testing/unstable

      uname:Linux 2.4.24custom #2 Sat Jan 17 22:25:27 CET 2004 i686
      libc:glibc 2.3.2 linuxthreads-0.10 (fixed stack)
      rlimit: STACK 2044k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
      load average:0.13 0.26 0.25

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

      Memory: 4k page, physical 1033576k(510884k free), swap 489940k(489940k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0-beta-b32) for linux-x86, built on Dec 19 2003 02:38:07
      by java_re with gcc 3.2.1-7 20020903 (release)


            foliversunw Fred Oliver (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: