joel16 / NX-Shell

A multi-purpose file manager for the Nintendo Switch.
GNU General Public License v2.0
940 stars 64 forks source link

NX-Shell crashes on large directory listing. #109

Open ToxiClay opened 2 years ago

ToxiClay commented 2 years ago

Bug Report

What's the issue you encountered?

I encountered a repeatable crash in AMS 1.3.2 on HOS 14.1.1.

How can the issue be reproduced?

Prerequisite: NX-Shell.

Steps:

  1. Open NX-Shell in Applet Mode.
  2. Navigate to \Nintendo\Contents.
  3. Click on "registered."
  4. Atmosphere crashes (except apparently this is not an Atmosphere crash)

Note: This does not occur when launching the homebrew menu in high-memory, Title Override mode. Might this have to do with some sort of memory overflow when reading a very large folder? There are 248 folders inside my "registered" folder.

Crash Report

Atmosphere NX-Shell 0x4a8

Atmosphere NX-Shell 0x0

System Firmware Version

14.1.1

Environment?

Additional context?

I reported this at Atmosphere's repository, and was informed by SciresM that this is not an Atmosphere crash, but directly related to NX-Shell. Please advise.

joel16 commented 2 years ago

Hi, unfortunately I haven't been working on this application for a while now. And, I don't have my switch with me for another month or so, until then I won't be able to look into this problem.

emannotava commented 1 year ago

This generally only tends to happen when you open NX-Shell through Applet-Mode (aka opening homebrew through the gallery icon). If you go to the same folder that crashed before, but this time you open homebrew by launching ANY game whilst holding R, the crash should no longer occur for that same folder.

ToxiClay commented 1 year ago

Crash does not occur on HOS 16.0.3 and AMS 1.5.3. NXShell remains at 4.0.1.