#927900 qemu-system-x86_64 crashes when using GStreamer

Package:
qemu-system-x86
Source:
qemu
Description:
QEMU full system emulation binaries (x86)
Submitter:
Francois Gouget
Date:
2025-08-12 12:07:01 UTC
Severity:
normal
#927900#5
Date:
2019-04-24 19:54:27 UTC
From:
To:
Dear Maintainer,

To reproduce:
* Create a VM using Spice.
* Tell QEmu to stream all videos by using virsh to add the streaming
  mode setting like so:
    <graphics type='spice' autoport='yes'>
      <listen type='address'/>
      <streaming mode='all'/>
    </graphics>
* Start the VM and play a video in the guest. For instance:
  mplayer big_buck_bunny_1080p_h264.mov

As soon as QEmu switches the video to streaming mode it will crash. In
the log the last lines are:

(qemu-system-x86_64:6140): GStreamer-WARNING **: 16:13:21.872: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
2019-04-24 14:13:22.569+0000: shutting down, reason=crashed


Notes:
* This happens with and without apparmor installed so this is not an
  issue caused by apparmor preventing GStreamer from finding the files
  it needs.
* I can use video streaming just fine in Xspice so the bug is most
  likely not in the libspice-server libraries.

#927900#10
Date:
2019-05-03 20:34:56 UTC
From:
To:
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

#927900#15
Date:
2025-08-12 12:06:16 UTC
From:
To:
Version: 1:7.2+dfsg-1

This is a bug report about a very old version of qemu, on a very
old version of debian.

Subsequent message in this bug report indicates that another user
is unable to reproduce this issue.

Let's close this bug report now, with a version of qemu from bookworm
(arbitrary) - feel free to reopen it if you think the issue is still
present.

Thanks,

/mjt