First I made sure this really reproduces on libvirt 5.0 on x86 (we only had that combination on s390x before).
It did after a while (26 iterations this time). With that I installed the fix from the PPA and ran the loop again. Unfortunately with the fixes applied it still hit the issue (7th try). So this (alone) isn't the fix :-/ The stacks still look more or less the same (this is on libvirt 5.0 + the 9 patch series around d63c82df8b11b583dec8e72dfb216d8c14783876. (gdb) info threads Id Target Id Frame * 1 Thread 0x7f394aea5b40 (LWP 11330) "libvirtd" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103 2 Thread 0x7f394a9ea700 (LWP 11331) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc7534) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 3 Thread 0x7f394a1e9700 (LWP 11332) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc7530) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 4 Thread 0x7f39499e8700 (LWP 11333) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc7530) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 5 Thread 0x7f39491e7700 (LWP 11334) "libvirtd" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103 6 Thread 0x7f3943fff700 (LWP 11335) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc7530) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 7 Thread 0x7f39489e6700 (LWP 11336) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc75d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 8 Thread 0x7f39437fe700 (LWP 11337) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc75d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 9 Thread 0x7f3942ffd700 (LWP 11338) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc75d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 10 Thread 0x7f39427fc700 (LWP 11339) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc75d4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 11 Thread 0x7f3941ffb700 (LWP 11340) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bc75d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 12 Thread 0x7f3912627700 (LWP 11341) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bfc440) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 13 Thread 0x7f3911e26700 (LWP 11342) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bfc440) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 14 Thread 0x7f3911625700 (LWP 11343) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bfc440) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 15 Thread 0x7f3903fff700 (LWP 11344) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bfc440) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 16 Thread 0x7f3910e24700 (LWP 11345) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x556951bfc440) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 17 Thread 0x7f390b7fe700 (LWP 11384) "libvirtd" futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f38ec008c68) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 (gdb) bt #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103 #1 0x00007f394e92b945 in __GI___pthread_mutex_lock (mutex=0x7f391c004070) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007f394eaa2095 in virMutexLock (m=<optimized out>) at ../../../src/util/virthread.c:89 #3 0x00007f394eb33fbc in virChrdevFDStreamCloseCb (st=<optimized out>, opaque=0x7f393c003ae0) at ../../../src/conf/virchrdev.c:252 #4 0x00007f394ea42165 in virFDStreamCloseInt (st=0x7f393c0238e0, streamAbort=<optimized out>) at ../../../src/util/virfdstream.c:734 #5 0x00007f394ec6eec9 in virStreamAbort (stream=0x7f393c0238e0) at ../../../src/libvirt-stream.c:1244 #6 0x000055695037e3aa in daemonStreamHandleAbort (client=client@entry=0x556951c2f9d0, stream=stream@entry=0x7f393c023530, msg=msg@entry=0x556951c9ae70) at ../../../src/remote/remote_daemon_stream.c:636 #7 0x000055695037eee3 in daemonStreamHandleWrite (stream=0x7f393c023530, client=0x556951c2f9d0) at ../../../src/remote/remote_daemon_stream.c:749 #8 daemonStreamEvent (st=<optimized out>, events=14, opaque=0x556951c2f9d0) at ../../../src/remote/remote_daemon_stream.c:142 #9 0x00007f394ea4257f in virFDStreamEvent (watch=watch@entry=57, fd=<optimized out>, events=events@entry=14, opaque=opaque@entry=0x7f393c0238e0) at ../../../src/util/virfdstream.c:324 #10 0x00007f394ea41c7b in virEventPollDispatchHandles (fds=<optimized out>, nfds=<optimized out>) at ../../../src/util/vireventpoll.c:503 #11 virEventPollRunOnce () at ../../../src/util/vireventpoll.c:658 #12 0x00007f394ea402b1 in virEventRunDefaultImpl () at ../../../src/util/virevent.c:322 #13 0x00007f394eb74175 in virNetDaemonRun (dmn=0x556951bc7070) at ../../../src/rpc/virnetdaemon.c:847 #14 0x000055695034fe3a in main (argc=<optimized out>, argv=<optimized out>) at ../../../src/remote/remote_daemon.c:1454 (gdb) frame 5 #5 0x00007f394ec6eec9 in virStreamAbort (stream=0x7f393c0238e0) at ../../../src/libvirt-stream.c:1244 1244 ../../../src/libvirt-stream.c: No such file or directory. (gdb) bt #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103 #1 0x00007f394e92b945 in __GI___pthread_mutex_lock (mutex=0x7f391c004070) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007f394eaa2095 in virMutexLock (m=<optimized out>) at ../../../src/util/virthread.c:89 #3 0x00007f394eb33fbc in virChrdevFDStreamCloseCb (st=<optimized out>, opaque=0x7f393c003ae0) at ../../../src/conf/virchrdev.c:252 #4 0x00007f394ea42165 in virFDStreamCloseInt (st=0x7f393c0238e0, streamAbort=<optimized out>) at ../../../src/util/virfdstream.c:734 #5 0x00007f394ec6eec9 in virStreamAbort (stream=0x7f393c0238e0) at ../../../src/libvirt-stream.c:1244 #6 0x000055695037e3aa in daemonStreamHandleAbort (client=client@entry=0x556951c2f9d0, stream=stream@entry=0x7f393c023530, msg=msg@entry=0x556951c9ae70) at ../../../src/remote/remote_daemon_stream.c:636 #7 0x000055695037eee3 in daemonStreamHandleWrite (stream=0x7f393c023530, client=0x556951c2f9d0) at ../../../src/remote/remote_daemon_stream.c:749 #8 daemonStreamEvent (st=<optimized out>, events=14, opaque=0x556951c2f9d0) at ../../../src/remote/remote_daemon_stream.c:142 #9 0x00007f394ea4257f in virFDStreamEvent (watch=watch@entry=57, fd=<optimized out>, events=events@entry=14, opaque=opaque@entry=0x7f393c0238e0) at ../../../src/util/virfdstream.c:324 #10 0x00007f394ea41c7b in virEventPollDispatchHandles (fds=<optimized out>, nfds=<optimized out>) at ../../../src/util/vireventpoll.c:503 #11 virEventPollRunOnce () at ../../../src/util/vireventpoll.c:658 #12 0x00007f394ea402b1 in virEventRunDefaultImpl () at ../../../src/util/virevent.c:322 #13 0x00007f394eb74175 in virNetDaemonRun (dmn=0x556951bc7070) at ../../../src/rpc/virnetdaemon.c:847 #14 0x000055695034fe3a in main (argc=<optimized out>, argv=<optimized out>) at ../../../src/remote/remote_daemon.c:1454 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1822096 Title: libvirt hangs after utah workload is aborted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1822096/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
