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

Unsafe API: Test nsk/serial/Unsafe/addressSize/adrsize001 crashes

XMLWordPrintable

    • beta2
    • x86, sparc
    • solaris_2.6, windows_nt
    • Verified



      Name: elR10090 Date: 03/16/2001



      The test:

          nsk/serial/Unsafe/addressSize/adrsize001
          
      crashes the Server java and java_g VMs (build 1.4.0-beta-b55) in -Xcomp
      mode on Windows.

      This test checks if the method Unsafe.addressSize() returns
      either 4 or 8.

      Server java VM outputs:

      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error ID: 53484152454432554E54494D450E435050014C
      #
      # Problematic Thread: prio=5 tid=0x007711D0 nid=0xac initialized
      #

      that means:
       
          sharedRuntime.cpp, 332
          
      Server java_g VM outputs:

      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(caller.is_compiled_frame() || (allow_i2c && caller.is_i2c_frame()) ||
      (allow_c2i && caller.is_c2i_frame()) ||
      (allow_deopt && caller.is_deoptimized_frame()), "not being called from compiled
      like code")
      #
      # Error ID: D:\hotspot1.4\src\share\vm\opto\runtime.cpp, 81
      #
      # Problematic Thread: prio=5 tid=0x00243428 nid=0x1404 initialized
      #
      # SafepointSynchronize::begin: Fatal error:
      # SafepointSynchronize::begin: Timed out while attempting to reach a safepoint.
      # SafepointSynchronize::begin: Threads which did not reach the safepoint:
      # nid=0x1404 initialized
      # SafepointSynchronize::begin: (End of list)
          
      The test passes against both Server and Client VMs (build 1.4.0-beta-b55)
      on all other modes and platforms.

      The test belongs to the testbase_nsk testbase located at:

          /net/sqesvr.eng/export/vsn/VM/merlin/testbase/testbase_nsk

      To reproduce the failure please use 'doit.sh' script found
      in the directory:

          /net/sqesvr.eng/export/vsn/GammaBase/Bugs/<this bug number>

      Use:
          sh doit.sh $JAVA_HOME java <options>
      or
          sh doit.sh $JAVA_HOME java_g <options>

      ======================================================================
      crashes in runThese with assertion at runtime1.cpp, 81 in weekahaed testing

      Mode : -Xmixed
      Platform : Solsparc 5.6

      Steps to reproduce
      1)cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{Bugid}/weekahead
      2)./rerun.sh

      Output:

      VM option '-ProfileInterpreter'
      VM option '+OnStackReplaceALot'
      VM option '+DeoptimizeALot'
      VM option '+ZombieALot'
      VM option '+SafepointALot'
      VM option '+FullGCALot'
      VM option 'FullGCALotInterval=1000'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      Full gc no: 1 Interval: 871

      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(caller.is_compiled_frame() || (allow_i2c && caller.is_i2c_frame()) || (allow_c2i && caller.is_c2i_frame()) || (allow_deopt && caller.is_deoptimized_frame()), "not being called from compiled like code")
      #
      # Error ID: /net/jano.eng/export/disk05/hotspot/imgr/ws/20010411221312.azeem.merlin_beta/src/share/vm/opto/runtime.cpp, 81 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0xd0a80 nid=0x14 runnable
      #
      Dumping core....
      Abort - core dumped

      satheesh.pothuganti@eng 2001-04-15

            jrose John Rose
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: