Uploaded image for project: 'Planetside 2 (Archived)'
  1. Planetside 2 (Archived)
  2. PSA-1568

Misaligned stack pointer when calling 64-bit Windows ABI on startup

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Archived
    • Affects Version/s: Live 2015-06-19
    • Fix Version/s: None
    • Component/s: Crash, Launcher
    • Environment:

      Wine 1.7.45 on Linux

    • Total Votes:
      10
    • Platform/s:
      PC
    • Steps to Reproduce:
    • Current Behaviour:
    • Normal Behaviour:
    • Repeatability:
      Sometimes

      Description

      During game startup from the launcher, it calls a Windows API function (VirtualProtect) while the stack pointer is not aligned to 16 bytes, which breaks the official x64 calling conventions set by Microsoft. This makes the game crash when running on Wine.

      More information:

      PLEASE NOTE that I am not petitioning for official Linux/Wine support with this report. This is an issue that also affects Windows, albeit non-fatally: as mentioned in the calling conventions page, "stack pointer ... [is] aligned to 16 byte, in order to aid performance". The game ran perfectly well on Wine until the 32bit version was discontinued, exposing this bug, and it will most probably run fine again after this bug is fixed without any further attention from Daybreak. Please do not dismiss this report on the basis of platform.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bucaneer Justas L
            • Votes:
              10 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: