FlagBrew / PKSM

Gen I to GenVIII save manager.
GNU General Public License v3.0
1.71k stars 173 forks source link

Bug Report - Wonder Card screen crashes #1310

Open Omega207 opened 2 years ago

Omega207 commented 2 years ago

Describe the bug When using the Wonder Card screen, at seemly random, the app will throw up and error "An exception has occurred during execution." Description: std::bad_alloc.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Wonder Cards'
  2. Actively search through Cards
  3. Wait without doing anything...
  4. The error may appear

Expected behavior Not supposed to crash.

Snapshots 3DS error snapshot cropped 1 (New photos:) 2023-08-27_16-35-22 953_top 2023-08-27_16-35-22 953_bot

Information about your environment

Additional context Pokémon Ultra Moon was used to encounter the error. This error has been reproduced several times, and is not limited to my console specifically.

Omega207 commented 2 years ago

Sorry, I'm new to GitHub, so if someone could add the "Bug" label, that would be great, thanks.

Omega207 commented 2 years ago

Thank you. I forgot to mention that I'm using Boot9Strap (I believe).

DonEdgar commented 2 years ago

Hey I just wanted to clarify something, when you say wondercard, do you mean the "event" section in the home menu after selecting the save?

Omega207 commented 2 years ago

Yeah, the area where you can select special event Pokémon.

Omega207 commented 2 years ago

Closed of inactivity. Also, I can't confirm this, but the issue may have been fixed.

adueppen commented 1 year ago

This still seems to be happening for me, with both Gen VI and VII. Spending more than a couple minutes in the events screen will cause this crash.

Omega207 commented 1 year ago

@adueppen Hey, I tried waiting for a couple of minutes on the Event Database screen, but I couldn't replicate the crash. Do you know what causes the crash? Like, was changing the sheet quickly with L/R causing the crash?

adueppen commented 1 year ago

@Omega207 in my case it happens regardless of what I'm doing on that screen, although it seems like it might be happening a bit sooner when I'm actively browsing through wonder cards

Omega207 commented 1 year ago

@adueppen I was about to say that I can't replicate this, but then PKSM did crash after trying to search through Wonder Cards and then letting it stay idle. The issue has been updated with new info.

adueppen commented 1 year ago

I can try to provide more info too next time it happens to me

eden106 commented 3 months ago

i'm also having this exact same issue, also with ultra moon. my crash screen looks a bit different though IMG_4672

adueppen commented 3 months ago

@eden106 that looks to be the same error, but the format codes used to color and position the text didn't get processed.