Write some code that causes a BSOD or kernel panic!
Rules:
- On Windows, you must cause a BugCheck (Blue Screen of Death), on Linux (or other *nix systems) you must cause a kernel panic.
- Must not damage the system (i.e. it should work on reboot)
- Kernel-mode drivers are allowed.
- State your OS and version information.
- Explain how the crash is caused.
- It's not against the rules to use tools that are specifically designed to cause a crash, but doing so isn't very creative!
- Highest upvotes wins.
1/0a valid answer? – ugoren Jun 7 '12 at 20:371/0in a file calleddriver.cdoesn't constitute a valid kernel-mode driver. Regardless, the winner is based on upvotes, not code length. – Polynomial Jun 7 '12 at 20:40