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

VM Test TestDivByZero crashing with assertion at frame.cpp, 835

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • hotspot
    • beta2
    • sparc
    • solaris_2.6
    • Verified

      Test : TestDivByZero
      TestBase : /net/sqesvr.eng/export/vsn/VM/testbase/testbase_vm
      Mode : -Xcomp, -Xmixed
      Platform : SolSparc 5.6

      Steps to Reproduce:
      1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{Bugid}
      2. sh doit ${JAVA_HOME}

      Output:
      A) With -client -Xcomp we get the following crash : frame.cpp, 835

      sh doit /net/sqesvr/export/vsn/VM/merlin/weekly/jdk/latest/solsparc
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b73)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b73, compiled mode)
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b73 compiled mode)
      #
      # Error happened during: generation collection for allocation
      #
      # Error ID: 4652414D450E4350500343 01
      #
      # Problematic Thread: prio=5 tid=0x21cc08 nid=0xb waiting on monitor
      #
      Abort - core dumped

      B) With -server -Xcomp we get the following crash : os.cpp, 727

      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b73)
      Java HotSpot(TM) Server VM (build 1.4.0-beta_refresh-b73, compiled mode)

      Unexpected Signal : 11 occurred at PC=0xEA8B2B74
      Function=run (compiled Java code)
      Library=(N/A)

      Current Java thread:

      Dynamic libraries:
      0x10000 /net/sqesvr/export/vsn/VM/merlin/weekly/jdk/latest/solsparc/bin/java
      0xef770000 /usr/lib/libthread.so.1
      0xef7b0000 /usr/lib/libdl.so.1
      0xef680000 /usr/lib/libc.so.1
      0xef750000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
      0xee400000 /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b73/solsparc/jre/lib/sparc/server/libjvm.so
      0xef620000 /usr/lib/libCrun.so.1
      0xef600000 /usr/lib/libsocket.so.1
      0xef500000 /usr/lib/libnsl.so.1
      0xef5d0000 /usr/lib/libm.so.1
      0xef650000 /usr/lib/libw.so.1
      0xef5a0000 /usr/lib/libmp.so.2
      0xef4c0000 /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b73/solsparc/jre/lib/sparc/native_threads/libhpi.so
      0xef490000 /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b73/solsparc/jre/lib/sparc/libverify.so
      0xef460000 /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b73/solsparc/jre/lib/sparc/libjava.so
      0xef440000 /net/sqesvr/export/vsn/VM/merlin/weekly/jdk1.4/b73/solsparc/jre/lib/sparc/libzip.so

      Local Time = Mon Jul 30 15:33:23 2001
      Elapsed Time = 7
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002D7 01
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.0-beta_refresh-b73 compiled mode)
      #
      # An error report file has been saved as hs_err_pid26294.log.
      # Please refer to the file for further information.
      #
      Abort - core dumped

      c) With -client -Xmixed we get the following crash : frame.cpp, 835

      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b73)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b73, mixed mode)
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b73 mixed mode)
      #
      # Error happened during: generation collection for allocation
      #
      # Error ID: 4652414D450E4350500343 01
      #
      # Problematic Thread: prio=5 tid=0x12bef0 nid=0xb waiting on monitor
      #
      Abort - core dumped

      d) With -client -Xcomp and with -Xmixed and with Flags we get the following crash : c1_Runtime1.cpp, 817, nmethod.cpp, 362

      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      VM option '+WalkStackALot'
      Full gc no: 1 Interval: 779
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b73)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b73-debug, compiled mode)
      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      VM option '+WalkStackALot'
      Full gc no: 1 Interval: 779
      Full gc no: 2 Interval: 461
      Full gc no: 3 Interval: 373
      Full gc no: 4 Interval: 362
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b73-debug compiled mode)
      #
      # Fatal: exception happened outside interpreter, nmethods and vtable stubs
      #
      # Error ID: /export/home3/jdk/jdk1.4/ws/hotspot/src/share/vm/c1/c1_Runtime1.cpp, 817 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x24dc08 nid=0xc runnable
      #
      Dumping core....
      Abort - core dumped


      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      VM option '+WalkStackALot'
      Full gc no: 1 Interval: 779
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b73)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b73-debug, compiled mode)
      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      VM option '+WalkStackALot'
      Full gc no: 1 Interval: 779
      Full gc no: 2 Interval: 530
      Full gc no: 3 Interval: 225
      Full gc no: 4 Interval: 212
      Full gc no: 5 Interval: 456
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b73-debug compiled mode)
      #
      # Fatal: scope must be present
      #
      # Error happened during: deoptimize-all
      #
      # Error ID: /export/home3/jdk/jdk1.4/ws/hotspot/src/share/vm/code/nmethod.cpp, 362 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x185268 nid=0xb waiting on monitor
      #
      Dumping core....
      Abort - core dumped

      sh doit /net/sqesvr/export/vsn/VM/merlin/weekly/jdk/latest/solsparc
      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      VM option '+WalkStackALot'
      Full gc no: 1 Interval: 779
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b73)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b73-debug, mixed mode)
      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      VM option '+WalkStackALot'
      Full gc no: 1 Interval: 779
      Full gc no: 2 Interval: 833
      Full gc no: 3 Interval: 153
      Full gc no: 4 Interval: 519
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta_refresh-b73-debug mixed mode)
      #
      # Fatal: scope must be present
      #
      # Error ID: /export/home3/jdk/jdk1.4/ws/hotspot/src/share/vm/code/nmethod.cpp, 362 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x11ce48 nid=0xc runnable
      #
      Dumping core....
      Abort - core dumped

      E) With -server -Xmixed and with -Xint(c1 and c2) the test passes

      *************************************************************************

      This bug passes with b77.
      sh doit /net/sqesvr/export/vsn/VM/merlin/weekly/jdk/b76/solsparc

      Output:
      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b76)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b76, interpreted mode)
      exit status 0

      ###@###.### 2001-08-23

            phh Paul Hohensee
            mpiruthisunw Mohan Piruthivi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: