RVM
  1. RVM
  2. RVM-931

"malloc returned something that is in RVM address space" on Mac OS X Lion

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2
    • Component/s: Operating System: OSX
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      Mac OS X Lion runs a 64-bit kernel by default, and introduced changes to gcc to deal with Address Space Layout Randomisation. By default, gcc on 64-bit Lion builds "position independent executables". This appears to cause a bunch of "malloc returned something that is in RVM address space" warnings when running on that configuration. The attached patch fixes this by building with the position independent executable setting turned off on x86_64-osx. This was the default setting for gcc on Mac OS X before Lion.

        Activity

        Hide
        David Grove added a comment -

        patch committed in 10397:8da7f42949b4.

        Show
        David Grove added a comment - patch committed in 10397:8da7f42949b4.
        Hide
        David Grove added a comment -

        bulk close of all resolved issues in preparation for 3.1.3 release.

        Show
        David Grove added a comment - bulk close of all resolved issues in preparation for 3.1.3 release.

          People

          • Assignee:
            David Grove
            Reporter:
            James Bornholt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: