ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Понедельник
22 июля
1044145 Топик полностью
Tech_ (14.10.2020 12:17, просмотров: 290) ответил fk0 на Приаттачся (gdb -p <PID>) к процессу скрипта и посмотри чем он занят (backtrace).
Вот что получил: 

Attaching to process 5977
Reading symbols from /bin/dash...
(No debugging symbols found in /bin/dash)
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...
Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.31.so...
Reading symbols from /lib64/ld-linux-x86-64.so.2...
Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.31.so...
0x00007f78737a51e7 in __GI___libc_write (fd=1, buf=0x55ae72ba0640, nbytes=12)
--Type <RET> for more, q to quit, c to continue without paging--c
../sysdeps/unix/sysv/linux/write.c:26
26 ../sysdeps/unix/sysv/linux/write.c: Нет такого файла или каталога.
(gdb) n
0x000055ae71624672 in ?? ()
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) n
Cannot find bounds of current function
(gdb) q
A debugging session is active.