Ошибка: Panic or segfault in Samba

На сервере с общими с windows папками возникла ошибка

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 14141 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
However, gdb was not found on your system, so the error could not be
debugged. Please install the gdb package so that debugging information
is available the next time such a problem occurs.

Решается установкой пакета gdb

sudo apt install gdb