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 162082 - gst-register crashes on Mac OS X 10.3.7, and thus nothing seems to work.
gst-register crashes on Mac OS X 10.3.7, and thus nothing seems to work.
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.8.8
Other Mac OS
: High major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-23 10:45 UTC by Joonas Kiviharju
Modified: 2005-11-11 16:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joonas Kiviharju 2004-12-23 10:45:05 UTC
Install Gstreamer 8.7 and gst-plugins 8.6 on Mac OS X 10.3.7.
Run gst-register.

This "bug" makes the whole gstreamer system not working on Mac OS X. I can't find any info, if anyone 
has been succesful with getting Gstreamer working on OS X. I tried to run all the commands on 
Terminal, and X11 terminal too, and as a normal user and with "sudo" command.

Here's what gst-register outputs on my machine:
gst-register
Trying to load global_registry ...
Error loading global_registry
Added path   /usr/local/lib/gstreamer-0.8 to user_registry 
Rebuilding user_registry (/Users/jkivihar/.gstreamer-0.8/registry.xml) ...
Added plugin y4menc with 1 feature.
Added plugin xwindowlistener with 0 features.
Added plugin wavenc with 1 feature.
Added plugin volume with 1 feature.
Added plugin volenv with 1 feature.
Added plugin videotestsrc with 1 feature.
Added plugin videoscale with 1 feature.
Added plugin videorate with 1 feature.
Added plugin videomixer with 1 feature.
Added plugin gstvideofilter with 0 features.
Added plugin videodrop with 1 feature.
Added plugin videocrop with 1 feature.
Added plugin videobox with 1 feature.
Added plugin videobalance with 1 feature.
Added plugin gstvideo with 0 features.
Added plugin vbidec with 1 feature.
Added plugin udp with 2 features.
Added plugin typefindfunctions with 51 features.
Added plugin timeoverlay with 1 feature.
Added plugin textoverlay with 1 feature.
Added plugin gsttags with 1 feature.
Added plugin switch with 1 feature.
Added plugin stereo with 1 feature.
Added plugin gstspider with 2 features.
Added plugin speed with 1 feature.
Added plugin spectrum with 1 feature.
Added plugin smpte with 1 feature.
Added plugin smooth with 1 feature.
Added plugin sine with 1 feature.
Added plugin silence with 1 feature.
Added plugin rtp with 4 features.
Added plugin rtjpeg with 2 features.
Added plugin gstresample with 0 features.
Added plugin playondemand with 1 feature.
Added plugin playbin with 1 feature.
Added plugin passthrough with 1 feature.
Added plugin overlay with 1 feature.
objc: cannot unmap an image containing ObjC data
Trace/BPT trap

This is what gst-register is able to do. This is contents of the user registry in ~/.gstreamer/
registry.xml. The global registry at /usr/var/cache/... doesn't exist:
<?xml version="1.0"?>
<GST-PluginRegistry>
<gst-plugin-paths>
</gst-plugin-paths>
</GST-PluginRegistry>

And here's gst-inspect:
gst-inspect
gstcoreelements:  queue: Queue
gstcoreelements:  thread: Threaded container
gstcoreelements:  pipeline: Pipeline object
gstcoreelements:  bin: Generic bin

And then ofcourse gst-feedback gives:
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
Darwin XXXXXXXXX 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov  7 16:06:51 PST 2004; root:xnu/xnu
-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
+++ cat /etc/issue
cat: /etc/issue: No such file or directory

+   USER INFORMATION
+++ id
uid=503(jkivihar) gid=503(jkivihar) groups=503(jkivihar), 79(appserverusr), 80(admin), 
81(appserveradm)

+   PKG-CONFIG INFORMATION
+   0.6
+++ pkg-config --version
0.15.0
+++ pkg-config gstreamer-0.6 --modversion
Package gstreamer-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.6' found
+++ pkg-config gstreamer-0.6 --cflags
Package gstreamer-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.6' found
+++ pkg-config gstreamer-0.6 --libs
Package gstreamer-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.6' found
+++ pkg-config gstreamer-libs-0.6 --modversion
Package gstreamer-libs-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.6' found
+++ pkg-config gstreamer-libs-0.6 --cflags
Package gstreamer-libs-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.6' found
+++ pkg-config gstreamer-libs-0.6 --libs
Package gstreamer-libs-0.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.6' found

+   0.7
+++ pkg-config --version
0.15.0
+++ pkg-config gstreamer-0.7 --modversion
Package gstreamer-0.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.7' found
+++ pkg-config gstreamer-0.7 --cflags
Package gstreamer-0.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.7' found
+++ pkg-config gstreamer-0.7 --libs
Package gstreamer-0.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.7' found
+++ pkg-config gstreamer-libs-0.7 --modversion
Package gstreamer-libs-0.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.7' found
+++ pkg-config gstreamer-libs-0.7 --cflags
Package gstreamer-libs-0.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.7' found
+++ pkg-config gstreamer-libs-0.7 --libs
Package gstreamer-libs-0.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.7' found

+   0.8
+++ pkg-config --version
0.15.0
+++ pkg-config gstreamer-0.8 --modversion
0.8.7
+++ pkg-config gstreamer-0.8 --cflags
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib
-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include -I/usr/local/include/gstreamer-0.8  
+++ pkg-config gstreamer-0.8 --libs
-L/opt/local/lib -L/usr/local/lib -lgstreamer-0.8 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 
-lpthread -lz -lm -lglib-2.0 -lintl -liconv  
+++ pkg-config gstreamer-libs-0.8 --modversion
0.8.6
+++ pkg-config gstreamer-libs-0.8 --cflags
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib
-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include -I/usr/local/include/gstreamer-0.8  
+++ pkg-config gstreamer-libs-0.8 --libs
-L/opt/local/lib -L/usr/local/lib -lgstreamer-0.8 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 
-lpthread -lz -lm -lglib-2.0 -lintl -liconv  

+   GSTREAMER INFORMATION
+++ which gst-register
/usr/local/bin/gst-register
+++ gst-inspect
gstcoreelements:  queue: Queue
gstcoreelements:  thread: Threaded container
gstcoreelements:  pipeline: Pipeline object
gstcoreelements:  bin: Generic bin
+++ gst-inspect fakesrc
No such element or plugin 'fakesrc'
+++ gst-inspect fakesink
No such element or plugin 'fakesink'
+++ gst-launch fakesrc num_buffers=5 ! fakesink
ERROR: pipeline could not be constructed: no element "fakesrc".
++  looking for gstreamer libraries in common locations
++  looking for gstreamer headers in common locations
/usr/local/include/gstreamer-0.8/gst/gst.h
+   GSTREAMER PLUG-INS INFORMATION
+++ gst-inspect volume
No such element or plugin 'volume'
++  looking for gstreamer volume plugin in common locations
/usr/local/lib/gstreamer-0.8/libgstvolume.so
++  looking for gstreamer headers in common locations
/usr/local/include/gstreamer-0.8/gst/audio/audio.h

And finally here's the obvious output from gst-launch example:
gst-launch fakesrc num-buffers=3 ! fakesink
ERROR: pipeline could not be constructed: no element "fakesrc".
Comment 1 Stephane Loeuillet 2004-12-27 13:22:06 UTC
please retry with 0.8.8 that just came out a few days ago

for the "fakesrc" not found, it's normal : as long as your gst registry is
corrupted or missing, it won't find any/all plugin[s]
Comment 2 Joonas Kiviharju 2005-01-03 17:28:28 UTC
I tried it with 0.8.8 today, and the results were the same. As it crashes on the
overlay plugin, could it be that the bug is more likely in the gst-plugins?
Comment 3 Ronald Bultje 2005-01-09 21:51:34 UTC
It doesn't crash on the overlay plugin, that registers perfectly. This is also a
bug in the buildbot. Dave, Thomas, can you please check?
Comment 4 Ronald Bultje 2005-02-08 17:54:46 UTC
Please provide me the logfile created by "gst-register-0.8 --gst-debug-no-color
--gst-debug-level=5 &> logfile".
Comment 5 Luca Ognibene 2005-11-11 16:42:30 UTC
Closing. Please reopen with the neede infos if it's still an issue.