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

Stack overflow/access violation during exception handling/monitor enter

XMLWordPrintable

    • x86_64
    • windows

      A DESCRIPTION OF THE PROBLEM :
      It is possible to craft a class that will cause a VM to crash during exception handling/monitor enter.
      On Windows, VM crashes with EXCEPTION_GUARD_PAGE/EXCEPTION_ACCESS_VIOLATION.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the program.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      VM keeps running.
      ACTUAL -
      Debug build:
      Crash occurs
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_GUARD_PAGE (0x80000001) at pc=0x0000014328145a1e, pid=XXX, tid=18968
      #
      # JRE version: OpenJDK Runtime Environment (26.0) (fastdebug build 26-internal-adhoc.User.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 26-internal-adhoc.User.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # j Test+0x0000000016131800.run()V+5
      #
      # Core dump will be written. Default location: XX:\\hs_err_pid10812.mdmp
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #



        1. ExceptionTest.java
          1 kB
          Rajagopal Surianarayanan

            dholmes David Holmes
            rsurianaraya Rajagopal Surianarayanan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: