Skyline crashes on ARM macOS with Hypervisor or Host memory mode
See original GitHub issueDescription of Issue
The Skyline modding framework crashes on ARM macOS when either the Hypervisor or any Memory Manager mode other than Software is used.
Reproduction Steps
- Download the latest Skyline beta from https://github.com/skyline-dev/skyline/releases/tag/beta
- Right-click Super Smash Bros. Ultimate in the game list and select Open Atmosphere Mods Directory
- Copy the
exefsfolder in the downloaded .zip to this directory - Start the game with the Hypervisor or any Memory Manager mode other than Software
Note that this crash is triggered by the Skyline mod loader itself even with if no other mods like Arcropolis are loaded.
Log File
Crash with Hypervisor: Ryujinx_1.0.0-dirty_2023-01-31_21-13-44.log
Crash with Host Memory Manager mode: Ryujinx_1.0.0-dirty_2023-01-31_21-14-23.log
Crash with Host unchecked Memory Manager mode: Ryujinx_1.0.0-dirty_2023-01-31_21-16-41.log
OS
macOS Ventura 13.2
Ryujinx version
Commit 9044cb38d19194bb29595ac09cad8857364650b2
Game version
1.0.0
Environment?
-
CPU: Apple M2 Max
-
GPU: Apple M2 Max
-
RAM: 32 GB
- Applied Mods: Skyline
Additional context?
No response
Issue Analytics
- State:
- Created 8 months ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
FAQ and Troubleshooting · Ryujinx/Ryujinx Wiki
Help! Why is the emulator crashing? Refer to the troubleshooting and game-specific sections below. If you can't find your issue in this ...
Read more >Investigating memory access crashes
The crashed thread tried to access memory that isn't appropriately aligned. This exception code is rare because 64-bit ARM CPUs work with misaligned...
Read more >Guest OS crashing on mac os 11.1 host
Hi, I have been using Vmware fusion free edition to play a little bit of Diablo 2 with a friend of mine online....
Read more >Virtualbox VM on Mac crashing/aborting
Heyy, on an M1 MacBook Air, macOS Ventura, and I'm currently trying to get a Windows 7 VM on VirtualBox. I've set up...
Read more >VirtualBox Problems on macOS (Security & Access)
Some Common Symptoms: VirtualBox and/or the Virtual Machine crashes immediately or may crash while your are interacting with the VM or when you ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The emulator physical memory allocation is also not 16 KB aligned. We should probably enforce physical memory allocations to be 16 KB aligned when using host mapped mode on platforms with 16 KB pages.
Not on the hypervisor. On the JIT it always invalidates the unmapped memory ranges on the JIT cache. There’s a
InvalidateCacheRangemethod on the CpuContext, but it’s currently unused, and it does nothing on the hypervisor https://github.com/Ryujinx/Ryujinx/blob/master/Ryujinx.Cpu/AppleHv/HvCpuContext.cs#L34