-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
nxdumptool-rewrite - System crashes if Joy-con is disconnected during dumping while on airplane mode #145
Comments
I know this is a very oddly-specific (and unlikely) circumstance (and also beta builds tend to be buggy in general), but I'm submitting this report in case this is indicative of a much larger issue, and also to prevent this from possibly happening to anyone else |
Hi there. I've been trying to reproduce the issue on my own using my Erista unit (sysMMC, Atmosphère 1.6.2, flight mode enabled, latest rewrite build) and I can't get it to crash. I even reconnected both Joy-Cons to the console and took them out -- the process still continues just fine. Since this appears to be a system-wide crash and no meaningful error information is part of your logfile, please take a look at the If there are too many files in there, just delete all of them (preferably using Hekate UMS) and reproduce the crash once more, then share the generated file(s) here. |
Unable to reproduce here either. |
I've looked at the "fatal_errors" folder, but it appears to be empty. I don't homebrew the Switch often due to fear of bans, so I'm not sure if the logging is something that needs to be enabled or such (I don't mess with the defaults). It's possible it might have something to do with me using emuMMC and you using sysMMC (I'm too chicken to use CFW on sysMMC haha), but I'm not sure. If it's also worth nothing, my emuMMC was a "SD File" and not an "SD Partition". Update: I've enabled |
Update: So I figured out that while dumping the game, NXDumpTool disables the recognition of most inputs (including the disconnection of the joy-cons). The homebrew program only seems to recognize the joy-cons were disconnected once the program is either done dumping the ROM, or encounters an error when reading the game card. If the program encounters an error when it is reading a game card (i.e. dirty contacts or outside interference) and prompts the "You must have Joy-Cons connected on flight mode" message, the progam hangs (along with all inputs) upon closing the OS pop-up, but I figured out that if you remove the game card, the program unhangs itself, since removing the game card forcefully cancels the dumping operation (holding down B doesn't seem to work). This was done for game card dumping though, but I'm not sure about digital title dumping. Because the system never truly froze (NXDumpTool just disables virtually all buttons and inputs, mimicking a hard crash), there were no error logs to generate. |
Sorry for the long delay. Life's keeping me busy.
That's not exactly how it works. nxdumptool only disables HOME button inputs -- all other buttons still work, but it's possible they give off the impression that they don't because only B button reads are being carried out during a dump process (e.g. to determine whether the ongoing dump process should be cancelled or not). All other buttons are ignored because they're not needed at that specific point.
System-wide error messages like the one you mention are triggered and displayed by Horizon OS itself, not by the application that's running at that exact point. It sounds like your Joy-Con rails may be a bit worn out. To be honest, I still don't know what's happening here nor why is it happening, given that me and others have been unable to reproduce the issue and your logfile doesn't really provide any clear reason for this behavior. I'd like to know if you can consistently reproduce the problem with one of the newer builds. |
Describe the bug
The current build of NXDumpTool has a bug where if the system is set to "Airplane Mode", and the Joy-Cons were to disconnect while a dumping operation is happening, the Switch hard crashes and can only be powered off by holding the power button down for 10 seconds.
To Reproduce
Steps to reproduce the behavior:
Please fill the following information:
Video Clip
https://github.com/DarkMatterCore/nxdumptool/assets/138264475/259961a1-3f26-423c-8eb1-f65a2e9546b8
Logfile
nxdt_rw_poc[1].log
Additional context
My launch model Switch has a slight defect where the left Joy-Con randomly "disconnects" from the system (this happened prior to hacking my system with the RCM jig), I was using emuMMC while on Airplane Mode, so any Joy-Con disconnects will momentarily interrupt the system. This Joy-Con disconnecting thing is out of my control (happens at random), and I am hesitant about sending my Switch off to Nintendo for repairs.
The text was updated successfully, but these errors were encountered: