devkitPro / 3ds-hbmenu

The 3DS Homebrew Menu (∩ ͡° ͜ʖ ͡°)⊃━☆゚
705 stars 73 forks source link

[BUG] Homebrew Menu v2.2.X crashes if to many homebrew apps are in it #71

Open iCRON862 opened 3 years ago

iCRON862 commented 3 years ago

I have a lot of homebrew apps on my SD Card and the HBMenu v2.2.X crashes on every entrypoint like *hax or Rosalina if too many homebrew apps are in it. I downgraded to v1.X and here isn‘t the bug and if i put out some homebrews then the HBMenu v2.X is loading success.

fincs commented 3 years ago

How many do you actually have? How exactly does it crash, do you get back a Luma3DS exception dump?

iCRON862 commented 3 years ago

How many do you actually have? How exactly does it crash, do you get back a Luma3DS exception dump?

I don't know right now, I guess over 70, it loads normally but from the point where the homebrews should be shown it just crashes, a exception dump get’s dropped to the SD Card

TuxSH commented 3 years ago

Can you save it (press A), and send it here please?

fincs commented 3 years ago

I'm very interested in the crash dump as well.

iCRON862 commented 3 years ago

crash_dump_00000000 - Copy.txt

fincs commented 3 years ago

After some digging, it looks like the XML parsing code (used by shortcuts and descriptors) is crashing with an out of memory error.

What exactly do you have on the SD card? If it's not too much of a hassle, are you able to upload the entire contents of your /3ds folder somewhere?

iCRON862 commented 3 years ago

After some digging, it looks like the XML parsing code (used by shortcuts and descriptors) is crashing with an out of memory error.

What exactly do you have on the SD card? If it's not too much of a hassle, are you able to upload the entire contents of your /3ds folder somewhere?

Sry but it‘s too much and i have over ~ 70 Homebrews in the /3ds directory. But i have maded a Video from my Homebrew Launcher. But it is in german https://youtu.be/yaYH6NRCnr8 (I have used v1.X to can show it)

fincs commented 3 years ago

I can't speak German, but looking at the video reveals that you seem to have lots of historical pieces of software from many years ago that are no longer under development, or even relevant today with the advent of B9S + Luma3DS. I'd advise you to start fresh and get your console fully updated with the latest homebrew environment (B9S + Luma3DS).

Unfortunately I can't do anything further to solve this particular issue, since it is related to the *hax compatibility code that is still kept in hbmenu. With the advent of straight-to-arm9 exploit chains, the last remaining use case of *hax is going away and thus everything in the homebrew environment related to supporting it will be dropped quite soon, hence eliminating the source of this problem.

iCRON862 commented 3 years ago

I can't speak German, but looking at the video reveals that you seem to have lots of historical pieces of software from many years ago that are no longer under development, or even relevant today with the advent of B9S + Luma3DS. I'd advise you to start fresh and get your console fully updated with the latest homebrew environment (B9S + Luma3DS).

Unfortunately I can't do anything further to solve this particular issue, since it is related to the hax compatibility code that is still kept in hbmenu. With the advent of straight-to-arm9 exploit chains, the last remaining use case of hax is going away and thus everything in the homebrew environment related to supporting it will be dropped quite soon, hence eliminating the source of this problem.

Sorry but this is my homebrew collection since i hear and learned about homebrew. Nothing will be deleted from there. It also took me 4 years for this collection and most of them can no longer be downloaded again because some devs them have been deleted. I have downgraded to v1.X. That‘s works for me in current time. Thx anyway

fincs commented 3 years ago

There's no need to be hostile. Homebrew isn't an immutable ecosystem - progress and improvements are continuously made as we understand the system better and new exploits and entrypoints are invented. Refusing to upgrade to the latest officially supported homebrew environment means that you will no longer be able to run the latest homebrew, you'll encounter numerous other issues and limitations that have all been solved a long time ago and, in short, you'll make your life a lot harder than it needs to be.

Masamune3210 commented 3 years ago

Not to barge in but the best advice would be to keep the homebrew archive on your local computer or upload it to some cloud service like Google drive. It's where I have mine, i just copy what I need to the 3DS

iCRON862 commented 3 years ago

Ok but can you do support the HBMenu Ninjhax Edition (in Video) to Rosalina? I like this more as the current HBMenu and I would not like to switch to this one if it would be possible to support my current one for Rosalina. It would even be enough if you could send me the boot.3dsx instead of publishing a release. Otherwise i must using Exploits anyway for HBMenu

fincs commented 3 years ago

Unfortunately your request makes no sense. The previous hbmenu codebase was a prototype that quickly got out of hand. Eventually it was decided to rewrite it from scratch in order to take advantage of GPU rendering and new homebrew loading mechanisms. I don't understand why someone would prefer to use old versions of software and loading mechanisms which are objectively inferior, no longer receive any support and are no longer compatible with new homebrew releases.