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

EXCEPTION_ACCESS_VIOLATION compiling infinite loop

XMLWordPrintable

    • beta
    • x86
    • windows_nt



      Name: dkC59003 Date: 09/14/99



      HotSpot Server 2.0beta-C sometimes crashes with EXCEPTION_ACCESS_VIOLATION
      while running the test nsk/regression/b4259506 in compiled mode. The error is
      intermittent (I tried 10 times successively and got 2 failures).
      The test is based on the bugreport
      #4259506 compiler crashes when attempting to compile infinite loop
      filed against HotSparc 1.0_alpha2, which is closed as not reproducible.
      Log and test source follow:

      $ java -version
      java version "1.2.2"
      Java(TM) HotSpot Server VM (2.0beta, mixed mode, build C)
      $ java -Xcomp b4259506
      #
      # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
      #
      # Error ID: 4F533F57494E13120E43505002D2
      #

      ErrorID program translates this error ID as: os_win32.cpp, 722

      ------------------------------------------------------------- b4259506.java
      import java.io.PrintStream;

      public class b4259506 {

          public static void main(String argv[]) {
      System.exit(run(argv, System.out) + 95/*STATUS_TEMP*/);
          }

          public static int run(String argv[], PrintStream out) {
      Thread t1 = new Thread(new b4259506_inf());
      t1.start();
      t1.stop();
      return 0/*STATUS_PASSED*/;
          }
      }

      class b4259506_inf implements Runnable {
          public void run() {
      Thread.yield();
      while(true) {
      }
          }
      }

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

            mpalecznsunw Michael Paleczny (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: