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

Consistent crash when there are no title with save data #48

Open
MasterHoover opened this issue May 17, 2020 · 4 comments
Open

Consistent crash when there are no title with save data #48

MasterHoover opened this issue May 17, 2020 · 4 comments

Comments

@MasterHoover
Copy link

MasterHoover commented May 17, 2020

After reformatting my microSD card, I reinstalled JKSM and it kept crashing when selecting title.

I finally noticed the crash stopped when I generated a save file for at least one title.

@J-D-K
Copy link
Owner

J-D-K commented May 17, 2020

Where exactly does it crash? Immediately or when you select titles?

Edit: Derp, nevermind. My menus don't handle being empty on 3ds I think. I thought it kicked you back if nothing was found. I'll check it out later.

@J-D-K
Copy link
Owner

J-D-K commented Jun 2, 2020

Sorry, I've had a lot going on and I'm juggling too much. Does this help the issue at all? I double checked, and it shouldn't allow you to select titles if the vector is empty.
JKSM.zip

@MasterHoover
Copy link
Author

MasterHoover commented Jun 4, 2020

Thanks for looking into it. With the new version you provided, I can still crash when selecting title.

Though while trying to test it I noticed that the cause of the issue was more specific. Sorry about that.

To reproduce the issue, I used these steps:

  1. Uninstalled every app which had save data.
  2. Deleted the "nand" and "titles" files in the JKSM folder of the microSD card.
  3. When launching the app, a scan occurs.
  4. Selecting title causes the crash.
  5. The crash persist even when reinstalling the apps from Step 1 until a save data is created for one of the titles.

Here's some notes about the steps above:

  1. In Step 1, deleting all save data with JKSM instead of uninstalling the apps does not reproduce the crash, even when deleting the "nand" and "titles" files.
  2. When uninstalling the titles without deleting the "nand" and "titles" files, selecting "Titles" in JKSM does not cause a crash. A message stating "No titles found. Try reloading titles!" appears instead.

Hoped that helps!

@apassiou
Copy link

This is still an issue

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