Код: Выделить всё
Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable. Connect to gdbserver inside the container.
Код: Выделить всё
[root@c1-worker-linux ~]# sudo gcore 298722
warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable. Connect to gdbserver inside the container.
0x00007f33a60be390 in ?? () from target:/lib/ld-musl-x86_64.so.1
warning: target file /proc/298722/cmdline contained unexpected null characters
warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000.
Загрузка в GDB завершается неудачей, формат файла не распознается
Код: Выделить всё
[root@c1-worker-linux ~]# gdb core.298722
GNU gdb (GDB) Red Hat Enterprise Linux 10.2-13.el9
Copyright (C) 2021 Free Software Foundation, Inc.
This GDB was configured as "x86_64-redhat-linux-gnu".
"0x7fff9d3e6450s": not in executable format: file format not recognized
Код: Выделить всё
6 Id: 48ee2.48ee8 Suspend: 0 Teb: 00000000`00000000 Unfrozen
# Child-SP RetAddr Call Site
00 00007f33`a3627938 00007f33`a60bb6aa ld_musl_x86_64_so!tss_set+0x120
01 00007f33`a3627940 00000000`00000000 ld_musl_x86_64_so!pthread_barrierattr_setpshared+0x10c
Подробнее здесь: https://stackoverflow.com/questions/791 ... ux-invalid
Мобильная версия