GNOME Bugzilla – Bug 93889
gst-register critical
Last modified: 2009-08-15 18:40:50 UTC
saphir gstreamer # gst-feedback GStreamer feedback script. Please attach the output of this script to your bug reports. Bug reports should go into Gnome's bugzilla (http://bugzilla.gnome.org) + SYSTEM INFORMATION +++ uname -a Linux saphir 2.4.19-gentoo-r7 #1 Sat Sep 14 22:04:49 CEST 2002 i686 AuthenticAMD+++ cat /etc/issue cat: /etc/issue: No such file or directory + USER INFORMATION +++ id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) + PKG-CONFIG INFORMATION +++ pkg-config --version 0.12.0 +++ pkg-config gstreamer --modversion 0.4.1 +++ pkg-config gstreamer --cflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gstreamer-0.4.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 +++ pkg-config gstreamer --libs -L/usr/lib/gst -lgstreamer -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lpthread -lxml2 -lz -lm -lglib-2.0 +++ pkg-config gstreamer-libs --modversion Package 'GStreamer Media-Specific Libraries' requires 'gstreamer = 0.4.0' but version of GStreamer is 0.4.1 +++ pkg-config gstreamer-libs --cflags Package 'GStreamer Media-Specific Libraries' requires 'gstreamer = 0.4.0' but version of GStreamer is 0.4.1 +++ pkg-config gstreamer-libs --libs Package 'GStreamer Media-Specific Libraries' requires 'gstreamer = 0.4.0' but version of GStreamer is 0.4.1 + GSTREAMER INFORMATION +++ which gst-register /usr/bin/gst-register +++ gst-inspect INFO (22264: 0) Initializing GStreamer Core Library version 0.4.1 INFO (22264: 0) CPU features: (c1c7f9ff) MMX 3DNOW MMXEXT registry: loaded user_registry in 0.000222 seconds (/root/.gstreamer/registry.xml) registry: loaded global_registry in 0.105193 seconds (/etc/gstreamer/registry.xml) gst_core_plugins: typefind: TypeFind gst_core_plugins: queue: Queue gst_core_plugins: thread: Threaded container gst_core_plugins: pipeline: Pipeline object gst_core_plugins: bin: Generic bin adder: adder: Adder audioscale: audioscale: Audio scaler avidemux type: video/avi: .avi Has typefind function: 0x4006dea0 avidemux: avidemux: Avi demuxer cdxaparse type: video/avi: .dat Has typefind function: 0x4006dea0 cdxaparse: cdxaparse: .dat parser cutter: cutter: Cutter flxdec: flxdec: FLX Decoder flxdec type: video/fli: .flc .fli Has typefind function: 0x4006dea0 system_encode: system_encode: MPEG1 Multiplexer mpeg2enc: mpeg2enc: mpeg1 and mpeg2 video encoder mpegaudio: mpegaudio: mpegaudio mp3 encoder mpegstream: mpegparse: MPEG System Parser mpegstream: mpegdemux: MPEG Demuxer mpegstream: rfc2250enc: RFC 2250 packet encoder qtdemux type: video/quicktime: .mov Has typefind function: 0x4006dea0 qtdemux: qtdemux: quicktime parser sinesrc: sinesrc: Sine-wave src volume: volume: Volume dvdec: dvdec: DV (smpte314) decoder plugin dvdec type: video/dv: .dv Has typefind function: 0x4006dea0 ladspa: ladspa_amp_mono: Mono Amplifier ladspa: ladspa_amp_stereo: Stereo Amplifier ladspa: ladspa_delay_5s: Simple Delay Line ladspa: ladspa_lpf: Simple Low Pass Filter ladspa: ladspa_hpf: Simple High Pass Filter ladspa: ladspa_noise_white: White Noise Source ladspa: ladspa_sine_faaa: Sine Oscillator (Freq:audio, Amp:audio) ladspa: ladspa_sine_faac: Sine Oscillator (Freq:audio, Amp:control) ladspa: ladspa_sine_fcaa: Sine Oscillator (Freq:control, Amp:audio) ladspa: ladspa_sine_fcac: Sine Oscillator (Freq:control, Amp:control) quicktime_demux type: video/quicktime: .mov Has typefind function: 0x4006dea0 quicktime_demux: quicktime_demux: quicktime parser gststaticautoplug: static: (null) gststaticautoplugrender: staticrender: (null) autoplugcache: autoplugcache: AutoplugCache autoplugger: autoplugger: Dynamic autoplugger gstspider: spider: Spider gstelements: fakesrc: Fake Source gstelements: fakesink: Fake Sink gstelements: filesrc: File Source gstelements: filesink: File Sink gstelements: identity: Identity gstelements: fdsink: Filedescriptor Sink gstelements: fdsrc: Disk Source gstelements: multidisksrc: Multi Disk Source gstelements: pipefilter: Pipefilter gstelements: tee: Tee pipe fitting gstelements: aggregator: Aggregator pipe fitting gstelements: statistics: Statistics gstelements: md5sink: MD5 Sink gstbasicscheduler: basic: A basic scheduler using basic cothreads gststandardscheduler: standard: A basic scheduler using standard cothreads gstfastBasicscheduler: fastbasic: A fast scheduler, it uses basic cothreads gstfastStandardscheduler: faststandard: A fast scheduler, it uses standard cothreads gsttypes type: audio/raw: .raw gsttypes type: video/raw: .raw ac3parse: ac3parse: AC3 Parser auparse: auparse: .au parser auparse type: audio/au: .au Has typefind function: 0x4006dea0 avimux: avimux: Avi multiplexer chart: chart: chart drawer deinterlace: deinterlace: Deinterlace effectv: edgeTV: EdgeTV effectv: agingTV: AgingTV effectv: diceTV: DiceTV effectv: warpTV: WarpTV effectv: shagadelicTV: ShagadelicTV effectv: vertigoTV: VertigoTV effectv: revTV: RevTV effectv: quarkTV: QuarkTV festival: festival: Festival synthesizer festival type: text/plain: .txt Has typefind function: 0x4006dea0 filter: iir: IIR filter: lpwsinc: LPWSinc filter: bpwsinc: BPWSinc goom: goom: GOOM: what a GOOM! intfloatconvert: int2float: Integer to Float effect intfloatconvert: float2int: Float to Integer effect alaw: alawenc: PCM to A Law conversion alaw: alawdec: A Law to PCM conversion mulaw: mulawenc: PCM to Mu Law conversion mulaw: mulawdec: Mu Law to PCM conversion level: level: Level median: median: Median effect mpeg1enc: mpeg1enc: mpeg1 and mpeg2 video encoder mp1videoparse: mp1videoparse: MPEG 1 Video Parser mpeg2subt: mpeg2subt: MPEG2 subtitle Decoder mp3parse: mp3parse: MPEG1 Audio Parser mp3types type: audio/mp3: .mp3 .mp2 .mp1 .mpga Has typefind function: 0x4006dea0 mpeg2types type: video/mpeg: .mpg .mpeg .mpe Has typefind function: 0x4006dea0 mpeg2types type: video/mpeg: (null) mpeg1types type: video/mpeg: .mpg .mpeg .mpe Has typefind function: 0x4006dea0 mpeg1types type: video/mpeg: .mpg .mpeg .mpe Has typefind function: 0x4006dea0 modplug: modplug: ModPlug monoscope: monoscope: Monoscope passthrough: passthrough: Passthrough playondemand: playondemand: Play On Demand rtjpeg: rtjpegenc: RTjpeg encoder rtjpeg: rtjpegdec: RTjpeg decoder silence: silence: silence source smooth: smooth: Smooth effect spectrum: spectrum: Spectrum analyzer speed: speed: Speed stereo: stereo: Stereo effect stereo2mono: stereo2mono: Stereo to Mono converter mono2stereo: mono2stereo: Mono to Stereo effect stereosplit: stereosplit: Stereo splitter udp: udpsink: UDP packet sender udp: udpsrc: UDP packet receiver synaesthesia: synaesthesia: Synaesthesia videoscale: videoscale: Video scaler volenv: volenv: Volume Envelope vumeter: vumeter: VU Meter wavparse: wavparse: .wav parser wavparse type: audio/x-wav: .wav Has typefind function: 0x4006dea0 lavenc: lavenc: LavEncode ossaudio: osssink: Audio Sink (OSS) ossaudio: osssrc: Audio Source (OSS) ossaudio: ossgst: Audio Wrapper (OSS) qcamsrc: qcamsrc: QCam Source v4lelement: v4lelement: Generic video4linux Element v4lsrc: v4lsrc: Video (video4linux/raw) Source v4lmjpegsrc: v4lmjpegsrc: Video (video4linux/MJPEG) Source v4lmjpegsink: v4lmjpegsink: Video (video4linux/MJPEG) sink vcdsrc: vcdsrc: VCD Source xvideosink: xvideosink: Video sink videosink: videosink: Video sink gstaf: afsink: Audiofile Sink gstaf: afsrc: Audiofile Src gstaf: afparse: Audiofile Parse wincodec: winenc: Windows codec image encoder wincodec: windec: Windows codec decoder cdparanoia: cdparanoia: CD Audio (cdda) Source, Paranoia IV esdsink: esdsink: Esound audio sink esdmon: esdmon: Esound audio monitor gnomevfssrc: gnomevfssrc: GnomeVFS Source gnomevfssink: gnomevfssink: GnomeVFS Sink colorspace: colorspace: Colorspace converter httpsrc: httpsrc: HTTP Source jpeg: jpegenc: jpeg image encoder jpeg: jpegdec: jpeg image decoder lame: lame: L.A.M.E. mp3 encoder mad: mad: mad mp3 decoder mikmod type: audio/mod: .mod .sam .med .s3m .it .xm .stm .mtm .669 .ult .far .amf .dsm .imf .gdm .stx .okt Has typefind function: 0x4006dea0 mikmod: mikmod: MikMod jpegmmxdec: jpegmmxdec: JPEG/MMX decoder jpegmmxenc: jpegmmxenc: JPEG/MMX encoder quicktime_decoder type: video/quicktime: .mov Has typefind function: 0x4006dea0 quicktime_decoder: quicktime_decoder: quicktime parser quicktimetypes: quicktimetypes: quicktime type converter sdlvideosink: sdlvideosink: Video sink +++ gst-inspect fakesrc INFO (22265: 0) Initializing GStreamer Core Library version 0.4.1 INFO (22265: 0) CPU features: (c1c7f9ff) MMX 3DNOW MMXEXT registry: loaded user_registry in 0.000215 seconds (/root/.gstreamer/registry.xml) registry: loaded global_registry in 0.105277 seconds (/etc/gstreamer/registry.xml) Factory Details: Long name: Fake Source Class: Source Description: Push empty (no data) buffers around Version: 0.4.1 Author(s): Erik Walthinsen <omega@cse.ogi.edu> Wim Taymans <wim.taymans@chello.be> Copyright: (C) 1999 GObject +----GstObject +----GstElement +----GstFakeSrc Pad Templates: SRC template: 'src%d' Availability: On request Has request_new_pad() function: gst_fakesrc_request_new_pad Element Flags: no flags set Element Implementation: No loopfunc(), must be chain-based or not configured yet Has change_state() function: gst_fakesrc_change_state Has custom save_thyself() function: gst_element_save_thyself Has custom restore_thyself() function: gst_element_restore_thyself Clocking Interaction: none Pads: SRC: 'src' Implementation: Has getfunc(): gst_fakesrc_get Supports seeking/conversion/query formats: (1): default (Default) Has custom eventfunc(): 0x403a0f30 Provides event masks: seek | flag-flush seek-segment flush Has custom queryfunc(): 0x403a0e30 Provides query types: (1): total (GST_PAD_QUERY_TOTAL) (2): position (GST_PAD_QUERY_POSITION) (5): start (GST_PAD_QUERY_START) (6): segment-end (GST_PAD_QUERY_SEGMENT_END) Element Arguments: name : The name of the object String (Default "element") num-sources : Number of sources Integer. Range: 1 - 2147483647 (Default 1) loop-based : Enable loop-based operation Boolean (Default false) output : Output method (currently unused) Enum "GstFakeSrcOutput" (default 1, "First-Last loop") (1): First-Last loop (2): Last-First loop (3): Ping-Pong (4): Ordered Random (5): Random (6): Patttern loop (7): Ping-Pong Pattern (8): '_get' Always succeeds data : Data allocation method Enum "GstFakeSrcData" (default 1, "Allocate data") (1): Allocate data (2): Subbuffer data (3): Use the default buffer pool (forces sizetype=2) sizetype : How to determine buffer sizes Enum "GstFakeSrcSizeType" (default 1, "Send empty buffers") (1): Send empty buffers (2): Fixed size buffers (sizemax sized) (3): Random sized buffers (sizemin <= size <= sizemax) sizemin : Minimum buffer size Integer. Range: 0 - 2147483647 (Default 0) sizemax : Maximum buffer size Integer. Range: 0 - 2147483647 (Default 4096) filltype : How to fill the buffer, if at all Enum "GstFakeSrcFillType" (default 1, "Leave data as malloced") (1): Leave data as malloced (2): Fill buffers with zeros (3): Fill buffers with random crap (4): Fill buffers with pattern 0x00 -> 0xff (5): Fill buffers with pattern 0x00 -> 0xff that spans buffers pattern : pattern String (Default "(null)") num-buffers : Number of buffers to output before sending EOS Integer. Range: -2147483648 - 2147483647 (Default -1) eos : Send out the EOS event? Boolean (Default false) silent : Don't produce events Boolean (Default false) dump : Dump bytes to stdout Boolean (Default false) parentsize : Size of parent buffer for sub-buffered allocation Integer. Range: 0 - 2147483647 (Default 40960) last-message : The last status message String (Default "(null)") Dynamic Parameters: none Element Signals: "handoff" : void user_function (GstFakeSrc* object, gpointer arg0, gpointer user_data); Element Actions: none +++ gst-inspect fakesink INFO (22266: 0) Initializing GStreamer Core Library version 0.4.1 INFO (22266: 0) CPU features: (c1c7f9ff) MMX 3DNOW MMXEXT registry: loaded user_registry in 0.000170 seconds (/root/.gstreamer/registry.xml) registry: loaded global_registry in 0.101860 seconds (/etc/gstreamer/registry.xml) Factory Details: Long name: Fake Sink Class: Sink Description: Black hole for data Version: 0.4.1 Author(s): Erik Walthinsen <omega@cse.ogi.edu> Copyright: (C) 1999 GObject +----GstObject +----GstElement +----GstFakeSink Pad Templates: SINK template: 'sink%d' Availability: On request Has request_new_pad() function: gst_fakesink_request_new_pad Element Flags: GST_ELEMENT_EVENT_AWARE Element Implementation: No loopfunc(), must be chain-based or not configured yet Has change_state() function: gst_element_change_state Has custom save_thyself() function: gst_element_save_thyself Has custom restore_thyself() function: gst_element_restore_thyself Clocking Interaction: element requires a clock Pads: SINK: 'sink' Implementation: Has chainfunc(): gst_fakesink_chain Element Arguments: name : The name of the object String (Default "element") num-sinks : The number of sinkpads Integer. Range: 1 - 2147483647 (Default 1) silent : Don't produce events Boolean (Default false) dump : Dump bytes to stdout Boolean (Default false) sync : Sync on the clock Boolean (Default false) last-message : The message describing current status String (Default "(null)") Dynamic Parameters: none Element Signals: "handoff" : void user_function (GstFakeSink* object, gpointer arg0, gpointer user_data); Element Actions: none +++ gst-launch fakesrc num_buffers=5 ! fakesink INFO (22267: 0) Initializing GStreamer Core Library version 0.4.1 INFO (22267: 0) CPU features: (c1c7f9ff) MMX 3DNOW MMXEXT registry: loaded user_registry in 0.000196 seconds (/root/.gstreamer/registry.xml) registry: loaded global_registry in 0.101379 seconds (/etc/gstreamer/registry.xml) GStreamer-ERROR **: Critical error: could not get a scheduler - a e you sure you have a registry ? aborting... (process:22267): [E]xit, [H]alt or [P]roceed: E ++ looking for gstreamer libraries in common locations /usr/lib/libgstreamer.so /usr/lib/libgstreamer-0.4.1.so.0.0.0 /usr/lib/libgstreamer-0.4.1.so.0 ++ looking for gstreamer headers in common locations /usr/include/gstreamer-0.4.1/gst/gst.h saphir gstreamer # gst-register --gst-mask=-1 INFO (22278: 0) Initializing GStreamer Core Library version 0.4.1 INFO (22278: 0) CPU features: (c1c7f9ff) MMX 3DNOW MMXEXT DEBUG(22278: 0)gst_element_factory_find:106: no such elementfactory "bin" DEBUG(22278: 0)gst_element_factory_find:106: no such elementfactory "pipeline" DEBUG(22278: 0)gst_element_factory_find:106: no such elementfactory "thread" DEBUG(22278: 0)gst_element_factory_find:106: no such elementfactory "queue" DEBUG(22278: 0)gst_element_factory_find:106: no such elementfactory "typefind" INFO (22278: 0)gst_plugin_register_func:115: plugin "(null)" initialised INFO (22278: 0)_gst_buffer_initialize:58: Buffers are initialized now rebuilding global_registry INFO (22278: 0)gst_xml_registry_rebuild:1514: Rebuilding registry 0x804f170 in directory /usr/lib/gst... DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstoptomegascheduler.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstoptomegascheduler.so" loaded, called entry function... DEBUG(22278: 0)gst_scheduler_factory_find:753: gstscheduler: find "optomega" INFO (22278: 0)gst_plugin_register_func:115: plugin "/usr/lib/gst/libgstoptomegascheduler.so" initialised INFO (22278: 0)gst_plugin_load_plugin:190: plugin "/usr/lib/gst/libgstoptomegascheduler.so" loaded added plugin gstoptomegascheduler with 1 feature(s) DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstfastwingoscheduler.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstfastwingoscheduler.so" loaded, called entry function... DEBUG(22278: 0)gst_scheduler_factory_find:753: gstscheduler: find "fastwingo" INFO (22278: 0)gst_plugin_register_func:115: plugin "/usr/lib/gst/libgstfastwingoscheduler.so" initialised INFO (22278: 0)gst_plugin_load_plugin:190: plugin "/usr/lib/gst/libgstfastwingoscheduler.so" loaded added plugin gstfastwingoscheduler with 1 feature(s) DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstfastomegascheduler.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstfastomegascheduler.so" loaded, called entry function... DEBUG(22278: 0)gst_scheduler_factory_find:753: gstscheduler: find "fastomega" INFO (22278: 0)gst_plugin_register_func:115: plugin "/usr/lib/gst/libgstfastomegascheduler.so" initialised INFO (22278: 0)gst_plugin_load_plugin:190: plugin "/usr/lib/gst/libgstfastomegascheduler.so" loaded added plugin gstfastomegascheduler with 1 feature(s) DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstbasicwingoscheduler.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstbasicwingoscheduler.so" loaded, called entry function... DEBUG(22278: 0)gst_scheduler_factory_find:753: gstscheduler: find "basicwingo" INFO (22278: 0)gst_plugin_register_func:115: plugin "/usr/lib/gst/libgstbasicwingoscheduler.so" initialised INFO (22278: 0)gst_plugin_load_plugin:190: plugin "/usr/lib/gst/libgstbasicwingoscheduler.so" loaded added plugin gstbasicwingoscheduler with 1 feature(s) DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstbasicomegascheduler.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstbasicomegascheduler.so" loaded, called entry function... DEBUG(22278: 0)gst_scheduler_factory_find:753: gstscheduler: find "basicomega" INFO (22278: 0)gst_plugin_register_func:115: plugin "/usr/lib/gst/libgstbasicomegascheduler.so" initialised INFO (22278: 0)gst_plugin_load_plugin:190: plugin "/usr/lib/gst/libgstbasicomegascheduler.so" loaded added plugin gstbasicomegascheduler with 1 feature(s) DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstsdlvideosink.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstsdlvideosink.so" loaded, called entry function... DEBUG(22278: 0)gst_element_factory_find:106: no such elementfactory "sdlvideosink" DEBUG(22278: 0)gst_type_register:172: gsttype: capstype(0x807a420) gave new mime type 'video/raw', id 1 DEBUG(22278: 0)gst_object_ref:170: ref 'sink' 1->2 INFO (22278: 0)gst_plugin_register_func:115: plugin "/usr/lib/gst/libgstsdlvideosink.so" initialised INFO (22278: 0)gst_plugin_load_plugin:190: plugin "/usr/lib/gst/libgstsdlvideosink.so" loaded added plugin sdlvideosink with 1 feature(s) DEBUG(22278: 0)gst_plugin_load_plugin:161: attempt to load plugin "/usr/lib/gst/libgstopenquicktimetypes.so" DEBUG(22278: 0)gst_plugin_load_plugin:184: plugin "/usr/lib/gst/libgstopenquicktimetypes.so" loaded, called entry function... (process:22278): GLib-GObject-WARNING **: specified class size for type `GstQuicktimeTypes' is smaller than the parent type's `GstElement' class size (process:22278): GStreamer-CRITICAL **: file gstelementfactory.c: line 148 (gst_element_factory_new): assertion `type' failed (process:22278): [E]xit, [H]alt or [P]roceed: E saphir gstreamer #
I see a few possible problems based on your output. You have installed gstreamer-0.4.1, but it looks like you still have gst-plugins-0.4.0 installed. Your best bet (if you are installing from source) is to remove prefix/lib/gst, and reinstall both gstreamer and gst-plugins. Can you do these two and let us know if that fixes it ?
Upgrading gst-plugins to 0.4.1 solved the problem, yes. Sorry for the unneccessary inconvenience. This just showed a problem in gentoo, where gst-register is run after installing gstreamer and gst-plugins as well. If you update either one first, you will get that error.