[macosx] setjmp/longjmp changes the process signal mask on OS X

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u40
    • Affects Version/s: 7u6, 8u20, 9
    • Component/s: javafx
    • None
    • Environment:

      Mac OS X

    • web

      Explanation of the effects of this bug is done here:
      https://bugs.openjdk.java.net/browse/JDK-8023786

      Basically, if longjmp is ever called, generally in an error handler, then the JVM cannot be attached to by external tools such as jstack. The fix is to change setjmp/longjmp references to _setjmp/_longjmp which do not change the signal mask.

            Assignee:
            David Dehaven (Inactive)
            Reporter:
            David Dehaven (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: