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

JVMPI: assertion: "wrong thread state for using locks"

XMLWordPrintable

    • kestrel
    • x86
    • windows_nt
    • Not verified



      Name: dkC59003 Date: 11/12/99



      Kestrel 1.3fcs-O fails a number of JVMPI tests in
         /net/sqesvr/vsn/testbase/testbase_nsk
      as it crashes with assertion "wrong thread state for using locks" while
      running in debug mode.
      java and java_g -classic pass the test.

      To reproduce the bug run doit.bat in
      GammaBase/Bugs/<this bug number>

      Running on HS 1.3fcs-O the test outputs:

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-N)
      Java HotSpot(TM) Client VM (build 1.3-O, mixed mode)
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert((!thread->is_Java_thread() || ((JavaThread *)thread)->thread_state() ==
      _thread_in_vm) || priority() == Mutex::special, "wrong thread state for using
      locks")
      #
      # Error ID: C:/hotspot\src\share\vm\runtime\mutex.cpp, 212
      #

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

            smitrovisunw Srdjan Mitrovic (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: