LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

PRGNAME$() running in Smile button causes "Out of memory" error.

Root / SmileBASIC Bug Reports / [.]

SquareFingersCreated:
I mean, how could they have INTRODUCED a bug like this? Do they have a saboteur? It seems at least as likely as an 'accident'.

I mean, how could they have INTRODUCED a bug like this? Do they have a saboteur? It seems at least as likely as an 'accident'.
I bet the DHLPTX bugfix caused it.

I'm going to guess that the system is just entirely spaghetti code with mostly global state; so much so that seemingly disconnected code pieces are somehow strongly tied together.

I mean, how could they have INTRODUCED a bug like this? Do they have a saboteur? It seems at least as likely as an 'accident'.
I bet the DHLPTX bugfix caused it.
DHLPTX patch broke a lot of things. I think 12Me21 mentioned FFT being broken. Maybe they were halfway through modifying some related things with them and rushed it out the door because of the exploit.

If FFT is broken with the new update, i will not update SB

No, that was changed in 3.3.1 And it's not broken, there was a thing I was doing that isn't allowed anymore But anyway, there's no real reason to update; all they did was break DHLPTX and fix a few obscure bugs. I'm still on 3.3.1 and haven't had any problems

Anyway, this bug probably happens because the tool slot is slot 4, which is not a valid input for PRGNAME$() normally. However, it seems that they didn't check whether the default value was valid, so it somehow triggered the out of memory error, probably by trying to access memory that isn't meant to be accessed.