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

Atmosphere crashes on MGS2 Soft Reset on 16.1.0 firmware, Atmosphere 1.6.2 #2255

Open
surenzz opened this issue Dec 20, 2023 · 10 comments
Open

Comments

@surenzz
Copy link

surenzz commented Dec 20, 2023

Bug Report

What's the issue you encountered?

After creating an EmuMMC running latest atmosphere 1.6.2, unmodified, soft resetting MGS2 Substance after loading the game and playing, holding L2+R2+L1+R1+Start+Select is supposed to soft reset the game. Instead, it crashes atmosphere.

How can the issue be reproduced?

I could consistently recreate this issue for MGS2 via the following:

  1. Create EmuMMC of 16.1.0 System Firmware which has MGS2 ver. 1.3.1 (any/all DLC) installed and running fine.
  2. Install latest atmosphere 1.6.2 to EmuMMC .
  3. Boot into CFW and launch MGS2.
  4. Load into the game fully where you can play as Raiden/Snake.
  5. Hold L2+R2+L1+R1+Start+Select to soft reset the game and watch the crash.

Crash Report

https://gist.github.com/surenzz/4e0e6305c0ec1814c7b6aadebc2780eb

System Firmware Version

System version 16.1.0, atmosphere 1.6.2

Environment?

  • What bootloader (fusèe, hekate, etc) was Atmosphère launched by: Hekate
  • Official release or unofficial build: Official, latest
  • Do you have additional kips or sysmodules you're loading: No
  • Homebrew software installed: daybreak, reboot to payload, usb file transfer
  • EmuMMC or SysNAND: EmuMMC, I believe partition based

Additional context?

I thought this was because my Atmosphere version was out of date. Previously I had 1.5.5 and I updated to 1.6.2 hoping the issue would be fixed. It still happens sadly. I also believe it was a fatal error. Had to reboot to payload.

@masagrator
Copy link

The newest game patch is 1.3.1. Maybe install it and report if issue still persists?

@surenzz
Copy link
Author

surenzz commented Dec 20, 2023

The newest game patch is 1.3.1. Maybe install it and report if issue still persists?

Just updated and the issue still persists.

@SciresM
Copy link
Collaborator

SciresM commented Dec 20, 2023

Issue still occurs on 17.0.x (latest firmware), too?

@surenzz
Copy link
Author

surenzz commented Dec 20, 2023

Issue still occurs on 17.0.x (latest firmware), too?

I can't check for that because one of the overlays I use hasn't been updated for 17.0.0. Maybe someone else can chime in.

I'm pretty sure it'll still crash, though.

@SciresM
Copy link
Collaborator

SciresM commented Dec 20, 2023

It looks like the error you posted occurs when BoostSystemMemoryResourceLimit returns svc::ResultInvalidState(), which happens when there is more application memory currently reserved than the lowered limit due to boosted size.

@surenzz You mention overlays, which sometimes do consume application memory.

Can you please confirm that the issue occurs with no custom sysmodules + no overlays + no mods, at all? That is, that the issue occurs using completely normal atmosphere.

@SciresM
Copy link
Collaborator

SciresM commented Dec 20, 2023

Please post a screenshot of your atmosphere/contents directory on SD containing nothing, in order to confirm that the testing procedure is correct.

@surenzz
Copy link
Author

surenzz commented Dec 20, 2023

I have overlays set up, but none of them active. Mission control, noexes, etc all are turned off. The only one relevant here is probably sys-clk.

Here's a screenshot from my FTP client:

WINSCP

@SciresM
Copy link
Collaborator

SciresM commented Dec 20, 2023

"Turned off" isn't a thing. Please confirm the issue occurs with completely stock atmosphere with zero-addons at all then?

Easiest way to test this would be to rename your atmosphere directory temporarily, and extract the latest release zip with nothing else.

Upload the new report that's generated, too, if it still occurs

@surenzz
Copy link
Author

surenzz commented Dec 20, 2023

I removed all the overlays and the contents directory is clean. Issue still occurs.

01703115133_0100000000000023.log
01703115134_0100000000000023.log

Here are the logs

@SciresM
Copy link
Collaborator

SciresM commented Dec 20, 2023

@surenzz Is the issue resolved using this zip? I kind of expect no, but if the answer is no, then I'll probably need to find someone who owns the game on discord to actually debug this any further.

atmosphere-1.6.2-master-db3dc4ebd-dirty.zip

SciresM added a commit that referenced this issue Jan 20, 2024
This change was made for #2255, but the issue creator never confirmed if it resolved the issue.

This *does* better reflect what Nintendo's pm does, though, so I'm going to commit it regardless.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants