What could be such a mistake?

strace -p 4623 strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted 
  • probably requires superuser privileges. run the program as root , or (if installed) the sudo program. - aleksandr barakin
  • @alexanderbarakin, this is only one of the possible reasons, there may also be a) reattachment attempts, b) settings that affect exactly which process we are trying to trace. - 0andriy

0