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

Increased stack guard causes segfaults on x86-32

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8, 9.0.4
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      x86
    • OS:
      linux

      Description

      New 64-bit Linux kernels have a default stack guard of a megabyte between the main stack and any allocated memory. 32-bit Linux x86 HotSpot allocates an executable memory region just beyond the end of the stack. When the stack grows to within a megabyte of this region the process segfaults and is killed.

        Attachments

          Activity

            People

            • Assignee:
              aph Andrew Haley
              Reporter:
              aph Andrew Haley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: