LoginLogin

CrashSB

Root / Submissions / [.]

RaichuBenderCreated:
Download:JDEX3WNE
Version:1Size:
CrashSB CrashSB is a program featuring a bug I discoverd. What it does It crashes SB (this also means unsaved data will be lost, so please save everything before doing this. YOU HAVE BEEN WARNED!). Then the 3DS error handler comes in and takes you back to the home menu and then restarts the system. How to use it This only works in edit mode. After running the program, the user will be prompted to enter CLEAR in direct mode. After that, They have to enter CRASH to crash SB. How it works It is pretty simple, yet confusing. This program defines three variables and a function called CRASH. Once the user clears the RAM and the executes the function, SmileBASIC doesn't know what to do and crashes. The confusing part is that normally when a variable is not defined, it will simply give an undifined variable error. CLEAR only works in direct mode, so that's why the user needs to type it in manually. I discovered this glitch while working on a CHIP-8 intepreter. Can this be exploited? Turns out people are exploiting other bugs to launch the homebrew channel. Fixed in 3.3.2.

Instructions:

Run the program in edit mode, enter CLEAR in the console, then enter CRASH.

Replying to:flarn2006
My error screen looks different :) (right-click, view image for larger size)
What is this

Replying to:Yolkai
"Turns out people are exploiting similar bugs to launch the homebrew channel." no. no they aren't. it's completely different.
Edited.

Replying to:jamieyello
I made a program that crashed Petit computer once. Actually not really, I just corrupted a PTC file's header and turned it into a QR code. It saved but if you tried to run it Petit Computer would soft lock. It's funny because ninjhax uses corrupted QR codes to work. I would wager if anyone gave a crap about DSi mode or DSi games there might be some potential exploit there.
Link? I can suggest it. Or go to http://dsibrew.org/wiki/Main_Page and suggest it yourself

Replying to:Defaultio
Wow, already with that homebrew in the end. Wonder if SBHax will be possible....
I looked up homebrew for smilebasic and got this as the first result: https://gbatemp.net/threads/release-basicsploit-primary-homebrew-exploit-for-smilebasic.433920/

Replying to:Defaultio
Wow, already with that homebrew in the end. Wonder if SBHax will be possible....
Also I don't think smealum made this and I haven't seen it EDIT:Geez, It's been a while since I was on here.

Replying to:Defaultio
Wow, already with that homebrew in the end. Wonder if SBHax will be possible....
Why is any of this garbage here. The exploit that did happen was a result of a COMPLETELY different feature. It didn't even have anything to do with crashing the software, thus most of the comments here were still just fake overhyping. Please stop replying to this comment chain.

Replying to:Defaultio
Wow, already with that homebrew in the end. Wonder if SBHax will be possible....
Why not add closing comments/reply chains? Too much like Wikia if we do so?

Looks like it's been patched in 3.2.2

Replying to:12Me21
I hate this bug so much... I did it by accident, trying to do WAVBGM after running a different program... EDIT: there are also many other better crash glitches, like READ VAR(A)[0]
By the looks of it, that remains a bug.

This program could be much more simple
DIM N[1]

DEF C
N[0]=42
END
Run program, type CLEAR, Enter, then hit C and Enter. Boom, attempted access to freed memory which causes an exception. Doesn't appear to be exploitable thankfully.

Replying to:Ptcguy
Looks like it's been patched in 3.2.2
No, it's not.

Replying to:DrZog
This program could be much more simple
DIM N[1]

DEF C
N[0]=42
END
Run program, type CLEAR, Enter, then hit C and Enter. Boom, attempted access to freed memory which causes an exception. Doesn't appear to be exploitable thankfully.
Thankfully?

Replying to:Ptcguy
Looks like it's been patched in 3.2.2
I meant 3.3.2

This is fixed in 3.5.2 apparently

Replying to:DrZog
This program could be much more simple
DIM N[1]

DEF C
N[0]=42
END
Run program, type CLEAR, Enter, then hit C and Enter. Boom, attempted access to freed memory which causes an exception. Doesn't appear to be exploitable thankfully.
Yeah thankfully! Someone could've put this into their program and executed malicious code if it were exploitable! Also I just realized your comment was a year old, but you get the idea.

Replying to:12Me21
This is fixed in 3.5.2 apparently
It was updated this year?

Here's something that traps your 3DS into endless non-responcibility.
@HELLOENDLESSSTOP
?" "*199999
GOTO @HELLOENDLESSSTOP
A single ideration needed about three minutes. With this my 3DS is stuck forever!
SpoilerThe only way for me to end this crap was smashing the HOME Button and waiting 3 minutes for the HOME Menu to appear and then, I was able to close SmileBASIC after waiting another 3 minutes for the dialogbox that tells, that SmileBASIC will stop.
This was really crazy!

Replying to:CyberYoshi64
Here's something that traps your 3DS into endless non-responcibility.
@HELLOENDLESSSTOP
?" "*199999
GOTO @HELLOENDLESSSTOP
A single ideration needed about three minutes. With this my 3DS is stuck forever!
SpoilerThe only way for me to end this crap was smashing the HOME Button and waiting 3 minutes for the HOME Menu to appear and then, I was able to close SmileBASIC after waiting another 3 minutes for the dialogbox that tells, that SmileBASIC will stop.
This was really crazy!
old or new?

CONTROLLER 0

Replying to:CyberYoshi64
Here's something that traps your 3DS into endless non-responcibility.
@HELLOENDLESSSTOP
?" "*199999
GOTO @HELLOENDLESSSTOP
A single ideration needed about three minutes. With this my 3DS is stuck forever!
SpoilerThe only way for me to end this crap was smashing the HOME Button and waiting 3 minutes for the HOME Menu to appear and then, I was able to close SmileBASIC after waiting another 3 minutes for the dialogbox that tells, that SmileBASIC will stop.
This was really crazy!
Was tested on a 2DS. But I discovered something crazier!
@LOOPINGS
?" "*2255512
GOTO @LOOPING
One ideration needed 5 minutes this time!