? CrashSB ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Another contest? You asked for it!

CrashSB

Submitted
Updated
Author
RaichuBender
Public Key
JDEX3WNE
Min. Compat.
All
Version
1
Rating
12 votes
Description 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.
Categories
Keywords
  • bug
  • glitch
  • smilebasic
  • homebrew
  • 3ds
  • sb
76 Comment(s) 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself This is fixed in 3.5.2 apparently spaceturtles spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength It was updated this year? DrZog 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. galaxycat galaxycat Drawing I like to draw! Hobbies Day Person I like the warm sunshine and wake up early! Express Yourself Video Games I like to play video games! Hobbies Thankfully? HTV04 HTV04 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength April Fool's 2017 Contest Participant I participated in the SmileBASIC Source April Fool's 2017 Contest! Programming Contest Forum Contributor Hidden Achievements 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. Ptcguy Ptcguy First Week Joined in the very first week of SmileBASIC Source Website Minecraft Is Awesome! I love Minecraft! Express Yourself Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Looks like it's been patched in 3.2.2 DrZog DrZog No, it's not. Ptcguy Ptcguy First Week Joined in the very first week of SmileBASIC Source Website Minecraft Is Awesome! I love Minecraft! Express Yourself Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength I meant 3.3.2 Lumage Lumage Head Admin "Turns out people are exploiting similar bugs to launch the homebrew channel." no. no they aren't. it's completely different. AnswerXOX AnswerXOX First Year My account is over 1 year old Website Great Page Hidden Achievements Touhou Project Is Awesome! I love Touhou Project! Express Yourself tfw page gets deleted ;-; RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Edited. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself 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] AnswerXOX AnswerXOX First Year My account is over 1 year old Website Great Page Hidden Achievements Touhou Project Is Awesome! I love Touhou Project! Express Yourself READ VAR("")[0] 4ever Ptcguy Ptcguy First Week Joined in the very first week of SmileBASIC Source Website Minecraft Is Awesome! I love Minecraft! Express Yourself Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength By the looks of it, that remains a bug. flarn2006 flarn2006 My error screen looks different :) (right-click, view image for larger size) Minxrod Minxrod Summer 2016 Contest Participant I participated in the SmileBASIC Source Summer 2016 Contest! Programming Contest Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Yes RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Ah, you did the mod thingy? Pretty cool! I wanna do that too on my New 3DS. DrZog DrZog @raichu, you can get that crash dump by just using the dev version of luma3ds and enabling the debug flags. RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Ah, thanks! I didn't know that. AnswerXOX AnswerXOX First Year My account is over 1 year old Website Great Page Hidden Achievements Touhou Project Is Awesome! I love Touhou Project! Express Yourself Time to use this on Corbenik CFW and send two billion rop bins to everybody, GET HAXED BRO Chemicalex Chemicalex Drawing I like to draw! Hobbies RNG Hidden Easter Eggs Video Games I like to play video games! Hobbies What is this Flashlight Flashlight Time to try it on n3ds login required hotel network, can't get program h267 h267 RNG Hidden Easter Eggs Pokemon Is Awesome! I love Pokemon! Express Yourself Good Page Hidden Achievements PRINT"GET SHREKT M6"*9999999999999 You'll get enough bricks to build the wall Flashlight Flashlight Welp. This makes your 3ds turn into Donald Trump. jamieyello jamieyello First Day Joined on the very first day of SmileBASIC Source Website Night Person I like the quiet night and sleep late. Express Yourself Drawing I like to draw! Hobbies 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. NateDogg1232 NateDogg1232 Night Person I like the quiet night and sleep late. Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Link? I can suggest it. Or go to http://dsibrew.org/wiki/Main_Page and suggest it yourself reitracz reitracz make one that bricks the 3ds. Minxrod Minxrod Summer 2016 Contest Participant I participated in the SmileBASIC Source Summer 2016 Contest! Programming Contest Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Pokemon Is Awesome! I love Pokemon! Express Yourself Why would you want this? RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Exactly... 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Bricks are nice Chemicalex Chemicalex Drawing I like to draw! Hobbies RNG Hidden Easter Eggs Video Games I like to play video games! Hobbies PRINT "GET SHREKT M7"*99999 You'll get enough bricks to keep the big bad wolf away reitracz reitracz to get revenge on my apalachian enemies. Guzzler Guzzler First Week Joined in the very first week of SmileBASIC Source Website Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength _Alex_: PRINT "GET SHREKT M7"*99999 You'll get enough bricks to keep the big bad wolf away Woah there buddy, take it down a notch. Flashlight Flashlight PRINT "GET SHREKT M7"*99999 You'll get enough bricks to keep the big bad wolf away I actually did this on my 3ds It lagged for about 15 seconds but then did this Guzzler Guzzler First Week Joined in the very first week of SmileBASIC Source Website Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I tried it on my o3ds and I counted 36 seconds of lag. RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Try using that command followed by BGSCREEN 0,888888,888888. ( ͡° ͜ʖ ͡°) Flashlight Flashlight Hopefully it won't brick my 199 dollar system galaxycat galaxycat Drawing I like to draw! Hobbies Day Person I like the warm sunshine and wake up early! Express Yourself Video Games I like to play video games! Hobbies Hai! And i talked on GBATemp about this, they say it has to fully crash and not just crash out. So no. reitracz reitracz maybe we can run teh program in a loop to destroy the 3ds. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself No. The first time through the loop, it would crash and the loop would stop. Wait, doesn't BrowserHax "crash out"? JustGreat JustGreat First Month Joined in the very first month of SmileBASIC Source Website Avatar Taboo I didn't change my avatar for 180 days Website Night Person I like the quiet night and sleep late. Express Yourself I think that only happens when it fails (90% of the time) 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Why is this the most popular program? It's interesting, but... RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website I don't know. I might delete this program, because it's grabbing all attention. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Maybe you could transfer it to a thread or resource. MYCRAFTisbest MYCRAFTisbest Good Page Hidden Achievements Video Games I like to play video games! Hobbies Avatar Taboo I didn't change my avatar for 180 days Website I don't know but if people like things that crash I can make a program that crashes itself whenever you do anything. I think I'll call it "Crash Course" Super_Defaultio Super_Defaultio First Month Joined in the very first month of SmileBASIC Source Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Wow, already with that homebrew in the end. Wonder if SBHax will be possible.... HylianHoundoom HylianHoundoom An application for homebrew running a homebrew application that runs more homebrew in which runs homebrew applications. Homebrewception. EDIT: SOMEONE TELL SMEALUM!!! Super_Defaultio Super_Defaultio First Month Joined in the very first month of SmileBASIC Source Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself That was super confusing, my head can't wrap around it... You tell smealum. HylianHoundoom HylianHoundoom I don't have twitter because i think having social media is stupid SquareFingers SquareFingers While Smealum may appreciate being told about SmileBasic - if he doesn't already know, which I think is highly unlikely - this particular program would probably hold no interest for him. Lumage Lumage Head Admin My opinion on this is that if Smealum does know about it, he probably doesn't care, and if he doesn't, we don't need him bashing BASIC lol Also, I get the feeling this is less exploitable than you might think. Your sandboxed system can crash at an unsandboxed level, but that doesn't mean you can get arbitrary code outside the sandbox. But what do I know. Super_Defaultio Super_Defaultio First Month Joined in the very first month of SmileBASIC Source Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Lumage, you know a lot. h267 h267 RNG Hidden Easter Eggs Pokemon Is Awesome! I love Pokemon! Express Yourself Good Page Hidden Achievements Yeah, how does crashing SB run arbitrary code? Guzzler Guzzler First Week Joined in the very first week of SmileBASIC Source Website Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength He does... Lumage Lumage Head Admin It (probably) doesn't. That's the point. Just because we can crash the software doesn't mean we can force the 3DS to run our code. snail_ snail_ Page Moderator Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Second Year My account is over 2 years old Website It's rather unlikely that this crash is vulnerable. I'll try to come up with a decent explanation with my very little knowledge (THIS MIGHT BE WRONG, WARNING) Virtually every exploit on the 3DS relies on stack-smashes or similar techniques to write executable code to the XN (eXecute Never) memory. Normally this memory area is blacklisted so you can't write to it or something and blah blah the program counter jumps into free memory to execute a deployed something or other or something. somebody check my work JustGreat JustGreat First Month Joined in the very first month of SmileBASIC Source Website Avatar Taboo I didn't change my avatar for 180 days Website Night Person I like the quiet night and sleep late. Express Yourself Even if homebrew is possible in SmileBASIC, I think we should wait until it's released in Europe to announce it. Nintendo will surely force SmileBoom to patch SmileBASIC if a homebrew exploit is discovered, and that will delay the release of the European version even more. tl;dr Don't ruin SmileBASIC for others by being impatient. RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website JustGreat you have a point there. I don't wanna ruin it for fellow Europeans (or anyone in the world) and I'm not going to research this glitch, nor was it my intention. I just wanted to mention that crazy stuff has happened with glitches and exploits on both the DSi and 3DS. Chemicalex Chemicalex Drawing I like to draw! Hobbies RNG Hidden Easter Eggs Video Games I like to play video games! Hobbies Bleh, I'm sure we'll see PetitHax sometime. Super_Defaultio Super_Defaultio First Month Joined in the very first month of SmileBASIC Source Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself Petit Hax sounds stupid.... SmileHax is better. But yeah, no way to know if homebrew is possible or not until we research... after the european release. JustGreat JustGreat First Month Joined in the very first month of SmileBASIC Source Website Avatar Taboo I didn't change my avatar for 180 days Website Night Person I like the quiet night and sleep late. Express Yourself Hindsight is 20/20 with this reply chain NintendoFanFever NintendoFanFever 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/ NintendoFanFever NintendoFanFever 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. Lumage Lumage Head Admin 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. snail_ snail_ Page Moderator Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Second Year My account is over 2 years old Website Why not add closing comments/reply chains? Too much like Wikia if we do so? h267 h267 RNG Hidden Easter Eggs Pokemon Is Awesome! I love Pokemon! Express Yourself Good Page Hidden Achievements This will be PERFECT in MyPet! MWAHAHAHAHAHAHAAAA!! >:3 RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Lol ElzoBro ElzoBro First Day Joined on the very first day of SmileBASIC Source Website Video Games I like to play video games! Hobbies Drawing I like to draw! Hobbies *PURRFECT SquareFingers SquareFingers Please post to https://miiverse.nintendo.net/posts/AYMHAAACAAADVHklSy9oJg (or, if you don't have a Miiverse account, please find someone to post for you). RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website I'll try, if I can get access to Miiverse. RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website Done. ElzoBro ElzoBro First Day Joined on the very first day of SmileBASIC Source Website Video Games I like to play video games! Hobbies Drawing I like to draw! Hobbies I didn't know SmileBasic had their own verified user! Much less that they had a Bug Support Thread! Why can't more games have this? Actually, No! I like breaking Rainmaker >:3 RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website There a multiple iterations of this bug apparently. This is the one I discovered. Chemicalex Chemicalex Drawing I like to draw! Hobbies RNG Hidden Easter Eggs Video Games I like to play video games! Hobbies BGSCREEN 0,888888,888888 can also do it (I think)? phil_ phil_ Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website Yes, this command will crash the interpreter and does not require user input. RaichuBender RaichuBender Avatar Taboo I didn't change my avatar for 180 days Website Avatar Embargo I didn't change my avatar for 90 days Website Avatar Block I didn't change my avatar for 30 days. Website True, this program was kinda pointless :P