Program received signal SIGSEGV, Segmentation fault.
0xb6e8c9e8 in kill () at ../sysdeps/unix/syscall-template.S:120
120 ../sysdeps/unix/syscall-template.S: No such file or directory.
#0 0xb6e8c9e8 in kill () at ../sysdeps/unix/syscall-template.S:120
#1 0x00474416 in kill_builtin ()
#2 0x00430ffc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
```
To create a proper backtrace, you have to install bash-dbgsym.
This behavior breaks apports autopkgtest. Simple steps:
``` script" --ex bt /bin/bash linux-gnueabihf /libthread_ db.so.1" .
armhf-jammy$ printf '#!/bin/bash\nkill -SEGV $$\n' > self-killing-script
armhf-jammy$ gdb --batch --ex "run self-killing-
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-
Program received signal SIGSEGV, Segmentation fault. unix/syscall- template. S:120 unix/syscall- template. S: No such file or directory. unix/syscall- template. S:120
0xb6e8c9e8 in kill () at ../sysdeps/
120 ../sysdeps/
#0 0xb6e8c9e8 in kill () at ../sysdeps/
#1 0x00474416 in kill_builtin ()
#2 0x00430ffc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
```
To create a proper backtrace, you have to install bash-dbgsym.