After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795281 - ximagesrc crashes when window resized
ximagesrc crashes when window resized
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2018-04-15 19:32 UTC by David Woodhouse
Modified: 2018-11-03 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description David Woodhouse 2018-04-15 19:32:40 UTC
XID=$(xwininfo -int | sed -n 's/xwininfo: Window id: \([0-9]\+\) .*/\1/p')
 gst-launch-1.0 ximagesrc xid=$XID   use-damage=0 ! video/x-raw,framerate=3/1 ! videoconvert  ! autovideosink

Now resize the window you chose. First make it larger, and observe that you're only getting the top left-hand corner of it. Then make it smaller and watch ximagesrc crash:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  130 (MIT-SHM)
  Minor opcode of failed request:  4 (X_ShmGetImage)
  Serial number of failed request:  65
  Current serial number in output stream:  65

It should really reconfigure the pipeline with new geometry as the window resizes.
Comment 1 Snir 2018-04-16 10:12:43 UTC
Related to #794761
Comment 2 GStreamer system administrator 2018-11-03 15:29:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: