Folly is a tiny library to help you trigger error conditions in your application intentionally, like a segfault.
Folly.raise_segfault