astronautlevel2 / Anemone3DS

A theme and boot splash manager for the Nintendo 3DS console
GNU General Public License v3.0
887 stars 42 forks source link

ARM 11 Crash #264

Closed 1031982 closed 4 months ago

1031982 commented 2 years ago

Description I have been able to cause a crash forcing me to restart the system.

Steps to reproduce

  1. Open Anemone3DS
  2. Tap the world icon to load up the online listings of themes
  3. Highlight any theme listed
  4. Press Y to preview the theme
  5. After the preview loads, press the home button
  6. Close Anemone3DS VIA X button or trying to open another program

Expected behavior The expected behavior is that the program would close, and if need be, the newly selected program would open.

Screenshots crash

Crash dumps I have two crash dumps : https://drive.google.com/file/d/1_GlyDKxWHJqwiMrsjmcLRoQe-qvnEm_L/view?usp=sharing

https://drive.google.com/file/d/1yEBy5xmtN1nHQViaS83XlElqY9raT4M_/view?usp=sharing

System information System model New2DS XL

System firmware version 11.15.0-47U (this can be found in the System Settings applet by default)

Anemone3DS version v2.2.0

Luma3DS version 10.2.1

Helloman892 commented 2 years ago

If ever we needed an excuse to lock out the home button, @astronautlevel2, this is it.

astronautlevel2 commented 2 years ago

I'd rather try to solve the underlying issue causing the crash than simply disable the home button, even though it's not the recommended way of closing the application. It's possible we could lock out the home button during specifically previewing themes, but even that feels a bit sketchy for me.

It appears the issue is occurring in the audio thread where when quitting the browser doesn't stop the audio thread properly. We'll discuss this further and decide on a solution (whether we just want to disable the home button mainly).

Helloman892 commented 2 years ago

Hi OP, could you test that again with this? This is a build of the latest commit on master.image

1031982 commented 2 years ago

Nope, still gets an error. Here is a screen shot and the dump : a_error

https://drive.google.com/file/d/1_Y1bH1P5a_NrgiuSrpBPUB0KeiJKTRlP/view?usp=sharing

Helloman892 commented 2 years ago

cc @LiquidFenrir, did i misunderstand what #270 was fixing?

LiquidFenrir commented 2 years ago

No, it was meant to fix that. No idea what the last crash dump is about yet, but I cannot reproduce a crash when exiting a remote preview with the HOME Menu.
HOWEVER, anemone deadlocks when attempting to "close current and open another" app from the H.M. during a remote preview (exits fine when just closing) This one I'm not really sure how to fix, simplest bodge is disabling the HOME button, but I have a few tricks I can use for now.

Helloman892 commented 4 months ago

@1031982 Closing this as fixed, unless you can still replicate this on the current latest release.