Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: [Regression] Older Intel Macs: Crash on launch after v1.7.5849 (Memory Map failure) #11728

Open
shinra-electric opened this issue Aug 19, 2024 · 7 comments · May be fixed by #11734
Open

Comments

@shinra-electric
Copy link

Describe the Bug

PCSX2 crashes on launch on older Intel Macs with the following error message:

Failed to map data memory at an acceptable location

Reproduction Steps

I tried updating PCSX2 on an old Intel MacBook Air, and it crashed at launch. I bisected the builds, with v1.7.5847 working fine and all builds from v1.7.5849 were broken. (There was no v1.7.5848 release).

Because the crash was instant at launch, there were no logs. However I noticed that if I enable logging as well as the log window (in the previous build), an alert would pop up and I could get a screenshot of the log window.

I tested on a 2015 MacBook Air:
2.2Ghz Core i7
Intel HD 6000

Also tested on a 2015 MacBook Pro with the same results:
2.7 Ghz Core i5
Intel Iris Graphics 6100

(I should also note that they are both running Sonoma via OCLP, though this shouldn't be an issue since v1.7.5847 works fine).

Screenshot 2024-08-19 at 17 03 47 Screenshot 2024-08-19 at 17 04 05 ![Screenshot 2024-08-19 at 17 12 14](https://github.com/user-attachments/assets/9dbe1eb4-ff73-4faf-9b44-a6bd22d741f0)

Expected Behavior

No response

PCSX2 Revision

v1.7.5849

Operating System

macOS 14 (Sonoma)

If Linux - Specify Distro

No response

Logs & Dumps

No response

@ynazar1
Copy link

ynazar1 commented Aug 20, 2024

Maybe the MAC build isn't universal or using ARM only features/flags? Working here on M1 Max. Sonoma 10.16.1 I don't have any games to test on mac, but it starting UI perfectly fine.

@TellowKrinkle TellowKrinkle linked a pull request Aug 21, 2024 that will close this issue
@shinra-electric
Copy link
Author

I can confirm that #11734 fixes this on my 2015 MBP 👍🏼

@lightningterror lightningterror added this to the Release 2.2 milestone Aug 22, 2024
@jimjamyaha
Copy link

I can confirm that #11734 fixes this on my 2015 MBP 👍🏼

Excellent - have you run this on a self-compiled version with the patch/change included?

@shinra-electric
Copy link
Author

Excellent - have you run this on a self-compiled version with the patch/change included?

No, I used the CI build from the GitHub action for this PR.

@atarixle
Copy link

atarixle commented Aug 28, 2024

It works for me. MacBook Pro 2014, OCLP, Sonoma 14.6.1
Weirdly enough, PCSX2 1.7.5849 and later on didn't even show me the error-message seen in the first post here

@jimjamyaha
Copy link

This fixes the issue for me. MacBook Pro 2012, OCLP, Sonoma 14.6.1.

@atarixle
Copy link

atarixle commented Sep 16, 2024

BTW the same change in Duckstation lets it crash too. The build before "use mach routines for VM mem ... something" works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants