[libvirt] libvirt 3.5.0 locks

Martin Kletzander mkletzan at redhat.com
Fri Aug 25 06:43:23 UTC 2017


On Thu, Aug 24, 2017 at 02:31:05PM +0300, Vasiliy Tolstov wrote:
>Another lock with libvirt 3.5.0
>
>root at cn12:~# gdb -batch -p $(pgrep libvirtd) -ex 't a a bt'
>
>warning: Unable to find libthread_db matching inferior's thread
>library, thread debugging will not be available.
>0x00007f95b5d4bd3d in internal_fallocate (fd=-1177453080,
>offset=4294967295, len=121) at ../sysdeps/posix/posix_fallocate.c:88
>88      ../sysdeps/posix/posix_fallocate.c: No such file or directory.
>

I think you have some problem with your gdb/libthread or something.  It
showed only one thread.

>Thread 1 (process 16629):
>#0  0x00007f95b5d4bd3d in internal_fallocate (fd=-1177453080,
>offset=4294967295, len=121) at ../sysdeps/posix/posix_fallocate.c:88
>#1  0x00007f95bc0e4530 in ?? ()
>#2  0x00007f95bc0e4c40 in ?? ()
>#3  0x00007f95bc0e4bd0 in ?? ()
>#4  0x00007f95bc0e4b60 in ?? ()
>#5  0x00007f95bc0e44e0 in ?? ()
>#6  0x0000000000000000 in ?? ()
>root at cn12:~#
>

This is not helpful at all.  What do you think I can gather from this?
Please, install debugging symbols or run libvirt built with debugging
info directly from git.

>2017-07-26 15:15 GMT+03:00 Vasiliy Tolstov <v.tolstov at selfip.ru>:

Everything above was pointless until here:

>> Thread 6 (Thread 0x7fe2cdfd5700 (LWP 18670)):
>> #0  0x00007fe2d491604f in pthread_cond_wait@@GLIBC_2.3.2 () from
>> /lib/x86_64-linux-gnu/libpthread.so.0
>> #1  0x00007fe2d81a6bc6 in virCondWait () from /usr/lib/libvirt.so.0

We are waiting...

>> #2  0x00007fe2b5973d5b in qemuMonitorSend () from

for a reply from qemu monitor...

>> /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so
>> #3  0x00007fe2b5987ab5 in ?? () from
>> /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so
>> #4  0x00007fe2b5989ff1 in qemuMonitorJSONGetMemoryStats () from

after asked about memory statistics...

>> /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so
>> #5  0x00007fe2b599adb7 in ?? () from
>> /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so
>> #6  0x00007fe2b599af7a in ?? () from
>> /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so
>> #7  0x00007fe2b599b54d in ?? () from
>> /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so
>> #8  0x00007fe2d826e0d5 in virConnectGetAllDomainStats () from

using virConnectGetAllDomainStats().

That's the absolute maximum I can gather from this one.

The rest was pointless as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170825/6f5efeea/attachment-0001.sig>


More information about the libvir-list mailing list