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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8u40
    • 7u6, 8u20, 9
    • javafx
    • None
    • Mac OS X

    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: