divide-by-zero1
Try to divide a number by zero and crash
Usage
divide-by-zero
Overview
divide-by-zero tries to divide a number by zero. It will immediately exit with signal 4 (SIGILL). This program is useful to test the process core dump configuration. See the Linux kernel sysctl setting kernel.core_pattern and fs.suid_dumpable for more information. In case of using a bug reporting system like apport, this program allows testing reporting the crash and retracing it.
Options
This program takes no options.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)