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

thrstat003 crashes Server VM in mixed mode

XMLWordPrintable

    • x86
    • generic



      Name: pvR10198 Date: 04/09/2002


      The Hotspot Server VM (build 1.4.1-beta-b07) fails the following test
      from testbase_nsk:

          nsk/jvmpi/GetThreadStatus/thrstat003

      The test passes on Solsparc and fails on all other platforms.
      The test passes all modes with Client VM as well as compiled and
      interpreted modes with Server VM.

      The test fails since 1.4.1-beta-b06, and works fine with 1.4.1-beta-b05
      and 1.4.0-fcs.

      The test exercises JVMPI function GetThreadStatus. Java program
      launchs 3 threads and for various thread statuses calls suspend or
      interrupt methods. Then native method checkStatus is invoked. This
      method calls GetThreadStatus and checks if the returned values are
      correct and appropriate bits are set.

      To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:

          sh doit.sh <JAVA_HOME> -server

      or for debug VM:

          sh doit.sh <JAVA_HOME> -g -server

      Running the test outputs:

      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b07)
      Java HotSpot(TM) Server VM (build 1.4.1-beta-b07, mixed mode)

      Unexpected Signal : EXCEPTION_PRIV_INSTRUCTION occurred at PC=0xAAD562
      Function=[Unknown.]
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.


      Current Java thread:

      Dynamic libraries:
      0x00400000 - 0x00406000 E:\hs_run\jdk\jdk141-b07\bin\java.EXE
      0x77F80000 - 0x77FFB000 D:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0B000 D:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F35000 D:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DB0000 D:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 D:\WINNT\system32\MSVCRT.dll
      0x6D450000 - 0x6D6B0000 E:\hs_run\jdk\jdk141-b07\jre\bin\server\jvm.dll
      0x77E10000 - 0x77E74000 D:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 D:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 D:\WINNT\System32\WINMM.dll
      0x6D1D0000 - 0x6D1D7000 E:\hs_run\jdk\jdk141-b07\jre\bin\hpi.dll
      0x6D300000 - 0x6D30D000 E:\hs_run\jdk\jdk141-b07\jre\bin\verify.dll
      0x6D210000 - 0x6D228000 E:\hs_run\jdk\jdk141-b07\jre\bin\java.dll
      0x6D320000 - 0x6D32D000 E:\hs_run\jdk\jdk141-b07\jre\bin\zip.dll
      0x10000000 - 0x1000E000 N:\bugs\doit\bugdir\wintel\thrstat003.dll
      0x77920000 - 0x77943000 D:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 D:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 D:\WINNT\System32\PSAPI.DLL

      Local Time = Tue Apr 09 12:46:12 2002
      Elapsed Time = 3
      #
      # HotSpot Virtual Machine Error : EXCEPTION_PRIV_INSTRUCTION
      # Error ID : 4F530E43505002D7
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.1-beta-b07 mixed mode)
      #
      # An error report file has been saved as hs_err_pid5460.log.
      # Please refer to the file for further information.
      #
      Exit Code: 1

      Running with debug VM the test outputs:

      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b07)
      Java HotSpot(TM) Server VM (build 1.4.1-beta-b07-debug, mixed mode)
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (1.4.1-beta-b07-debug mixed mode)
      #
      # assert(displaced_header() == 0 || displaced_header() == markOop(markOopDesc::marked_value), "must be
      unlocked or a placeholder")
      #
      # Error ID: D:/BUILD_AREA/jdk1.4.1/hotspot\src\share\vm\runtime\synchronizer.cpp, 57
      #
      # Problematic Thread: prio=5 tid=0x009DCBA8 nid=0x2124 runnable
      #
      Exit Code: 1
      ======================================================================

            azeemj Azeem Jiva
            vpnsunw Vpn Vpn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: