Skip to content

Crash on weapon switch (macOS Apple Silicon) #14

@742617000027

Description

@742617000027

Environment

  • OS: macOS (Darwin 25.4.0), Apple M1
  • Engine: oDFe.aarch64 (Q3 1.32e macos-aarch64, Apr 3 2026)
  • Defrag: 1.91.3 (gamedate: Feb 29 2024)
  • Proxy: cgame-proxy 1.4.0+55208ef (cgameaarch64.dylib, arm64)
  • Config: vm_cgame 0

Description

The proxy loads and initializes correctly. I can load into a map and move around normally. However, the game crashes immediately upon switching weapons.

The crash occurs consistently with signals 10 (SIGBUS) and 11 (SIGSEGV):

]Received signal 10, exiting...
----- Client Shutdown (Signal caught (10)) -----
]DOUBLE SIGNAL FAULT: Received signal 11, exiting...

What I've tried

All of the following were tested individually and in combination — none prevent the crash:

  • Removing the quarantine xattr from the dylib
  • Setting g_synchronousClients 0 (was 1)
  • Disabling all mdd_ features in-game before switching weapons:
    • mdd_cgaz 0
    • mdd_snap 0
    • mdd_ammo 0
    • mdd_compass 0
    • mdd_jump 0
    • mdd_gl_path_preview_draw 0

The crash is reproducible on every weapon switch regardless of settings. Removing the cgameaarch64.dylib and falling back to the VM cgame resolves the issue — weapon switching works fine without the proxy.

Console output

Relevant proxy initialization (successful):

Loading dll file cgame.
VM_LoadDLL 'cgameaarch64.dylib' ok
VM_LoadDll(cgame) found **vmMain** at 0x118a89bf8
VM_LoadDll(cgame) succeeded!
^7[^1m^3D^1d^7] cgame-proxy 1.4.0+55208ef

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