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

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

    XMLWordPrintable

    Details

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

      Mac OS X

    • Subcomponent:
      web

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: