I\'ve been working on a deployment work flow with Dokku and Docker and now I want to take care of continuity of my app (along the lines of Forever). To test it, I need a way
And adding to DrakaSAN's answer, an even simpler C module to crash:
int main() { *(int*)(0) = 0; return -1; }
Even shorter ones are available on this page. If you don't want it to be too hard to read, you can probably go with
int main() { int i=1/0; }