def segfault(): """Task causing a segfault, abruptly terminating the process executing the task.""" import ctypes ctypes.memset(0, 0, 1) assert False, 'should not get here'