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

SafeFetch32 and SafeFetchN do not work in error handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b57

      Backports

        Description

        SafeFetch32 and SafeFetchN could be very useful in error reporting, e.g. to print out hex dumps of potentially invalid memory locations.

        However, using them will just cause a secondary crash and a "Error during error handling" message in the error log.

        They need to be handled in the secondary signal handlers like they are handled in the primary ones.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: