[gst-devel] Segfault in CVS gst-register

Brett Kosinski brettk at frodo.dyn.gno.org
Tue May 27 12:19:06 CEST 2003


Here's the output from:

gst-register --gst-plugin-path=/usr/local/lib/gstreamer-0.7

INFO (27894: 0) Adding plugin path: "/usr/local/lib/gstreamer-0.7"
INFO (27894: 0) Initializing GStreamer Core Library version 0.7.0.1
INFO (27894: 0) CPU features: (0c040843) MMX trying to load global_registry
INFO (27894: 0) Registry isn't writable error loading global_registry
added path   /usr/local/packages/gstreamer/lib/gstreamer-0.7 to user_registry
rebuilding user_registry (/home/brettk/.gstreamer-0.7/registry.xml)
added plugin gstputbits with 0 feature(s)
added plugin gstgetbits with 0 feature(s)
added plugin gstbytestream with 0 feature(s)
added plugin gstindexers with 2 feature(s)
added plugin gsttypes with 2 feature(s)
added plugin gstoptwingoscheduler with 1 feature(s)
added plugin gstoptgthreadscheduler with 1 feature(s)
added plugin gstoptomegascheduler with 1 feature(s)
added plugin gstoptscheduler with 1 feature(s)
added plugin gstbasicwingoscheduler with 1 feature(s)
added plugin gstbasicgthreadscheduler with 1 feature(s)
added plugin gstbasicomegascheduler with 1 feature(s)
added plugin gstelements with 14 feature(s)
added plugin gstspider with 2 feature(s)
added plugin autoplugger with 1 feature(s)
added plugin autoplugcache with 1 feature(s)
added plugin gststaticautoplugrender with 1 feature(s)
added plugin gststaticautoplug with 1 feature(s)
added plugin vorbis with 3 feature(s)
added plugin sdlvideosink with 1 feature(s)
added plugin jpegmmxenc with 1 feature(s)
added plugin jpegmmxdec with 1 feature(s)
added plugin lame with 1 feature(s)
added plugin jpeg with 2 feature(s)
added plugin ffmpegdecall with 1 feature(s)
added plugin ffmpeg with 112 feature(s)
added plugin esdmon with 1 feature(s)
added plugin esdsink with 1 feature(s)
added plugin gstaf with 3 feature(s)
added plugin cdplayer with 1 feature(s)
added plugin xvideosink with 1 feature(s)
added plugin vcdsrc with 1 feature(s)
added plugin qcamsrc with 1 feature(s)
added plugin ossaudio with 3 feature(s)
added plugin monkey audio with 3 feature(s)
added plugin gstvideo with 0 feature(s)
added plugin gstriff with 0 feature(s)
added plugin gstresample with 0 feature(s)
added plugin gstidct with 0 feature(s)
added plugin gstaudio with 0 feature(s)
added plugin modplug with 5 feature(s)
added plugin lavenc with 1 feature(s)
added plugin wavparse with 2 feature(s)
added plugin wavenc with 1 feature(s)
added plugin vumeter with 1 feature(s)
added plugin volume with 1 feature(s)
added plugin volenv with 1 feature(s)
added plugin videotestsrc with 1 feature(s)
added plugin videoscale with 1 feature(s)
added plugin videocrop with 1 feature(s)
added plugin vbidec with 1 feature(s)
added plugin udp with 2 feature(s)
added plugin synaesthesia with 1 feature(s)
added plugin stereosplit with 1 feature(s)
added plugin mono2stereo with 1 feature(s)
added plugin stereo2mono with 1 feature(s)
added plugin stereo with 1 feature(s)
added plugin speed with 1 feature(s)
added plugin spectrum with 1 feature(s)
added plugin smpte with 1 feature(s)
added plugin smooth with 1 feature(s)
added plugin sinesrc with 1 feature(s)
added plugin silence with 1 feature(s)
added plugin rtjpeg with 2 feature(s)
added plugin rtp with 2 feature(s)
added plugin qtdemux with 2 feature(s)
added plugin playondemand with 1 feature(s)
added plugin passthrough with 1 feature(s)
added plugin oneton with 1 feature(s)
added plugin monoscope with 1 feature(s)
added plugin mpeg1types with 2 feature(s)
added plugin mpeg2types with 2 feature(s)
added plugin mpegstream with 3 feature(s)
added plugin mp3types with 2 feature(s)
added plugin mp3parse with 1 feature(s)
added plugin mpegaudio with 1 feature(s)
added plugin mpeg2subt with 1 feature(s)
added plugin mpeg2enc with 1 feature(s)
added plugin mp1videoparse with 1 feature(s)
added plugin system_encode with 1 feature(s)
added plugin mpeg1enc with 1 feature(s)
added plugin mixmatrix with 1 feature(s)
added plugin median with 1 feature(s)
added plugin level with 1 feature(s)
added plugin mulaw with 2 feature(s)
added plugin alaw with 2 feature(s)
added plugin intfloatconvert with 2 feature(s)
added plugin goom with 1 feature(s)
added plugin flxdec with 2 feature(s)
added plugin filter with 3 feature(s)
added plugin festival with 2 feature(s)
added plugin effectv with 8 feature(s)
added plugin deinterlace with 1 feature(s)
added plugin cutter with 1 feature(s)
added plugin chart with 1 feature(s)
added plugin cdxaparse with 2 feature(s)
added plugin gstaudioconvert with 1 feature(s)
added plugin asfdemux with 1 feature(s)
added plugin avidemux with 2 feature(s)
added plugin avimux with 1 feature(s)
added plugin auparse with 2 feature(s)
added plugin audioscale with 1 feature(s)
added plugin adder with 1 feature(s)
added plugin ac3parse with 1 feature(s)
added plugin gstputbits with 0 feature(s)
added plugin gstgetbits with 0 feature(s)
added plugin gstbytestream with 0 feature(s)
added plugin gstindexers with 2 feature(s)
added plugin gsttypes with 2 feature(s)
added plugin gstoptwingoscheduler with 1 feature(s)
added plugin gstoptgthreadscheduler with 1 feature(s)
added plugin gstoptomegascheduler with 1 feature(s)
added plugin gstoptscheduler with 1 feature(s)
added plugin gstbasicwingoscheduler with 1 feature(s)
added plugin gstbasicgthreadscheduler with 1 feature(s)
added plugin gstbasicomegascheduler with 1 feature(s)

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed
added plugin gstelements with 14 feature(s)

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 212 (gst_object_ref): assertion `GST_IS_OBJECT (object)' failed

(process:27904): GStreamer-CRITICAL **: file gstobject.c: line 257 (gst_object_sink): assertion `GST_IS_OBJECT (object)' failed
added plugin gstspider with 2 feature(s)
added plugin autoplugger with 1 feature(s)
added plugin autoplugcache with 1 feature(s)
added plugin gststaticautoplugrender with 1 feature(s)
added plugin gststaticautoplug with 1 feature(s)

(process:27904): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GstPadTemplate'
Segmentation fault

The output XML registry contains this (notice where it stops):

<?xml version="1.0"?>
<GST-PluginRegistry>
<gst-plugin-paths>
<path>/usr/local/packages/gstreamer/lib/gstreamer-0.7</path>
<path>/usr/local/lib/gstreamer-0.7</path>
</gst-plugin-paths>
<plugin>
<name>gstputbits</name>
<longname>Accelerated routines for putting bits into a data stream</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstputbits.so</filename>
</plugin>
<plugin>
<name>gstgetbits</name>
<longname>Accelerated routines for getting bits from a data stream</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstgetbits.so</filename>
</plugin>
<plugin>
<name>gstbytestream</name>
<longname>GstByteStream: a byte-oriented layer on top of buffer-passing</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstbytestream.so</filename>
</plugin>
<plugin>
<name>gstindexers</name>
<longname>A file index</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstindexers.so</filename>
<feature typename="GstIndexFactory">
<name>fileindex</name>
<longdesc>A index that stores entries in file</longdesc>
</feature>
<feature typename="GstIndexFactory">
<name>memindex</name>
<longdesc>A index that stores entries in memory</longdesc>
</feature>
</plugin>
<plugin>
<name>gsttypes</name>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgsttypes.so</filename>
<feature typename="GstTypeFactory">
<name>gsttypes_video/raw</name>
<mime>video/raw</mime>
<extensions>.raw</extensions>
</feature>
<feature typename="GstTypeFactory">
<name>gsttypes_audio/raw</name>
<mime>audio/raw</mime>
<extensions>.raw</extensions>
</feature>
</plugin>
<plugin>
<name>gstoptwingoscheduler</name>
<longname>An optimal scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstoptwingoscheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>optwingo</name>
<longdesc>An optimal scheduler using wingo cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstoptgthreadscheduler</name>
<longname>An optimal scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstoptgthreadscheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>optgthread</name>
<longdesc>An optimal scheduler using gthread cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstoptomegascheduler</name>
<longname>An optimal scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstoptomegascheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>optomega</name>
<longdesc>An optimal scheduler using omega cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstoptscheduler</name>
<longname>An optimal scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstoptscheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>opt</name>
<longdesc>An optimal scheduler using no cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstbasicwingoscheduler</name>
<longname>A basic scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstbasicwingoscheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>basicwingo</name>
<longdesc>A basic scheduler using wingo cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstbasicgthreadscheduler</name>
<longname>A basic scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstbasicgthreadscheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>basicgthread</name>
<longdesc>A basic scheduler using gthread cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstbasicomegascheduler</name>
<longname>A basic scheduler</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstbasicomegascheduler.so</filename>
<feature typename="GstSchedulerFactory">
<name>basicomega</name>
<longdesc>A basic scheduler using omega cothreads</longdesc>
</feature>
</plugin>
<plugin>
<name>gstelements</name>
<longname>Standard GST Elements</longname>
<filename>/usr/local/packages/gstreamer/lib/gstreamer-0.7/libgstelements.so</filename>
<fe

---

As you can see, it appears to be a problem with the gstelements plugin,
although I can't for the life of me, figure out what it is.  Thoughts?  I
had this problem with 0.6.1 as well, but disabling the fakesink (I think)
feature fixed the problem.

Note, this is with a CVS version of gstreamer and gst-plugins (checked out
a couple nights ago).

Brett.





More information about the gstreamer-devel mailing list