Attaching a full 'thread apply all bt' backtrace of all the Qemu threads in the hang/freeze situation, just in case.

--
] ccr/TNSP ^ pWp  ::  c...@tnsp.org  ::  https://tnsp.org/~ccr/
] https://tnsp.org/hg/ -- https://www.openhub.net/accounts/ccr
] PGP key: 7BED 62DE 898D D1A4 FC4A  F392 B705 E735 307B AAE3
Thread 11 (Thread 0x7f94b65ff700 (LWP 232454)):
#0  0x00007f94d6e49d1f in __GI___poll (fds=0x7f91980031e0, nfds=2, 
timeout=2147483647) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f94d7d3210e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94d7d32473 in g_main_loop_run () at 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94d75a39e7 in  () at /usr/lib/x86_64-linux-gnu/libspice-server.so.1
#4  0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#5  0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f94b6ffd700 (LWP 232453)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=2415) at 
./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=line@entry=2415) at 
./cpus.c:1899
#4  0x000055797162b357 in kvm_cpu_exec (cpu=cpu@entry=0x5579727078a0) at 
./accel/kvm/kvm-all.c:2415
#5  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x5579727078a0) at 
./cpus.c:1318
#6  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x5579727078a0) 
at ./cpus.c:1290
#7  0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#8  0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#9  0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f94b77fe700 (LWP 232452)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=3093) at ./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=line@entry=3093) at ./cpus.c:1899
#4  0x00005579715c5879 in prepare_mmio_access (mr=<optimized out>, 
mr=<optimized out>) at ./exec.c:3093
#5  0x00005579715cab07 in flatview_read_continue (fv=fv@entry=0x7f94ac7374f0, 
addr=addr@entry=4275044592, attrs=..., buf=buf@entry=0x7f94d4ddf028 
"\256}V\253", len=len@entry=4, addr1=<optimized out>, l=<optimized out>, 
mr=0x557972e12540) at ./exec.c:3189
#6  0x00005579715cad43 in flatview_read (fv=0x7f94ac7374f0, addr=4275044592, 
attrs=..., buf=0x7f94d4ddf028 "\256}V\253", len=4) at ./exec.c:3230
#7  0x00005579715cae5b in address_space_read_full (as=<optimized out>, 
addr=<optimized out>, attrs=..., buf=<optimized out>, len=<optimized out>) at 
./exec.c:3243
#8  0x00005579715caf65 in address_space_rw (as=<optimized out>, addr=<optimized 
out>, attrs=..., attrs@entry=..., buf=buf@entry=0x7f94d4ddf028 "\256}V\253", 
len=<optimized out>, is_write=<optimized out>) at ./exec.c:3271
#9  0x000055797162b478 in kvm_cpu_exec (cpu=cpu@entry=0x5579726dfe00) at 
./accel/kvm/kvm-all.c:2360
#10 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x5579726dfe00) at 
./cpus.c:1318
#11 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x5579726dfe00) 
at ./cpus.c:1290
#12 0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#13 0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#14 0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f94b7fff700 (LWP 232451)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=2415) at 
./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=line@entry=2415) at 
./cpus.c:1899
#4  0x000055797162b357 in kvm_cpu_exec (cpu=cpu@entry=0x5579726b8360) at 
./accel/kvm/kvm-all.c:2415
#5  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x5579726b8360) at 
./cpus.c:1318
#6  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x5579726b8360) 
at ./cpus.c:1290
#7  0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#8  0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#9  0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f94ccf99700 (LWP 232450)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=2415) at 
./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=line@entry=2415) at 
./cpus.c:1899
#4  0x000055797162b357 in kvm_cpu_exec (cpu=cpu@entry=0x5579726908c0) at 
./accel/kvm/kvm-all.c:2415
#5  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x5579726908c0) at 
./cpus.c:1318
#6  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x5579726908c0) 
at ./cpus.c:1290
#7  0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#8  0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#9  0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f94cd79a700 (LWP 232449)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=2415) at 
./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a86fb8 
"/build/qemu-Mzf7Xr/qemu-4.2/accel/kvm/kvm-all.c", line=line@entry=2415) at 
./cpus.c:1899
#4  0x000055797162b357 in kvm_cpu_exec (cpu=cpu@entry=0x5579726684e0) at 
./accel/kvm/kvm-all.c:2415
#5  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x5579726684e0) at 
./cpus.c:1318
#6  0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x5579726684e0) 
at ./cpus.c:1290
#7  0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#8  0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#9  0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f94cdf9b700 (LWP 232448)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=3093) at ./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=line@entry=3093) at ./cpus.c:1899
#4  0x00005579715c5879 in prepare_mmio_access (mr=<optimized out>, 
mr=<optimized out>) at ./exec.c:3093
#5  0x00005579715cab07 in flatview_read_continue (fv=fv@entry=0x7f94ac7374f0, 
addr=addr@entry=4228579364, attrs=..., buf=buf@entry=0x7f94d4deb028 "\001", 
len=len@entry=4, addr1=<optimized out>, l=<optimized out>, mr=0x5579734342f0) 
at ./exec.c:3189
#6  0x00005579715cad43 in flatview_read (fv=0x7f94ac7374f0, addr=4228579364, 
attrs=..., buf=0x7f94d4deb028 "\001", len=4) at ./exec.c:3230
#7  0x00005579715cae5b in address_space_read_full (as=<optimized out>, 
addr=<optimized out>, attrs=..., buf=<optimized out>, len=<optimized out>) at 
./exec.c:3243
#8  0x00005579715caf65 in address_space_rw (as=<optimized out>, addr=<optimized 
out>, attrs=..., attrs@entry=..., buf=buf@entry=0x7f94d4deb028 "\001", 
len=<optimized out>, is_write=<optimized out>) at ./exec.c:3271
#9  0x000055797162b478 in kvm_cpu_exec (cpu=cpu@entry=0x557972640cc0) at 
./accel/kvm/kvm-all.c:2360
#10 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x557972640cc0) at 
./cpus.c:1318
#11 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x557972640cc0) 
at ./cpus.c:1290
#12 0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#13 0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#14 0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f94ce79c700 (LWP 232447)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=3093) at ./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=line@entry=3093) at ./cpus.c:1899
#4  0x00005579715c5879 in prepare_mmio_access (mr=<optimized out>, 
mr=<optimized out>) at ./exec.c:3093
#5  0x00005579715cab07 in flatview_read_continue (fv=fv@entry=0x7f94ac7374f0, 
addr=addr@entry=4275044592, attrs=..., buf=buf@entry=0x7f94d4dee028 "nvV\253", 
len=len@entry=4, addr1=<optimized out>, l=<optimized out>, mr=0x557972e12540) 
at ./exec.c:3189
#6  0x00005579715cad43 in flatview_read (fv=0x7f94ac7374f0, addr=4275044592, 
attrs=..., buf=0x7f94d4dee028 "nvV\253", len=4) at ./exec.c:3230
#7  0x00005579715cae5b in address_space_read_full (as=<optimized out>, 
addr=<optimized out>, attrs=..., buf=<optimized out>, len=<optimized out>) at 
./exec.c:3243
#8  0x00005579715caf65 in address_space_rw (as=<optimized out>, addr=<optimized 
out>, attrs=..., attrs@entry=..., buf=buf@entry=0x7f94d4dee028 "nvV\253", 
len=<optimized out>, is_write=<optimized out>) at ./exec.c:3271
#9  0x000055797162b478 in kvm_cpu_exec (cpu=cpu@entry=0x557972618700) at 
./accel/kvm/kvm-all.c:2360
#10 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x557972618700) at 
./cpus.c:1318
#11 0x000055797160d63e in qemu_kvm_cpu_thread_fn 
(arg=arg@entry=0x557972618700) at ./cpus.c:1290
#12 0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#13 0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#14 0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f94cef9d700 (LWP 232446)):
#0  0x00007f94d6f2e01c in __lll_lock_wait () at 
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
#1  0x00007f94d6f27764 in __GI___pthread_mutex_lock 
(mutex=mutex@entry=0x557971faf380 <qemu_global_mutex>) at 
../nptl/pthread_mutex_lock.c:80
#2  0x0000557971a5d073 in qemu_mutex_lock_impl (mutex=0x557971faf380 
<qemu_global_mutex>, file=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=3093) at ./util/qemu-thread-posix.c:78
#3  0x000055797160d3ee in qemu_mutex_lock_iothread_impl 
(file=file@entry=0x557971a7a008 "/build/qemu-Mzf7Xr/qemu-4.2/exec.c", 
line=line@entry=3093) at ./cpus.c:1899
#4  0x00005579715c5879 in prepare_mmio_access (mr=<optimized out>, 
mr=<optimized out>) at ./exec.c:3093
#5  0x00005579715cab07 in flatview_read_continue (fv=fv@entry=0x7f94ac7374f0, 
addr=addr@entry=4275044592, attrs=..., buf=buf@entry=0x7f94d4df1028 
"\223\206V\253", len=len@entry=4, addr1=<optimized out>, l=<optimized out>, 
mr=0x557972e12540) at ./exec.c:3189
#6  0x00005579715cad43 in flatview_read (fv=0x7f94ac7374f0, addr=4275044592, 
attrs=..., buf=0x7f94d4df1028 "\223\206V\253", len=4) at ./exec.c:3230
#7  0x00005579715cae5b in address_space_read_full (as=<optimized out>, 
addr=<optimized out>, attrs=..., buf=<optimized out>, len=<optimized out>) at 
./exec.c:3243
#8  0x00005579715caf65 in address_space_rw (as=<optimized out>, addr=<optimized 
out>, attrs=..., attrs@entry=..., buf=buf@entry=0x7f94d4df1028 "\223\206V\253", 
len=<optimized out>, is_write=<optimized out>) at ./exec.c:3271
#9  0x000055797162b478 in kvm_cpu_exec (cpu=cpu@entry=0x5579725c6a50) at 
./accel/kvm/kvm-all.c:2360
#10 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=0x5579725c6a50) at 
./cpus.c:1318
#11 0x000055797160d63e in qemu_kvm_cpu_thread_fn (arg=arg@entry=0x5579725c6a50) 
at ./cpus.c:1290
#12 0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#13 0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#14 0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f94d55f4700 (LWP 232443)):
#0  0x00007f94d6e4f0b9 in syscall () at 
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x0000557971a5dc2a in qemu_futex_wait (val=<optimized out>, f=<optimized 
out>) at ./include/qemu/futex.h:29
#2  0x0000557971a5dc2a in qemu_event_wait (ev=ev@entry=0x557971ffa728 
<rcu_call_ready_event>) at ./util/qemu-thread-posix.c:459
#3  0x0000557971a6f9ea in call_rcu_thread (opaque=opaque@entry=0x0) at 
./util/rcu.c:260
#4  0x0000557971a5ce7b in qemu_thread_start (args=<optimized out>) at 
./util/qemu-thread-posix.c:519
#5  0x00007f94d6f24fb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:486
#6  0x00007f94d6e542df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f94d55f5e80 (LWP 232442)):
#0  0x000055797176486c in conv_natural_int16_t (v=<optimized out>) at 
./audio/mixeng_template.h:110
#1  0x000055797176486c in conv_natural_int16_t_to_stereo (dst=<optimized out>, 
src=<optimized out>, samples=<optimized out>) at ./audio/mixeng_template.h:110
#2  0x00005579717614b9 in audio_pcm_hw_run_in (samples=18446744063481518586, 
hw=0x557973444e90) at ./audio/audio.c:1249
#3  0x00005579717614b9 in audio_run_in (s=0x55797343f5a0) at 
./audio/audio.c:1280
#4  0x00005579717614b9 in audio_run (s=0x55797343f5a0, 
msg=msg@entry=0x557971aca098 "alsa run (running)") at ./audio/audio.c:1355
#5  0x0000557971766988 in alsa_poll_handler (opaque=0x557973444f30) at 
./audio/alsaaudio.c:203
#6  0x0000557971a59ed7 in aio_dispatch_handlers (ctx=ctx@entry=0x5579724340c0) 
at ./util/aio-posix.c:429
#7  0x0000557971a5a8a8 in aio_dispatch (ctx=0x5579724340c0) at 
./util/aio-posix.c:460
#8  0x0000557971a5717e in aio_ctx_dispatch (source=<optimized out>, 
callback=<optimized out>, user_data=<optimized out>) at ./util/async.c:260
#9  0x00007f94d7d31f1d in g_main_context_dispatch () at 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x0000557971a59948 in glib_pollfds_poll () at ./util/main-loop.c:219
#11 0x0000557971a59948 in os_host_main_loop_wait (timeout=<optimized out>) at 
./util/main-loop.c:242
#12 0x0000557971a59948 in main_loop_wait (nonblocking=<optimized out>) at 
./util/main-loop.c:518
#13 0x000055797175ae0e in main_loop () at ./vl.c:1810
#14 0x00005579715c10c9 in main (argc=<optimized out>, argv=<optimized out>, 
envp=<optimized out>) at ./vl.c:4466

Reply via email to