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

JCK: +OnStackReplaceALot +VerifyStack +WalkStackALot cause java_g crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_2.6, solaris_7

      Description



      Name: icR10030 Date: 01/18/2001


      2 JCK13 tests cause java_g crash:
      vm/instr/dload_w/dload_w001/dload_w00101/dload_w00101.html
      vm/instr/dstore_w/dstore_w005/dstore_w00501/dstore_w00501.html

      Platforms:
      =============
      RedHat 6.2

      JDK, switches Info:
      ===================
      java version "1.3.1beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b13)
      Java HotSpot(TM) Client VM (build 1.3.1beta-b13-debug, mixed mode)

      -XX:+OnStackReplaceALot -XX:+VerifyStack -XX:+WalkStackALot -Xfuture

      How to reproduce:
      ====================
      Run following script ( you may need to change some environment variables ):
      #!/bin/ksh
      #
      # README: Modify these threev variables to fit your need:
      #
      # - ${executeClass}
      # - ${excludeCmd}
      # - ${executeClassArgs}
      # - ${executeContextArgs}
      # - ${executeTestURL}
      #
      #################################

      SWITCH=${1+$@}

      #This is where you want the JDK to be use.
      #Example: JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
      JDK=/net/jdk/export/disk8/local.java/jdk1.3.1

      #This is where you want the JCK to be use.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a

      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3

      JCK=${TESTBASE}/JCK-runtime-13fcs

      executeClass=javasoft.sqe.tests.vm.dload_w.dload_w001.dload_w00101.dload_w00101
      excludeCmd=
      executeClassArgs=
      executeTestURL=

      #executeContextArgs is used for vm testing.
      executeContextArgs=""

      #Example:
      #
      #executeClass=javasoft.sqe.tests.api.javax.swing.SwingUtilities.otherTests
      #excludeCmd="-exclude JComboBox2027,JComboBox2026,JComboBox2028"
      #executeClassArgs="-TestCaseID ALL"
      #executeContextArgs="-nativeCodeSupported true"
      #executeTestURL="-TestURL file:/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13fcs/tests/api/signaturetest/SignatureTest.html#CORBASignatureTest -FileName jdk1_3.CORBA.sig -Package org.omg"


      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}:${TESTBASE}/lib
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      echo
      java_g ${SWITCH} -version
      echo
      java_g ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}


      Test output:
      =============

      VM option '+OnStackReplaceALot'
      VM option '+VerifyStack'
      VM option '+WalkStackALot'

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0x41305709
      Function name=malloc
      Library=/lib/libc.so.6

      Current Java thread:
              at java.lang.System.exit(System.java:701)
              at javasoft.sqe.tests.vm.dload_w.dload_w001.dload_w00101.dload_w00101.main(/usr/re/jck/jck1.3/src/solaris/JCK-13z1/jck-tests-build/JCK-runtime-13fcs/tests/vm/instr/dload_w/dload_w001/dload_w00101/dload_w00101.jasm)

      Dynamic libraries:
      08048000-0804c000 r-xp 00000000 00:0a 557366852 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/bin/i386/native_threads/java_g
      0804c000-0804d000 rw-p 00003000 00:0a 557366852 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/bin/i386/native_threads/java_g
      40000000-40013000 r-xp 00000000 08:07 15418 /lib/ld-2.1.3.so
      40013000-40014000 rw-p 00012000 08:07 15418 /lib/ld-2.1.3.so
      40016000-40017000 r--p 00000000 08:07 92 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
      40017000-40018000 r--p 00000000 08:07 107835 /usr/share/locale/en_US/LC_MONETARY
      40018000-40019000 r--p 00000000 08:07 107837 /usr/share/locale/en_US/LC_TIME
      40019000-4001a000 r--p 00000000 08:07 107836 /usr/share/locale/en_US/LC_NUMERIC
      4001b000-40026000 r-xp 00000000 08:07 15464 /lib/libpthread-0.8.so
      40026000-4002d000 rw-p 0000a000 08:07 15464 /lib/libpthread-0.8.so
      4002e000-40038000 r-xp 00000000 00:0a 553777696 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/native_threads/libhpi_g.so
      40038000-40039000 rw-p 00009000 00:0a 553777696 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/native_threads/libhpi_g.so
      40039000-4045f000 r-xp 00000000 00:0a 553777699 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/client/libjvm_g.so
      4045f000-4124e000 rw-p 00425000 00:0a 553777699 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/client/libjvm_g.so
      412a8000-412aa000 r-xp 00000000 08:07 15434 /lib/libdl-2.1.3.so
      412aa000-412ac000 rw-p 00001000 08:07 15434 /lib/libdl-2.1.3.so
      412ac000-41399000 r-xp 00000000 08:07 15425 /lib/libc-2.1.3.so
      41399000-4139d000 rw-p 000ec000 08:07 15425 /lib/libc-2.1.3.so
      413a1000-413b3000 r-xp 00000000 08:07 15438 /lib/libnsl-2.1.3.so
      413b3000-413b5000 rw-p 00011000 08:07 15438 /lib/libnsl-2.1.3.so
      413b7000-413d3000 r-xp 00000000 08:07 15436 /lib/libm-2.1.3.so
      413d3000-413d4000 rw-p 0001b000 08:07 15436 /lib/libm-2.1.3.so
      413d4000-41408000 r-xp 00000000 08:07 62464 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      41408000-41414000 rw-p 00033000 08:07 62464 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      41417000-4142a000 r-xp 00000000 00:0a 553777700 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/libverify_g.so
      4142a000-4142b000 rw-p 00012000 00:0a 553777700 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/libverify_g.so
      4142b000-4144c000 r-xp 00000000 00:0a 553777701 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/libjava_g.so
      4144c000-4144e000 rw-p 00020000 00:0a 553777701 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/libjava_g.so
      4144f000-41463000 r-xp 00000000 00:0a 553777702 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/libzip_g.so
      41463000-41466000 rw-p 00013000 00:0a 553777702 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i386/libzip_g.so
      41466000-4217e000 r--s 00000000 00:0a 557366657 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/rt.jar
      421ab000-42449000 r--s 00000000 00:0a 557366658 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/i18n.jar
      42449000-4245f000 r--s 00000000 00:0a 557366669 /.automount/linux-15/root/export/home/jdk1.3.1_g/linux/jre/lib/sunrsasign.jar
      44507000-4450f000 r--p 00000000 08:07 107833 /usr/share/locale/en_US/LC_COLLATE
      4a5a8000-4a5be000 r--p 00000000 08:07 107834 /usr/share/locale/en_US/LC_CTYPE
      4a5c4000-4a5cc000 r-xp 00000000 08:07 15456 /lib/libnss_files-2.1.3.so
      4a5cc000-4a5cd000 rw-p 00007000 08:07 15456 /lib/libnss_files-2.1.3.so
      4a5cd000-4a5d6000 r-xp 00000000 08:07 15462 /lib/libnss_nisplus-2.1.3.so
      4a5d6000-4a5d8000 rw-p 00008000 08:07 15462 /lib/libnss_nisplus-2.1.3.so
      4a5d8000-4a5e0000 r-xp 00000000 08:07 15460 /lib/libnss_nis-2.1.3.so
      4a5e0000-4a5e2000 rw-p 00007000 08:07 15460 /lib/libnss_nis-2.1.3.so

      Local Time = Thu Jan 18 14:58:57 2001
      Elapsed Time = 151
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1beta-b13-debug mixed mode)
      #
      # An error report file has been saved as hs_err_pid4843.log.
      # Please refer to the file for further information.
      #
      Current thread is 0x400
      Dumping core ...
      Abort


      Specific Machine Info:
      =====================
      Hostname: linux-13

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

        Attachments

          Activity

            People

            Assignee:
            collins Gary Collins (Inactive)
            Reporter:
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: