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

Mac OS X: JVM crash on infinite recursion on Appkit Thread

XMLWordPrintable

    • b48
    • os_x
    • Verified

        In case of infinite recursion on the Appkit Thread JVM crashes. The crash log is attached.

        The simple test is to run the following program with -XstartOnFirstThread option.

        public class TestInfiniteRecursion {

            public static void main(String[] args) {
               main(args);
            }
        }

        The bug is reproducible always. The operating system version is Mac OS X 10.7.5. Reproducible with JDK7 and JDK8. Not reproducible with Apple JDK6.

        Please note, that the crash occurs in any case of infinite recursion on the Appkit Thread, not only if the main method is infinitely invoked.

          1. crashlog.txt
            84 kB
          2. 8009302.zip
            90 kB
          3. JTREG tests.zip
            15 kB
          4. JTREG xnu tests.zip
            59 kB

              gziemski Gerard Ziemski
              pchelko Petr Pchelko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: