/usr/share/pyshared/nevow/test/segfault.py is in python-nevow 0.10.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/python
"""
Generate an unhandled SIGSEGV for this process immediately upon import.
@see: L{nevow.test.test_testutil.JavaScriptTests.test_signalledExit}.
"""
import os, signal
os.kill(os.getpid(), signal.SIGSEGV)
|