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

runThese crashes with assertion at c1_Runtime1.cpp, 646

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • hotspot
    • beta
    • x86
    • windows_nt
    • Verified

      TestBase : runThese
      Mode : -Xmixed -XX:TargetSurvivorRatio=10 -XX:MarkSweepDeadRatio=1
                 -XX:PermMarkSweepDeadRatio=5 -XX:MarkSweepAlwaysCompactCount=1
                 -XX:NmethodSweepFraction=1 -XX:-ShowMessageBoxOnError
      Platform : win_NT, win2000

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

      {OR}

      make a runList.dat with the following testcases

      $TESTBASE/testbase/testbase_ss/classes/misc/threads/PipedThreadsStressTest;$TESTBASE/testbase/testbase_ss/classes//misc/threads/classes PipedThreadsStressTest
      $TESTBASE/testbase/testbase_ss/classes/misc/threads/sync2;$TESTBASE/testbase/testbase_ss/classes//misc/threads/classes sync2

      Set X: to /net/sqesvr.eng/export/vsn and run the following command-line

      X:/VM/merlin/weekly/jdk/b56/win/bin/java_g -hotspot -Xmixed -Xss4m -XX:TargetSurvivorRatio=10 -XX:MarkSweepDeadRatio=1 -XX:PermMarkSweepDeadRatio=5 -XX:MarkSweepAlwaysCompactCount=1 -XX:NmethodSweepFraction=1 -XX:-ShowMessageBoxOnError -XX:+ExitOnFullCodeCache -classpath X:/VM/testbase/runThese/classes $* runThese -thread 2 -repeat 1 -iter 1 -D:gc=5 -D:TESTBASE=X:/VM/testbase/runThese/tests -runList runList.dat

      Output:

      VM option 'TargetSurvivorRatio=10'
      VM option 'MarkSweepDeadRatio=1'
      VM option 'PermMarkSweepDeadRatio=5'
      VM option 'MarkSweepAlwaysCompactCount=1'
      VM option 'NmethodSweepFraction=1'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      ......................................
      [Enter:PipedThreadsStressTest]
      ......................................
      [Enter:sync2]
      Test passed.
      #Passed; PipedThreadsStressTest; (1,1,0,0,0)
      [Exit:PipedThreadsStressTest]
      #Passed; sync2; (1,1,0,0,0)
      [Exit:sync2]
      runThese Finished
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(exception->is_oop(), "just checking")
      #
      # Error ID: D:\hotspot1.4\src\share\vm\c1\c1_Runtime1.cpp, 646
      #
      # Problematic Thread: prio=5 tid=0x0079AEA8 nid=0x1bfc runnable
      #

      Note: Test passes in int mode and fails in comp mode intermittently with the following assertion

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x4B0022
      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:
              at java.io.PipedInputStream.read(../../../src/share/classes/java/io/Pipe
      dInputStream.java:216)
              - locked <085D0178> (a java.io.PipedInputStream)
              at java.io.DataInputStream.readInt(../../../src/share/classes/java/io/Da
      taInputStream.java:393)
              at PipedServerThread.run(PipedThreadsStressTest.java:50)

      ********************************************************************
      This bug is reproduceable with following latest eng binaries and build 58 too.

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b57)
      Java HotSpot(TM) Client VM (build product+1.4+baseline+compiler1+20010327-195500
      VM option 'TargetSurvivorRatio=10'
      VM option 'MarkSweepDeadRatio=1'
      VM option 'PermMarkSweepDeadRatio=5'
      VM option 'MarkSweepAlwaysCompactCount=1'
      VM option 'NmethodSweepFraction=1'
      VM option '-ShowMessageBoxOnError'
      VM option '+ExitOnFullCodeCache'
      ......................................
      [Enter:PipedThreadsStressTest]
      ......................................
      [Enter:sync2]
      Test passed.
      #Passed; PipedThreadsStressTest; (1,1,0,0,0)
      [Exit:PipedThreadsStressTest]
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(exception->is_oop(), "just checking")
      #
      # Error ID: l:\auto\ws_kzin\fpt\src\share\vm\c1\c1_Runtime1.cpp, 646
      #
      # Problematic Thread: prio=5 tid=0x00274C48 nid=0x660 runnable


      satheesh.pothuganti@eng 2001-04-02

            smitrovisunw Srdjan Mitrovic (Inactive)
            spothugasunw Satheesh Pothuganti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: