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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 7u6, 8u20, 9
    • javafx
    • None
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: