Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic occurred while running Atmosphere Error: std::abort (0xFFE) #2263

Open
JulyIghor opened this issue Jan 4, 2024 · 11 comments
Open

Panic occurred while running Atmosphere Error: std::abort (0xFFE) #2263

JulyIghor opened this issue Jan 4, 2024 · 11 comments

Comments

@JulyIghor
Copy link

JulyIghor commented Jan 4, 2024

Bug Report

What's the issue you encountered?

Atmosphere crashed only if specific empty folder created in contents folder

How can the issue be reproduced?

  1. Create an empty folder SD/atmosphere/contents/0100000000001008/romfs/message
  2. Open All-in-One Switch Updater
  3. Select tab "Custom downloads"
  4. Press "Add a custom link"
  5. Enter random text, like "abcd" and press Submit+
  6. Atmosphere crashes with the message:
A fatal error occurred when running Atmosphere.
Program ID: 010041544d530000
Error Desc: std: abort() called (0xffe)
Report saved to /atmosphere/fatal_errors/report_000000002cb2b08f.bin
Press POWER to reboot.

Crash Report

report_000000002cb2b08f.bin.zip

System Firmware Version

17.0.0 atmosphere-1.6.2-master-f7bf379cf+hbl-2.4.4+hbmenu-3.6.0

Environment?

EmuMMC, Hekate, All-in-One Switch Updater

Additional context?

Possibly this issue related to #2164 and NX-Family/NX-Translation#3

@borntohonk
Copy link

Bug Report

What's the issue you encountered?

Atmosphere crashed only if specific empty folder created in contents folder

How can the issue be reproduced?

1. Create an empty folder SD/atmosphere/contents/0100000000001008/romfs/message

2. Open All-in-One Switch Updater

This is the atmosphere repository, it has nothing to do with 'All-in-One Switch updater'.
Why are you creating an empty folder in swkbd in the first place?

@SciresM
Copy link
Collaborator

SciresM commented Jan 4, 2024

@borntohonk as much as what you commented would be correct in 99% of cases, this guy talked to me on discord, and the report he provided actually is somehow triggering an svc::ResultInvalidHandle() in ams.mitm, so I think there might be a real atmosphere bug at play.

@JulyIghor
Copy link
Author

Why are you creating an empty folder in swkbd in the first place?

I'm making the FW translation to various languages, and I wish to create a custom keyboards so I need to put a files to that and other folders. I don't need an empty folder, that step is minimal required thing for reproducing the bug.

I created this issue because of this bug is similar to those mentioned in additional context section.

The issue causing crashes by just creating an empty folders in contents folder. It is expectingly should affect no apps, but system crashes. This bug also prevents in translating 010000000000100C and 0100000000001000 at the same time.

It could be a FW applets bug, but reproducing it with an open source apps proves it is possibly Atmosphere bug. I hope it helps in debugging and fixing it.

@JulyIghor
Copy link
Author

@sneakysnakek
Copy link

I am also having this exact issue, anyway to fix it?

@huypham1411
Copy link

I also got this issue, I tried some method from other related post such as

  • Get your switch in RCM mode. Inject Hekate payload Tap on "Tools" on top of the hekate screen. Tap on "Archive Bit - AutoRCM" on the right bottom. Tap on "Unset archive bit" button.
  • Format sd card to FAT32 (I don't have the FAT32 option)
    image

here is the log file
report_000000000658c023.zip

Hope someone can help. Thanks!

@Masamune3210
Copy link

On cards bigger that 32GB, you have to use an external tool or application to format to FAT32 since Microsoft in their infinite wisdom decided long ago that they know what the users want better than what the users do. Hekate can do it on the switch itself if you first back up all the contents to your PC so that you don't lose them

@JulyIghor
Copy link
Author

On cards bigger that 32GB, you have to use an external tool or application to format to FAT32 since Microsoft in their infinite wisdom decided long ago that they know what the users want better than what the users do. Hekate can do it on the switch itself if you first back up all the contents to your PC so that you don't lose them

Are you saying that reformatting microSD via Hekate fixes the issue?

@Masamune3210
Copy link

No, I was saying how to format a sd card that is larger than 32GB as FAT32 since Windows refuses to do so with any of the in-build methods of formatting a media

@JulyIghor
Copy link
Author

Some user who own Shin Megami Tensei V: Vengeance and installed the firmware translation reported that it also crashes while entering a name via keyboard when prompted by the game. They confirm that empty folders are also causing this. It’s likely the same bug.

@SciresM
Copy link
Collaborator

SciresM commented Oct 12, 2024

Huh. I forgot this issue was a thing. I should probably investigate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants