Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

macOS (Apple Silicon) + CrossOver (Wine/Rosetta): generalized crash when any detour runs — “rosetta error: no code fragment associated with the given arm pc” #35

@fdotcico

Description

@fdotcico

Describe the bug

On macOS (Apple Silicon) running WoW via CrossOver (Wine) with a Rosetta x86 shim, nampower.dll loads but the game terminates as soon as a detoured function runs.

The crash message is:

rosetta error: no code fragment associated with the given arm pc

Environment

  • Machine: Apple Silicon (M3 Max)
  • OS: macOS (Apple Silicon)
  • Runtime: CrossOver for macOS (Wine) + Rosetta x86 shim (rosettax87)
  • Graphics stack at runtime:
    MoltenVK 1.2.10 (Vulkan 1.2.290)
    DXVK v1.10.3-20250511-async (macOS)

To Reproduce

  • Download nampower.dll (32-bit, x86)
  • Place nampower.dll alongside WoW root folder and add it to the txt DLL file
  • (Option 1) Use TurtleSilicon app
  • (Option 2) Launch via CrossOver/wineloader using the Rosetta shim (command similar to):
WINEDLLOVERRIDES="d3d9=n,b" MTL_HUD_ENABLED=0 MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS=1 DXVK_ASYNC=1 \
  /path/to/rosettax87 /path/to/wineloader2 /path/to/WoW.exe

Logs (trimmed)

[twloader] Loaded: nampower.dll
...
[mvk-info] Created swapchain...
...
rosetta error: no code fragment associated with the given arm pc

Thanks a lot for any guidance! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions