Atmosphere-NX / Atmosphere

Atmosphère is a work-in-progress customized firmware for the Nintendo Switch.
GNU General Public License v2.0
14.42k stars 1.22k forks source link

A fatal error ocurred when running atmosphere #1031

Closed Santiav90 closed 3 years ago

Santiav90 commented 4 years ago

Hello, me again. The error still happens with atmosphere 12.0. If this can't be fixed, is there a way to make it so that when a fatal error ocurrs, the switch automatically reboots? tbh that would be good enough to fix the problem. The report is the same from yesterday and will be in the comments, or should I attach a new report when the error courrs again?

What's the issue you encountered?

Every so often after the last update my switch crashes saying "A fatal error ocurred when running atmosphere". I haven't been able to find out when this error happens since it seems random. It also says "Title ID: 010041544d530000" and "Error desc: std::abort() called (0xffe) and report saved to /atmosphere/fatal_errors/report_000000118b4aca06.bin

How can the issue be reproduced?

havent found a way yet

Crash Report

System Firmware Version

lastest update from yesterday june 5th

Environment?

I use a fuseeloader and the latest official release

Additional context?

I have a teensy ++ 2.0 connected working as an automated controller

Santiav90 commented 4 years ago

report_000000118b4aca06.zip

SciresM commented 4 years ago

You uploaded the same binary you uploaded previously. This is still not an atmosphere 0.12.0 report.

Also, again -- this isn't a random report. The report you uploaded was triggered in romfs building code. What mods are you using/what sysmodules do you have installed? You still did not answer that question that I asked in the last issue, and diagnosis cannot happen without it.

Santiav90 commented 4 years ago

what do you mean mods and sysmodules? Im sorry im very noob at this. I did mention at the beginning at this report that I was uploading the same crash report as yesterday and asked if I should upload a new one

SciresM commented 4 years ago

Yes, upload a new one.

Your report indicates that you are not using a clean atmosphere release. You have add-ins -- game mods or custom system modules that add extra functionality.

What is inside your /atmosphere/contents folder?

Santiav90 commented 4 years ago

ok that is indeed true, I have an extra file in contents made for raid editting in pokemon sword and shield that I cannot get rid of because I want to use it

SciresM commented 4 years ago

I doubt it is a single file. Your error indicates that you have exhausted the RAM that the romfs building code has available to it.

It has a lot of RAM available to it, and it takes a lot of steps to be memory efficient.

Please fully answer my question about what is inside your /atmosphere/contents folder. I cannot help you if you do not provide me complete diagnostic information.

Santiav90 commented 4 years ago

ok, it has around 9 files, but i have only added two of them, being the pokemon sword one and then an animal crossing one that I can delete since I have no use for it. The other files I have not touched them since I'm afraid that could harm my games. In the next comment I will upload a new report with the contents folder in zip format

SciresM commented 4 years ago

You are not providing me with the information I need. Take screenshots of your contents folder and upload those.

Santiav90 commented 4 years ago

yes, I said i was going to upload it in the next comment, (the one after this one) since I'm going to wait some minutes until the error happens again so i can provide the report. Here is the screen shot. The one I dont want to remove is 0100ABF008968000 Captura de pantalla (31)

SciresM commented 4 years ago

The folders 420000000007E51A and 4100000000000324 are custom system modules.

The first one is tesla. I have no idea what the second one is.

Does the error occur if you remove the second, unknown custom system module? Either way, I grow pretty confident this isn't an atmosphere problem.

Anyway, could you also post pictures of the /romfs folder inside both the pokemon sword and the animal crossing directories?

Santiav90 commented 4 years ago

yes, how can I reach the /romfs folder?

SciresM commented 4 years ago

... 0100ABF008968000/romfs for sword. 01006F8002326000/romfs for animal crossing.

Santiav90 commented 4 years ago

contents.zip Captura de pantalla (32) Captura de pantalla (33) Captura de pantalla (34)

Santiav90 commented 4 years ago

I also included the contents.zip in case its useful

Santiav90 commented 4 years ago

also thanks a lot for helping me with this

SciresM commented 4 years ago

The 420000000007E51A folder is tesla. The 4100000000000324 folder is apparently "sys-http".

If you trigger the issue on 0.12.0, upload the report and say what you were doing when it occurred.

I would also try removing your custom system modules (by deleting those folders), and seeing if the issue stops happening.

Can't really debug an issue without an 0.12.0 report and/or a consistent way of producing the error.

Santiav90 commented 4 years ago

yep, just finally got the report. Here it is. report_00000010eef53318.zip Which ones should I delete then?

SciresM commented 4 years ago

"say what you were doing when it occurred"

Please say what you were doing when it occurred.

The 420000000007E51A folder is tesla. The 4100000000000324 folder is apparently "sys-http".

Remove both of them, I guess.

Santiav90 commented 4 years ago

I'm not sure what was going on when it happened, since I have a teensy ++ 2.0 repeating a loop of actions over and over. So its not something that is guaranteed to happen, it just happens every hour or so. If I am able to catch the moment it happens I will mention it here. I've left it going for around 40 minutes and there hasn't been an error yet.

Santiav90 commented 4 years ago

I removed both of them and the error still ocurred. I think it happens when closing and opening the game, I will watch it for an hour to make sure when it ocurrs

Santiav90 commented 4 years ago

Is there a way to make it so that if there is an error it just reboots?

Santiav90 commented 4 years ago

@SciresM ?

SciresM commented 4 years ago

I sleep between ~3:30 am my time and ~6:30 am my time. Tagging me is not helpful.

Error is again out of memory during romfs build. Maybe there's a memory leak of some kind in the romfs stuff.

Auto reboot after fatal error --> not in fusee.

What is your automation program doing? Infinitely closing/reopening a game?

Santiav90 commented 4 years ago

yeah, basically doing some stuff in the game and then closing it and opening it

Santiav90 commented 4 years ago

sorry

Santiav90 commented 4 years ago

This time I was able to see when the error ocurred and it was just while starting a raid on pokemon.

benbooth493 commented 4 years ago

I am experiencing the same issue exactly. I have a clean atmosphere and sept folder. Nothing in there from my old Kosmos install.

SciresM commented 4 years ago

@benbooth493 This issue is that there's some memory leak in romfs building code so if you automate closing/opening then after a while memory fragmentation causes an oom --> crash.

I...sincerely doubt your issue is the same.

benbooth493 commented 4 years ago

So I have exactly the same error message. I accidently allowed the system to upgrade to 10.0.3. So I ripped out Kosmos and replaced with atmosphere.

SciresM commented 4 years ago

"exactly the same error message" <-- does not mean this is at all related to this issue. All atmosphere errors give that error message.

Make a new issue and upload your report. I'm entirely sure your issue is unrelated to this.

kasboy82 commented 4 years ago

Hi, I'm having the same problem report_000000000635a151.zip

HookedBehemoth commented 4 years ago

@kasboy82 exFAT card without FAT32 only firmware. Format your sd card to FAT32.

kasboy82 commented 4 years ago

@kasboy82 exFAT card without FAT32 only firmware. Format your sd card to FAT32.

thanks. can it be fixed if I change on choujonoirNX to firmware with exfat?

SciresM commented 3 years ago

Your issue is completely unrelated. Update mission control, and this isn't a support forum.

WakamoleEpico commented 3 years ago

hola que tal, me dio un problema parecido es este "a fatal error occured when running atmosphere program ID: 01004154d530000 error desc: std: :abort() called (0xffe) report saved to/atmosphere/fatal_errors/report_000000000b44e679.bin" que puedo hacer? gracias de antemano

ghost commented 3 years ago

Basically the same as OP, but different mods. Closing the game and reopening to reset several times, from time to time it crashes like this on reopening.

Using No Outlines mod, and ReTextured 1.6

https://yuzu-emu.org/wiki/switch-mods/

(Yuzu page, the mods work fine on console though. Although the retexture mod is 1 GB so that could be cause for error.)

Otherwise I have Fizeau sysmodule, and home menu theme. Nothing else.

fatal_errors.zip

SciresM commented 3 years ago

How many times is several?

ghost commented 3 years ago

Half a dozen to a dozen or so

SciresM commented 3 years ago

What game? Pokémon sword?

ghost commented 3 years ago

Shield

BeniyashaSSB commented 3 years ago

I'm having the same problem as OP and a couple other people as well. I have a few texture mods and one "custom mod" that only alters specific Pokemon's encounter data, and my switch encounters a panic error nearly identical to OP's after closing and opening Pokemon Sword about a dozen times. This is after I have installed Atmosphere 0.19.5 and Hekate 5.5.8 earlier today.

Specific mods include: Skin mods for 5 Pokemon, 3 Clothing specific mods, and 1 mod created via pkNX that allows for specific Pokemon encounters to have their "shiny lock" removed. (can link the mods in particular if necessary)

I have a lot of folders in my atmosphere/contents folder that have cheat files for games I don't own, but for the most part, I haven't done a lot of modding except for the Tesla menu and a few other specific games. I don't have any themes installed, nor have I intently put any additional sysmodules on my switch due to my not wanting to mess with it.

nota-debug commented 3 years ago

Can anyone help me my baby cousin updated my switch a while ago and after that it stop working and gave the same error. my sd card is in fat32 I have tried to set the bit archive but it didnt work either. I will post the error bin file below. Thank you for your cooperation

nota-debug commented 3 years ago

report.zip

masagrator commented 3 years ago

report.zip

Delete missioncontrol or update it.

nota-debug commented 3 years ago

im a noob can you give me steps please and thank you

nota-debug commented 3 years ago

Ok so i moved it to downloads and it still gave me the same error mesage i will post the bin file below

nota-debug commented 3 years ago

New WinRAR ZIP archive.zip

nota-debug commented 3 years ago

@masagrator

nota-debug commented 3 years ago

@SciresM

masagrator commented 3 years ago

Delete contents folder and try again. and don't ping because you can't wait even 30 minutes for reply...