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

[Solaris] os::signal() should call sigaction() with SA_SIGINFO

XMLWordPrintable

    • b24
    • solaris

        os::signal(), on Solaris, does not specify SA_SIGINFO. This leads to signal handlers installed with this function - among others, the secondary signal handler installed during error reporting - to be called without siginfo_t pointer.

        All other platforms specify SA_SIGINFO in os::signal(), and so does the Solaris-specific code which installs the "big" primary signal handler.

        At SAP we run with this fix (specifying SA_SIGINFO on Solaris too) since years without problems.

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: