Chrscool8 / Homebrew-Details

A Homebrew App Manager and hbmenu Alternative for Switch.
https://gbatemp.net/threads/homebrew-details-a-homebrew-app-manager.569528/
GNU General Public License v3.0
102 stars 8 forks source link

v0.30 crashes under ams #1

Closed muxi1 closed 4 years ago

muxi1 commented 4 years ago

Hi @Chrscool8

v0.30 crashes under ams 0.13.0 / emuMMC 10.0.4. v0.20 runs without problems.

Tested via HB menu in applet mode & high memory mode

Chrscool8 commented 4 years ago

Thanks so much for the report! Strangely, I'm on those exact conditions and I'm all clear.

Does it crash immediately or after a few seconds?

Hard Atmosphere crash (reboot) or just app crash?

Would you say that you have a large number of nros or folders with subfolders in the /switch/ directory?

muxi1 commented 4 years ago

Does it crash immediately or after a few seconds? If the tool is executed in applet mode, a fatal ams crash occurs immediately

Hard Atmosphere crash (reboot) or just app crash? App Crash only, if it is started via a forwarder (I use a forwarder for the hbmenu)

Would you say that you have a large number of nros or folders with subfolders in the /switch/ directory? I currently use 13 HB-Tools in the switch folder

Chrscool8 commented 4 years ago

Excellent, this helps me narrow it down a lot. Thanks! I'm on it!

Chrscool8 commented 4 years ago

Out of curiosity, do you have any apps downloaded from the HB App Store? I think I have an idea.

muxi1 commented 4 years ago

do you have any apps downloaded from the HB App Store?

No, I do this manually because the tools are often not up to date. Shall I test this for you and download an app from the store?

Chrscool8 commented 4 years ago

I think that's all I needed to know. I have a strooong feeling that it's expecting >0 apps in the new update. If you have a couple minutes, I'd love to hear if downloading any single app (not theme) from the App Store fixes your crash.

muxi1 commented 4 years ago

Yeah, that's what caused the crash! There are no homebrews that have been downloaded from the App Store! I have now downloaded a tool from the App Store and now everything works!

Chrscool8 commented 4 years ago

Hell yeah. Thank you so much for working with me on this. I found one missing 'folder exists' check and your experiment confirms that that was almost certainly it!

If you want to remove app store stuff, you should be able to just remove /switch/appstore/ and be back to your previous state.

v0.31 is incoming with the fix for 0 app store apps.

Thanks again!