ModMoon icon indicating copy to clipboard operation
ModMoon copied to clipboard

App crashes after welcome message

Open MegAmi24 opened this issue 5 years ago • 5 comments

Both the CIA and 3DSX versions crash after closing the "Welcome! Let's get you set up." dialogue box. I'm not sure what could cause this issue to happen. GitHub is having trouble with uploading files so here's a Google Drive link. https://drive.google.com/file/d/1r4mIpNbVIZZmBbNvvk9wYhJ5yOXufn6t/view?usp=sharing

MegAmi24 avatar Jul 11 '20 23:07 MegAmi24

It appears that the Google Drive link is locked. Could you please make it public? What does it contain?

Swiftloke avatar Jul 12 '20 01:07 Swiftloke

It appears that the Google Drive link is locked. Could you please make it public? What does it contain?

Sorry about that. It contains Luma crash dumps.

MegAmi24 avatar Jul 12 '20 07:07 MegAmi24

After some testing it seems the crash is related to migrating old Smash Selector mods

MegAmi24 avatar Jul 23 '20 17:07 MegAmi24

I'm sorry to say that I haven't looked into this far enough to solve it. After you submitted the report and made the link public, I looked into opening the dump... But I no longer have a debugger file (unstripped ELF) of 3.0.1's release, so I can't tell where it crashes (without reverse engineering my own binary, that is.) I did look into completely releasing 3.1, but I quickly realized that I had dropped the subject two months ago for a good reason- there's a lot to test and debug before release, and frankly I'm not as invested in this project as I used to be. That doesn't excuse my silence, though. To resolve the crash, I highly recommend you build master and see if you can reproduce the crash. If you can't, we'll mark it as resolved. If you can, it would be great if you could send me the .ELF the build creates alongside the new crash dump so I can debug this properly. You should use the 3dsx build type as it's much, much easier to build than the CIA format, which is a massive pain due to very non-standard build tools (which is also why devkitPro heavily discourages their use, but an installable format is particularly advantageous to ModMoon and worth the hassle for me.) I'd believe a crash related to Smash Selector migration. That code always was a little on the weird side.

Swiftloke avatar Jul 27 '20 00:07 Swiftloke

I ran into this issue as well, I took at look at initialsetup.cpp and noticed it was trying to check for card.txt in a saltysd folder. I had already manually moved all my saltysd mods because of the crash so I decided to delete that file outright from my sd card since there was nothing else in that folder anymore. That managed to fix the crashing issue and I can now access and use the tool.

NerduMiner avatar Mar 09 '22 15:03 NerduMiner