Skip to content

Instantly share code, notes, and snippets.

@aderumier
Created September 20, 2020 23:47
Show Gist options
  • Save aderumier/c45af4ee73b80330367e416af858bc65 to your computer and use it in GitHub Desktop.
Save aderumier/c45af4ee73b80330367e416af858bc65 to your computer and use it in GitHub Desktop.
bt-full-allthreads-corosync-stop
root@m6kvm1:/etc# gdb -p 17995
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 17995
[New LWP 17996]
[New LWP 18001]
[New LWP 18003]
[New LWP 33599]
[New LWP 33600]
[New LWP 35059]
[New LWP 19028]
[New LWP 2831]
[New LWP 2832]
[New LWP 2833]
[New LWP 2835]
[New LWP 3054]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fcbac9a2896 in do_futex_wait.constprop () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) thread apply all bt full
Thread 13 (Thread 0x7fcba37fe700 (LWP 3054)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 12 (Thread 0x7fcb6bfff700 (LWP 2835)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 11 (Thread 0x7fcb81deb700 (LWP 2833)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 10 (Thread 0x7fcb926ed700 (LWP 2832)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 9 (Thread 0x7fcb6b7f7700 (LWP 2831)):
--Type <RET> for more, q to quit, c to continue without paging--c
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 8 (Thread 0x7fcb912d9700 (LWP 19028)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 7 (Thread 0x7fcb815ea700 (LWP 35059)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 6 (Thread 0x7fcb837fe700 (LWP 33600)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 5 (Thread 0x7fcb83fff700 (LWP 33599)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 4 (Thread 0x7fcba2ffd700 (LWP 18003)):
#0 0x00007fcbac9a3544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbacb466d2 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#2 0x00007fcbacb48249 in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb46cdf in ?? () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7fcba3fff700 (LWP 18001)):
#0 0x00007fcbac8ca7ef in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007fcbac781b2a in ?? () from /lib/x86_64-linux-gnu/libqb.so.0
No symbol table info available.
#2 0x00007fcbac772bb0 in qb_loop_run () from /lib/x86_64-linux-gnu/libqb.so.0
No symbol table info available.
#3 0x000055ad6d9fb453 in worker_thread (data=<optimized out>) at server.c:529
th = 4403210616571953152
__func__ = "worker_thread"
_g_boolean_var_ = <optimized out>
#4 0x00007fcbacbe9415 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#6 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7fcba8f3d700 (LWP 17996)):
#0 0x00007fcbac8ca7ef in epoll_wait () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007fcbac781b2a in ?? () from /lib/x86_64-linux-gnu/libqb.so.0
No symbol table info available.
#2 0x00007fcbac772bb0 in qb_loop_run () from /lib/x86_64-linux-gnu/libqb.so.0
No symbol table info available.
#3 0x000055ad6d9f9d31 in cfs_loop_worker_thread (data=0x55ad6e805db0) at loop.c:330
__func__ = "cfs_loop_worker_thread"
loop = 0x55ad6e805db0
qbloop = 0x55ad6e805e10
l = <optimized out>
ctime = <optimized out>
th = 7222815479134420993
#4 0x00007fcbacbe9415 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007fcbac999fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#6 0x00007fcbac8ca4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7fcba8fe0900 (LWP 17995)):
#0 0x00007fcbac9a2896 in do_futex_wait.constprop () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007fcbac9a2988 in __new_sem_wait_slow.constprop.0 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#2 0x00007fcbacb46f98 in fuse_session_loop_mt () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#3 0x00007fcbacb4c577 in fuse_loop_mt () from /lib/x86_64-linux-gnu/libfuse.so.2
No symbol table info available.
#4 0x000055ad6d9f7b0e in main (argc=<optimized out>, argv=<optimized out>) at pmxcfs.c:1055
ret = -1
lockfd = <optimized out>
pipefd = {9, 10}
foreground = 0
force_local_mode = 0
wrote_pidfile = 1
memdb = 0x55ad6e422e10
dcdb = 0x55ad6e804710
status_fsm = 0x55ad6e8271f0
context = <optimized out>
entries = {{long_name = 0x55ad6da1140f "debug", short_name = 100 'd', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x55ad6da1f104 <cfs+20>, description = 0x55ad6da112cb "Turn on debug messages", arg_description = 0x0}, {long_name = 0x55ad6da112e2 "foreground", short_name = 102 'f', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffede168bf8, description = 0x55ad6da112ed "Do not daemonize server", arg_description = 0x0}, {long_name = 0x55ad6da11305 "local", short_name = 108 'l', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffede168bfc, description = 0x55ad6da116a0 "Force local mode (ignore corosync.conf, force quorum)", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
err = 0x0
__func__ = "main"
utsname = {sysname = "Linux", '\000' <repeats 59 times>, nodename = "m6kvm1", '\000' <repeats 58 times>, release = "5.4.60-1-pve", '\000' <repeats 52 times>, version = "#1 SMP PVE 5.4.60-1 (Mon, 31 Aug 2020 10:36:22 +0200)", '\000' <repeats 11 times>, machine = "x86_64", '\000' <repeats 58 times>, __domainname = "(none)", '\000' <repeats 58 times>}
dot = <optimized out>
www_data = <optimized out>
create = <optimized out>
conf_data = 0x55ad6e804110
len = <optimized out>
config = <optimized out>
bplug = <optimized out>
fa = {0x55ad6da1141e "-f", 0x55ad6da11421 "-odefault_permissions", 0x55ad6da11437 "-oallow_other", 0x0}
fuse_args = {argc = 1, argv = 0x55ad6e8043d0, allocated = 1}
fuse_chan = 0x55ad6e7ecec0
corosync_loop = 0x55ad6e805db0
service_quorum = 0x55ad6e8270d0
service_confdb = 0x55ad6e827130
service_dcdb = 0x55ad6e827190
service_status = 0x55ad6e8274a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment