> strace isn't very helpful for debugging hangs - better to connect to
> libvirtd with GDB and get a stack trace of all threads, using
>
>   (gdb)  thread apply all bt

This is what i have with GDB

(gdb) thread apply all bt

Thread 1 (Thread 0x7f8b18e7c700 (LWP 4196)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8b207eb6e6 in virCondWait (c=c@entry=0x55d3353c7c68,
m=m@entry=0x55d3353c7ba0) at util/virthread.c:154
#2  0x00007f8b207ec1f4 in virThreadPoolWorker
(opaque=opaque@entry=0x55d3353d3a40) at util/virthreadpool.c:124
#3  0x00007f8b207eb488 in virThreadHelper (data=<optimized out>) at
util/virthread.c:206
#4  0x00007f8b1f89c494 in start_thread (arg=0x7f8b18e7c700) at
pthread_create.c:333
#5  0x00007f8b1f5deacf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Just one thread, waiting.

Thanks.

-- 
Mathieu Tarral

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to