BernardoGiordano / Checkpoint

Fast and simple homebrew save manager for 3DS and Switch.
GNU General Public License v3.0
2.55k stars 150 forks source link

Crash and/or hardlock when using ReiNX or SX OS #135

Closed SuperOkazaki closed 6 years ago

SuperOkazaki commented 6 years ago

This issue does exist on stable 3.4.0 but it is less reliably triggered than later If this is a known issue that's being worked on, then you can close this

Error details

BernardoGiordano commented 6 years ago

This happens when having fs_mitm sysmodule enabled, fully disable it if you want to use Checkpoint correctly

SuperOkazaki commented 6 years ago

Is this something that is planned on being fixed, or is it out of the hands of Checkpoint and more of an underlying issue? I know that SX OS is a bit of a bogeyman in the Switch scene but it would be convenient for users to have support across all CFW releases.

BernardoGiordano commented 6 years ago

It's out of hands and needs to be fixed by Atmosphere developers. fs_mitm has issues with the fs operations that Checkpoint does and throws errors like that. You need to disable if you want to properly use Checkpoint, or wait for it to be fixed but there's no ETA that I know about.

SciresM commented 6 years ago

Huh. @BernardoGiordano as far as I know, fs.mitm doesn't intercept calls from homebrew. "It has issues with the fs operations Checkpoint does" can't be true, because it doesn't try to stand inbetween checkpoint and FS.

However, there is a known issue with potential handle table exhaustion in FS due to e.g. all the SD card handles CFW keeps open. I guess you could be referring to that? If so, Checkpoint could work around it by making sure it only has 1-2 handles open at any given time (I think more than 7-8 kills FS).

BernardoGiordano commented 6 years ago

That issue has been explained vaguely to me by thirds, I reported what I heard. Anyways, yeah, the issue is the one you stated.

I can't think of situations where Checkpoint has more than 1-2 handles open at the same time, I need to trace that in some way to make sure

SciresM commented 6 years ago

Yeah, figures. I know having like 5-10 DLCs open causes FS handle exhaustion with fsmitm atm...I think a real solution will look like domain usage (lessen used handles by fs.mitm) + increasing FS's handle table size.