This is my original and concise method to crash GolfScript:
What this does is set up a forever loop that keeps on pushing 1 onto the stack until memory runs out.
In C/C++, I believe that this original piece of code would crash the compiler:
#define a bb
#define b aa
This would get the compiler stuck doubling the amount of a's and turning them into b's and vice versa, so the compiler would pretty soon run out of memory and crash.
Another one is for batch on Windows, if completely freezing the computer rather than just the batch script itself counts. You should type in the following:
This gets into an infinite loop of making copies of itself, which make copies of themselves and so on. This would most likely eventually crash your computer if you ran this little bit of code.
One last one is a VBS bomb. It is another bomb, like the last one, but it instead opens an infinite amount of dialog boxes.
set oshell = wscript.createobject("wscript.shell")
oshell.run "wscript " & wscript.scriptname
This continuously creates a copy of itself and opens up a message box in an infinite loop, which the clones do as well. Running these last two programs is not recommended, as they can freeze your computer and cause you to have to hard boot your computer.
Note that I came up with all of these programs myself.