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 313424 - Adding/removing from pipeline
Adding/removing from pipeline
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-13 22:16 UTC by Michael Dominic K.
Modified: 2006-02-08 01:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A test case program. Requires a .dv file to test. (1.61 KB, text/plain)
2005-08-13 22:17 UTC, Michael Dominic K.
Details

Description Michael Dominic K. 2005-08-13 22:16:25 UTC
Version details: 13.09.2005 CVS
Distribution/Version: archlinux

1. Create a pipeline that's supposed to play some video 
   (ie. filesrc ! dvdec .video ! fakesink)
2. Set the pipeline to PAUSED
3. Set the pipeline to READY
4. Remove elements from the pipeline and destroy the pipeline
5. Add the elements back to a new pipeline 
   (ie. filesrc ! dvdec. video ! xvimagesink)
6. Set the new pipeline to PAUSED

Fails with: (in case of xvimagesink)
ERROR (0x80c6620 - 0:00:00.106941000)     xvimagesink(29763)
xvimagesink.c(366):gst_xvimagesink_xvimage_new:<xvimagesink1> could not get
shared memory of 0 bytes
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  149 (MIT-SHM)
  Minor opcode of failed request:  2 (X_ShmDetach)
  Segment id in failed request:  0x0
  Serial number of failed request:  22
  Current serial number in output stream:  23

This is valid at least for (dvdec) and (avidemux ! jpegdec) constructions. With
simplier elements (videotestsrc, sinesrc) all works like expected. I'm attaching
a simple test case that triggers the error (C).

For the purpose of the example it's very simple. I bumped on that while trying
to do more complicated things (decodebin based bins added/removed from pipelines)
Comment 1 Michael Dominic K. 2005-08-13 22:17:24 UTC
Created attachment 50662 [details]
A test case program. Requires a .dv file to test.
Comment 2 Jan Schmidt 2006-02-08 00:29:28 UTC
The testcase code is obsolete. Michael, is the bug itself still valid?
Comment 3 Michael Dominic K. 2006-02-08 01:06:45 UTC
Nope. I'm not sure what I needed that for anyways.