carta
divide-by-zero(1)

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)

Author

Benjamin Drung <[email protected]>

From chaos-marmosets 0.2.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.