Swiftloke / ModMoon

A mods manager for the 3DS, with fancy features and UI.
GNU General Public License v3.0
70 stars 7 forks source link

App crashes after welcome message #14

Open MegAmi24 opened 4 years ago

MegAmi24 commented 4 years ago

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

Swiftloke commented 4 years ago

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

MegAmi24 commented 4 years ago

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 commented 4 years ago

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

Swiftloke commented 4 years ago

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.

NerduMiner commented 2 years ago

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.