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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b48
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

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

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: