LoginLogin

[fixed] How to crash SB

Root / SmileBASIC Bug Reports / [.]

🔒
5logankCreated:
BGSCREEN 0,888888, 888888

It works. Save first pls

The next "CrashPTC" XD I'm too scared to try it

Here's the new version: BB2X3E3E I raised the tempo. Didn't add any new tracks though. I'll see what I can do later.

Here's the new version: BB2X3E3E I raised the tempo. Didn't add any new tracks though. I'll see what I can do later.
Why is this posted here lol? Nice song anyways, it's not bad.

Here's the new version: BB2X3E3E I raised the tempo. Didn't add any new tracks though. I'll see what I can do later.
Why is this posted here lol? Nice song anyways, it's not bad.
Where else can I message him?

Where else can I message him?
You have a point. Hey, if your reading this Randomous or Lumage, you should add message walls like from the Wikia, or something similar

I think we might have had plans for something like that, but forgot them in the midst of other, more important things. Will discuss.

Okay. Take your time with things, we don't want you to rush and accidentally break something.

Yes, some kind of personal message system is definitely needed. We don't know if it'll be private or public, but it'll be there lol. But this forum category is a good place to post this; we need to see these bugs.

The next "CrashPTC" XD I'm too scared to try it
Didn't affect me.

seems more practical than the one I made (DNR)

You know what? That could actually be useful, in the sense that it restarts your device. You could have a program that has a restart 3ds option. I'm probably going to impliment that into my current project "TerminalDS"

You know what? That could actually be useful, in the sense that it restarts your device. You could have a program that has a restart 3ds option. I'm probably going to impliment that into my current project "TerminalDS"
Yeah, if you enjoy the danger of data loss and corruption.

You know what? That could actually be useful, in the sense that it restarts your device. You could have a program that has a restart 3ds option. I'm probably going to impliment that into my current project "TerminalDS"
Yeah, if you enjoy the danger of data loss and corruption.
well maybe I do :P

how would that cause data corruption? In CRASHPTC there was only one reported case out of... hundreds of downloads, correct?

A$="A"*65536*65536 "An error has occurred, forcing the software to close. The system will now restart. (Unsaved data may be lost.)" Yes, the 3DS resets. EDIT: A$="A"*65536*8192 gives Out of memory (a regular SmileBasic error) and A$="A"*65536*16384 gives Out of range (another regular SmileBasic error, even if an inappropriate/misleading one for the circumstance). Three different responses to essentially the same problem. Sloppy, very sloppy.

@SquareFingers That's... pretty crazy

now do a buffer overflow

I wish more languages were strongly type-checked. One of the biggest complaints I have with stuff like Python and SB is that they aren't strongly type-checked at all, resulting in bugs like A$="A"*65536*65536. Ideally, that should return a "Type Mismatch" error for multiplying a string by an integer.