SIGTRAP
Breakpoint or trace trap.
- Linux number
- 5
- FreeBSD number
- 5
- Default action
- Terminate and dump core
- Catch, block or ignore
- Allowed
- Standard
- POSIX.1-2001
This is how debuggers work: ptrace stops the tracee with SIGTRAP at a breakpoint or a single-step. Seeing it in a process nobody is debugging usually means a stray int3 instruction left in the code path.
Sources
Numbers are Linux on x86 and arm64; alpha, mips, sparc and parisc number some signals differently. Spot one that's wrong? Tell Rod.