and3md@and3md-desktop:~/lmms_src/lmms/build$ gdb GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) attach 5914 Attaching to process 5914 Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operacja niedozwolona. (gdb) quit and3md@and3md-desktop:~/lmms_src/lmms/build$ sudo gdb [sudo] hasło użytkownika and3md: GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) attch 5914 Undefined command: "attch". Try "help". (gdb) attach 5914 Attaching to process 5914 [New LWP 5959] [New LWP 5960] [New LWP 5961] [New LWP 5962] 0xf7ffdb59 in __kernel_vsyscall () (gdb) bt #0 0xf7ffdb59 in __kernel_vsyscall () #1 0xf7df38f7 in ?? () #2 0x7bcce36f in ?? () #3 0x7bcd52f2 in ?? () #4 0x7bcd762a in ?? () #5 0x7bc51e5f in ?? () #6 0x7bc51ccc in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) (gdb) thread apply all backtrace Thread 5 (LWP 5962): #0 0xf7ffdb59 in __kernel_vsyscall () #1 0xf7df38f7 in ?? () #2 0x7bcce36f in ?? () #3 0x7bcd52f2 in ?? () #4 0x7bcd762a in ?? () #5 0x7bc51e5f in ?? () #6 0x7bc51ccc in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 4 (LWP 5961): #0 0xf7ffdb59 in __kernel_vsyscall () #1 0xf7df38f7 in ?? () #2 0x7eb4a3d2 in ?? () #3 0x7eb425cb in ?? () #4 0x7eb47bb9 in ?? () #5 0x7bccf8f0 in ?? () #6 0x7bcd3437 in ?? () #7 0x7bccf8e2 in ?? () #8 0x00000000 in ?? () Thread 3 (LWP 5960): ---Type to continue, or q to quit--- #0 0xf7ffdb59 in __kernel_vsyscall () #1 0xf7df38f7 in ?? () #2 0x7bcce36f in ?? () #3 0x7bcd52f2 in ?? () #4 0x7bcd762a in ?? () #5 0x7bc51e5f in ?? () #6 0x7bc51ccc in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 2 (LWP 5959): #0 0xf7ffdb59 in __kernel_vsyscall () #1 0xf7df38f7 in ?? () #2 0x7bcce36f in ?? () #3 0x7bcd52f2 in ?? () #4 0x7bcd762a in ?? () #5 0x7bc51e5f in ?? () #6 0x7bc51ccc in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 1 (LWP 5914): #0 0xf7ffdb59 in __kernel_vsyscall () #1 0xf7df38f7 in ?? () #2 0x7bcce36f in ?? () ---Type to continue, or q to quit--- #3 0x7bcd52f2 in ?? () #4 0x7bcd762a in ?? () #5 0x7bc51e5f in ?? () #6 0x7bc51ccc in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)