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 575349 - gst crashes with: GStreamer-CRITICAL **: gst_caps_is_fixed: assertion `GST_IS_CAPS (caps)' failed
gst crashes with: GStreamer-CRITICAL **: gst_caps_is_fixed: assertion `GST_IS...
Status: RESOLVED DUPLICATE of bug 583999
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.21
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 590252 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-03-14 12:15 UTC by Balachandran. C
Modified: 2009-10-05 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug log. (222.52 KB, application/x-bzip)
2009-03-14 12:18 UTC, Balachandran. C
Details
Backtrace from coredump. (3.94 KB, text/plain)
2009-03-14 12:21 UTC, Balachandran. C
Details
Dot file showing the pipeline. (22.43 KB, text/vnd.graphviz)
2009-03-16 11:53 UTC, Balachandran. C
Details
Debug Log with: GST_DEBUG=*CAPS*:5,*SCHED*:5 (380.45 KB, application/x-bzip)
2009-03-17 11:12 UTC, Balachandran. C
Details
Debug Log with: GST_DEBUG=5 (982.43 KB, application/x-bzip)
2009-03-18 11:10 UTC, Balachandran. C
Details
thread apply all bt full (42.16 KB, application/octet-stream)
2009-03-18 11:11 UTC, Balachandran. C
Details
gdb thread apply all of same or similar crash in totem (16.80 KB, text/plain)
2009-07-22 15:19 UTC, Tim-Philipp Müller
Details

Description Balachandran. C 2009-03-14 12:15:56 UTC
In a pipeline:

srcBin1 !                 ! sinkBin1
srcBin2 ! liveadder ! tee ! sinkBin2
srcBin3 !                 ! sinkBin3

Three srcBins connected to one liveadder (gstreamer0.10-plugins-farsight 0.12.9-2ubuntu1). Adder is connected to tee, which is connected to 3 sinkBins.

srcBin1: filesrc ! mad ! audioconvert ! capsfilter
srcBin2: filesrc ! mad ! audioconvert ! capsfilter
srcBin3: alsasrc ! audioconvert ! capsfilter.

sinkBin1: queue2 ! capsfilter ! audioconvert ! filesink
sinkBin2: queue2 ! capsfilter ! audioconvert ! alsasink
sinkBin3: queue2 ! capsfilter ! audioconvert ! alsasink

Gstreamer crashes with: GStreamer-CRITICAL **: gst_caps_is_fixed: assertion `GST_IS_CAPS (caps)' failed.

Installed packages:

bluez-gstreamer 4.12-0ubuntu5
gstreamer0.10-alsa 0.10.21-3
gstreamer0.10-doc 0.10.21-4
gstreamer0.10-ffmpeg 0.10.5-1
gstreamer0.10-gnomevfs 0.10.21-3
gstreamer0.10-plugins-bad 0.10.8-1
gstreamer0.10-plugins-bad-doc 0.10.8-1
gstreamer0.10-plugins-base 0.10.21-3ubuntu1
gstreamer0.10-plugins-base-apps 0.10.21-3
gstreamer0.10-plugins-base-doc 0.10.21-3
gstreamer0.10-plugins-farsight 0.12.9-2ubuntu1
gstreamer0.10-plugins-good 0.10.10.4-1ubuntu1
gstreamer0.10-plugins-good-doc 0.10.10.4-1ubuntu1
gstreamer0.10-plugins-ugly 0.10.9-1ubuntu0.1
gstreamer0.10-plugins-ugly-doc 0.10.9-1ubuntu0.1
gstreamer0.10-plugins-ugly-multiverse 0.10.7-2
gstreamer0.10-pulseaudio 0.10.10.4-1ubuntu1
gstreamer0.10-schroedinger 1.0.5-1
gstreamer0.10-tools 0.10.21-4
gstreamer0.10-x 0.10.21-3
libgstreamer-plugins-base0.10-0 0.10.21-3ubuntu1
libgstreamer-plugins-base0.10-dev 0.10.21-3
libgstreamer0.10-0 0.10.21-4
libgstreamer0.10-0-dbg 0.10.21-4
libgstreamer0.10-dev 0.10.21-4
totem-gstreamer 2.24.3-0ubuntu1
Comment 1 Balachandran. C 2009-03-14 12:18:37 UTC
Created attachment 130651 [details]
Debug log. 

Debug log obtained with export GST_DEBUG=3,GST_REFCOUNTING:5.
Comment 2 Balachandran. C 2009-03-14 12:21:34 UTC
Created attachment 130652 [details]
Backtrace from coredump.

bt full from the core file.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-03-15 21:50:45 UTC
Could you make a picture of the pipeline using GST_DEBUG_BIN_TO_DOT_FILE(bin, details, file_name) (check the api docs)?
Comment 4 Tim-Philipp Müller 2009-03-15 22:37:01 UTC
This looks like a refcounting problem somewhere.

Have you tried to simplify the pipeline a bit?

Could you provide the stack traces for *all* threads involved please? (thread apply all bt)

Have you tried with newer versions of everything - your versions are a bit out of date - current is core/base 0.10.22, -good 0.10.14, -bad 0.10.10 (0.10.11 coming up next week).
Comment 5 Wim Taymans 2009-03-16 10:39:14 UTC
You should probably just put 1 capfilter in that pipeline, like right after the liveadder element and make all upstream elements convert to this format. The way it works now is that the upstream bins could race for a format and fail (unless the capsfilters before liveadder all have the same caps, but even then it's not optimal)
Comment 6 Balachandran. C 2009-03-16 11:19:20 UTC
I am still getting crashes after upgrading to the following versions:

gstreamer0.10-alsa 0.10.22-3~intrepid2
gstreamer0.10-plugins-bad 0.10.10.2-1~intrepid1
gstreamer0.10-plugins-base 0.10.22-3~intrepid2
gstreamer0.10-plugins-base-apps 0.10.22-3~intrepid2
gstreamer0.10-plugins-farsight 0.12.9-2ubuntu1
gstreamer0.10-plugins-good 0.10.14-2~intrepid1
gstreamer0.10-plugins-ugly 0.10.10.2-2~intrepid3
gstreamer0.10-plugins-ugly-multiverse 0.10.7-2
libgstreamer-plugins-base0.10-0 0.10.22-3~intrepid2
libgstreamer0.10-0 0.10.22-2~intrepid2
libgstreamer0.10-0-dbg 0.10.22-2~intrepid2
libgstreamer0.10-dev 0.10.22-2~intrepid2

I will try to collect more info.
Comment 7 Balachandran. C 2009-03-16 11:53:49 UTC
Created attachment 130738 [details]
Dot file showing the pipeline.
Comment 8 Wim Taymans 2009-03-16 12:54:12 UTC
Hard to track down but let's try with a debug log by running the app like this:

 GST_DEBUG=*CAPS*:5,*SCHED*:5 <appname> >debug.log 2>&1

then compress and attach the resulting debug.log file here.
Comment 9 Balachandran. C 2009-03-17 11:12:48 UTC
Created attachment 130815 [details]
Debug Log with: GST_DEBUG=*CAPS*:5,*SCHED*:5
Comment 10 Balachandran. C 2009-03-18 11:10:35 UTC
Created attachment 130875 [details]
Debug Log with: GST_DEBUG=5
Comment 11 Balachandran. C 2009-03-18 11:11:31 UTC
Created attachment 130876 [details]
thread apply all bt full
Comment 12 Tim-Philipp Müller 2009-07-22 15:19:01 UTC
Created attachment 139000 [details]
gdb thread apply all of same or similar crash in totem

I think I ran into this issue in totem as well. Takes a bit of effort to reproduce, but is reproducable. (FWIW, I've got a core dump at hand if you want me to poke into anything.)
Comment 13 Tim-Philipp Müller 2009-07-30 16:11:59 UTC
*** Bug 590252 has been marked as a duplicate of this bug. ***
Comment 14 Bastien Nocera 2009-10-05 17:16:50 UTC
A Fedora user ran into it as well:
https://bugzilla.redhat.com/show_bug.cgi?id=527130
Comment 15 Bastien Nocera 2009-10-05 17:17:42 UTC
Note that the RH bug has the same trace as bug 590252 which was marked as a dupe.
Comment 16 Tim-Philipp Müller 2009-10-05 17:52:57 UTC

*** This bug has been marked as a duplicate of bug 583999 ***