Hello François, I just tried to reproduce this crash, without being involved in packaging qemu. But could not get my VM to crash - it shows just the video, either with spicy or the virt-manager integrated viewer.
Therefore could you please add the exact VM config? (virsh dumpxml) This gstreamer warning is from /var/log/libvirt/qemu/VM.log ? Have you specified a special video out to mplayer? Or is there also a driver to be installed or guest tools? How could one see if "streaming" works? Or maybe you could record a backtrace on your system with something like this (replace <PID> with the pid of the right qemu instance): script -a gdb_qemu-system-x86_64_$(date +%Y-%m-%d_%H-%M-%S).log -c "gdb -q --pid <PID> -ex 'set width 0' -ex 'set pagination off' -ex 'cont' -ex 'bt' -ex 'detach' -ex 'quit'" Kind regards, Bernhard
# Buster amd64 qemu VM 2019-05-03 apt update apt dist-upgrade apt install systemd-coredump net-tools htop mc sshfs xserver-xorg lightdm openbox gdb virt-manager adduser benutzer libvirt adduser benutzer libvirt-qemu adduser benutzer kvm reboot modprobe fuse virt-host-validate - login - start virt-manager - new virtual machine - local installation media, https://cdimage.debian.org/cdimage/buster_di_rc1/amd64/iso-cd/debian-buster-DI-rc1-amd64-netinst.iso - debian-testing - default memory and cpu mkdir sshfs sshfs -o allow_other bernhard@192.168.178.25:/home/bernhard/data/emu/pc/qemu/machines/debian-10-buster-x86_64_minimal /home/benutzer/sshfs - disk existing from host - remove cdrom export LIBVIRT_DEFAULT_URI="qemu:///system" virsh list --all virsh edit debiantesting +<streaming mode='all'/> sed -i 's/#dynamic_ownership = 1/dynamic_ownership = 0/g' /etc/libvirt/qemu.conf ssh -p2222 -L "127.0.0.1:5900:127.0.0.1:5900" benutzer@$LOCALIP spicy -h localhost -p 5900 # /usr/bin/qemu-system-x86_64 -name guest=debiantesting,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-debiantesting/master-key.aes -machine pc-q35-3.1,accel=kvm,usb=off,vmport=off,dump-guest-core=off -cpu EPYC-IBPB,x2apic=on,tsc-deadline=on,hypervisor=on,tsc_adjust=on,cmp_legacy=on,perfctr_core=on,virt-ssbd=on,monitor=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid b84834f3-ea2b-40f4-b789-8c3bef8bb70c -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=26,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 -device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 -device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 -device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 -device pcie-root-port,port=0x14,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 -device pcie-root-port,port=0x15,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 -device pcie-root-port,port=0x16,chassis=7,id=pci.7,bus=pcie.0,addr=0x2.0x6 -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 -drive file=/home/benutzer/sshfs/system-rw.img,format=raw,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.4,addr=0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:35:98:c2,bus=pci.1,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,fd=30,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -chardev spicevmc,id=charchannel1,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -spice port=5900,addr=127.0.0.1,disable-ticketing,streaming-video=all,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x1 -device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device virtio-balloon-pci,id=balloon0,bus=pci.5,addr=0x0 -object rng-random,id=objrng0,filename=/dev/urandom -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.6,addr=0x0 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on inside guest-guest: apt install xserver-xorg lightdm openbox mplayer scp big_buck_bunny_1080p_h264.mov benutzer@192.168.122.34:/home/benutzer/ md5sum big_buck_bunny_1080p_h264.mov # c23ab2ff12023c684f46fcc02c57b585 big_buck_bunny_1080p_h264.mov # https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_h264.mov export DISPLAY=:0 mplayer big_buck_bunny_1080p_h264.mov ############ root@debian:~# virt-host-validate QEMU: Checking for hardware virtualization : PASS QEMU: Checking if device /dev/kvm exists : PASS QEMU: Checking if device /dev/kvm is accessible : PASS QEMU: Checking if device /dev/vhost-net exists : PASS QEMU: Checking if device /dev/net/tun exists : PASS QEMU: Checking for cgroup 'cpu' controller support : PASS QEMU: Checking for cgroup 'cpuacct' controller support : PASS QEMU: Checking for cgroup 'cpuset' controller support : PASS QEMU: Checking for cgroup 'memory' controller support : PASS QEMU: Checking for cgroup 'devices' controller support : PASS QEMU: Checking for cgroup 'blkio' controller support : PASS QEMU: Checking for device assignment IOMMU support : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform) LXC: Checking for Linux >= 2.6.26 : PASS LXC: Checking for namespace ipc : PASS LXC: Checking for namespace mnt : PASS LXC: Checking for namespace pid : PASS LXC: Checking for namespace uts : PASS LXC: Checking for namespace net : PASS LXC: Checking for namespace user : PASS LXC: Checking for cgroup 'cpu' controller support : PASS LXC: Checking for cgroup 'cpuacct' controller support : PASS LXC: Checking for cgroup 'cpuset' controller support : PASS LXC: Checking for cgroup 'memory' controller support : PASS LXC: Checking for cgroup 'devices' controller support : PASS LXC: Checking for cgroup 'freezer' controller support : PASS LXC: Checking for cgroup 'blkio' controller support : PASS LXC: Checking if device /sys/fs/fuse/connections exists : PASS ############ benutzer@debian:~$ mplayer big_buck_bunny_1080p_h264.mov Creating config file: /home/benutzer/.mplayer/config MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing big_buck_bunny_1080p_h264.mov. libavformat version 58.20.100 (external) Mismatching header version 58.12.100 libavformat file format detected. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd2d8109e00]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol [lavf] stream 0: video (h264), -vid 0 [lavf] stream 2: audio (aac), -aid 0, -alang eng VIDEO: [H264] 1920x1080 24bpp 24.000 fps 9282.6 kbps (1133.1 kbyte/s) Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [vdpau] Error when calling vdp_device_create_x11: 1 [VO_XV] It seems there is no Xvideo support for your video card available. [VO_XV] Run 'xvinfo' to verify its Xv support and read [VO_XV] DOCS/HTML/en/video.html#xv! [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers. [VO_XV] Try -vo x11. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 58.35.100 (external) Mismatching header version 58.18.100 Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Clip info: major_brand: qt minor_version: 537199360 compatible_brands: qt creation_time: 2008-05-27T18:40:35.000000Z com.apple.quicktime.player.movie.audio.gain: 1.000000 com.apple.quicktime.player.movie.audio.treble: 0.000000 com.apple.quicktime.player.movie.audio.bass: 0.000000 com.apple.quicktime.player.movie.audio.balance: 0.000000 com.apple.quicktime.player.movie.audio.pitchshift: 0.000000 com.apple.quicktime.player.movie.audio.mute: com.apple.quicktime.player.movie.visual.brightness: 0.000000 com.apple.quicktime.player.movie.visual.color: 1.000000 com.apple.quicktime.player.movie.visual.tint: 0.000000 com.apple.quicktime.player.movie.visual.contrast: 1.000000 com.apple.quicktime.player.version: 7.4.1 (14) com.apple.quicktime.version: 7.4.1 (14) 0x7418000 (Mac OS X, 10.5.2, 9C31) timecode: 00:00:00:00 Load subtitles in ./ ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, floatle, 437.6 kbit/4.75% (ratio: 54700->1152000) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== AO: [pulse] Init failed: Connection refused Failed to initialize audio driver 'pulse' AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... Movie-Aspect is undefined - no prescaling applied. VO: [x11] 1920x1080 => 1920x1080 Planar YV12 [swscaler @ 0x7fd2d81dd000]bicubic scaler, from yuv420p to bgra using MMXEXT [swscaler @ 0x7fd2d81dd000]using unscaled yuv420p -> bgra special converter A: 16.5 V: 16.5 A-V: 0.003 ct: 0.069 0/ 0 18% 71% 0.4% 65 0 No bind found for key 'MOUSE_BTN0-MOUSE_BTN0_DBL'. ############ root@debian:~# dpkg -l | grep -E "virt|qemu|gstreamer" ii gir1.2-libvirt-glib-1.0:amd64 1.0.0-1 amd64 GObject introspection files for the libvirt-glib library ii gstreamer1.0-libav:amd64 1.15.0.1+git20180723+db823502-2 amd64 libav plugin for GStreamer ii gstreamer1.0-plugins-base:amd64 1.14.4-1 amd64 GStreamer plugins from the "base" set ii gstreamer1.0-plugins-good:amd64 1.14.4-1 amd64 GStreamer plugins from the "good" set ii gstreamer1.0-plugins-ugly:amd64 1.14.4-1 amd64 GStreamer plugins from the "ugly" set ii gstreamer1.0-x:amd64 1.14.4-1 amd64 GStreamer plugins for X11 and Pango ii ipxe-qemu 1.0.0+git-20190125.36a4c85-1 all PXE boot firmware - ROM images for qemu ii libgovirt-common 0.3.4-3 all GObject-based library to access oVirt REST API (common files) ii libgovirt2:amd64 0.3.4-3 amd64 GObject-based library to access oVirt REST API ii libgstreamer-plugins-base1.0-0:amd64 1.14.4-1 amd64 GStreamer libraries from the "base" set ii libgstreamer1.0-0:amd64 1.14.4-1 amd64 Core GStreamer libraries and elements ii libvirglrenderer0:amd64 0.7.0-2 amd64 virtual GPU for KVM virtualization ii libvirt-clients 5.0.0-2 amd64 Programs for the libvirt library ii libvirt-daemon 5.0.0-2 amd64 Virtualization daemon ii libvirt-daemon-system 5.0.0-2 amd64 Libvirt daemon configuration files ii libvirt-glib-1.0-0:amd64 1.0.0-1 amd64 libvirt GLib and GObject mapping library ii libvirt0:amd64 5.0.0-2 amd64 library for interfacing with different virtualization systems ii ovmf 0~20181115.85588389-3 all UEFI firmware for 64-bit x86 virtual machines ii python3-libvirt 5.0.0-1 amd64 libvirt Python 3 bindings ii qemu-kvm 1:3.1+dfsg-7 amd64 QEMU Full virtualization on x86 hardware ii qemu-system-common 1:3.1+dfsg-7 amd64 QEMU full system emulation binaries (common files) ii qemu-system-data 1:3.1+dfsg-7 all QEMU full system emulation (data files) ii qemu-system-gui 1:3.1+dfsg-7 amd64 QEMU full system emulation binaries (user interface and audio support) ii qemu-system-x86 1:3.1+dfsg-7 amd64 QEMU full system emulation binaries (x86) ii qemu-utils 1:3.1+dfsg-7 amd64 QEMU utilities ii virt-manager 1:2.0.0-3 all desktop application for managing virtual machines ii virt-viewer 7.0-2 amd64 Displaying the graphical console of a virtual machine ii virtinst 1:2.0.0-3 all Programs to create and clone virtual machines ############ root@debian:~# cat /var/log/libvirt/qemu/debiantesting.log 2019-05-03 19:26:34.662+0000: starting up libvirt version: 5.0.0, package: 2 (Guido Günther <a...@sigxcpu.org> Sun, 07 Apr 2019 12:36:21 +0200), qemu version: 3.1.0Debian 1:3.1+dfsg-7, kernel: 4.19.0-4-amd64, hostname: debian LC_ALL=C \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ QEMU_AUDIO_DRV=spice \ /usr/bin/qemu-system-x86_64 \ -name guest=debiantesting,debug-threads=on \ -S \ -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-debiantesting/master-key.aes \ -machine pc-q35-3.1,accel=kvm,usb=off,vmport=off,dump-guest-core=off \ -cpu EPYC-IBPB,x2apic=on,tsc-deadline=on,hypervisor=on,tsc_adjust=on,cmp_legacy=on,perfctr_core=on,virt-ssbd=on,monitor=off \ -m 1024 \ -realtime mlock=off \ -smp 1,sockets=1,cores=1,threads=1 \ -uuid b84834f3-ea2b-40f4-b789-8c3bef8bb70c \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=26,server,nowait \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc,driftfix=slew \ -global kvm-pit.lost_tick_policy=delay \ -no-hpet \ -no-shutdown \ -global ICH9-LPC.disable_s3=1 \ -global ICH9-LPC.disable_s4=1 \ -boot strict=on \ -device pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 \ -device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 \ -device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \ -device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \ -device pcie-root-port,port=0x14,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 \ -device pcie-root-port,port=0x15,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 \ -device pcie-root-port,port=0x16,chassis=7,id=pci.7,bus=pcie.0,addr=0x2.0x6 \ -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 \ -drive file=/home/benutzer/sshfs/system-rw.img,format=raw,if=none,id=drive-virtio-disk0 \ -device virtio-blk-pci,scsi=off,bus=pci.4,addr=0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \ -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 \ -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:35:98:c2,bus=pci.1,addr=0x0 \ -chardev pty,id=charserial0 \ -device isa-serial,chardev=charserial0,id=serial0 \ -chardev socket,id=charchannel0,fd=30,server,nowait \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \ -chardev spicevmc,id=charchannel1,name=vdagent \ -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0 \ -device usb-tablet,id=input0,bus=usb.0,port=1 \ -spice port=5900,addr=127.0.0.1,disable-ticketing,streaming-video=all,seamless-migration=on \ -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x1 \ -device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b \ -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \ -chardev spicevmc,id=charredir0,name=usbredir \ -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 \ -chardev spicevmc,id=charredir1,name=usbredir \ -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 \ -device virtio-balloon-pci,id=balloon0,bus=pci.5,addr=0x0 \ -object rng-random,id=objrng0,filename=/dev/urandom \ -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.6,addr=0x0 \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/2 (label charserial0) main_channel_link: add main channel client main_channel_client_handle_pong: net test: invalid values, latency 32278 roundtrip 32252. assuming highbandwidth inputs_connect: inputs channel client create red_qxl_set_cursor_peer: