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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b24
    • OS:
      solaris

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: