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

JVM crashes on SIGQUIT

    XMLWordPrintable

Details

    • b59a
    • generic
    • generic

    Description

      The test case below "hangs" the JVM (as expected). The future task has not been submitted to any executor and so get() call blocks.

      import java.util.concurrent.*;

      public class f {
              public static void main(String[] args) throws Exception {
                      FutureTask f = new FutureTask(new Callable() {
                              public Object call() {
                                      return "jhvfdjg";
                              }
                      });
                      System.out.println(f.get());
              }
      }

      After JVM blocks, pressing ctrl-\ on Solaris (or ctrl-break on Windows) crashes JVM.
      Please refer to the attached hs_errXXX files (on Solaris and Windows). In both platforms, the Java stack traces were printed and crash occurred after that. I used Mustang build-56 on both platforms.

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: