Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77114 - gstreamer 0.8.8 is unable to find/link its plugins
Summary: gstreamer 0.8.8 is unable to find/link its plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 00:34 UTC by Marc Geerlings
Modified: 2005-01-16 12:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Geerlings 2005-01-08 00:34:21 UTC
gstreamer 0.8.8 is unable to find/link its plugins, they exist in /usr/lib/gstreamer-0.8. The error message gives the correct pad and library name, but doesn't find/link it.

Reproducible: Always
Steps to Reproduce:
1. Start rhythmbox
2. Select/load a mp3
3. press play



Actual Results:  
error occures, (rhythmbox:18530): GStreamer-CRITICAL **: Factory for
`audioconvert' has no type. This probably means the plugin wasn't found because
the registry is broken. The plugin GStreamer was looking for is named
'gstaudioconvert' and is expected in file
'/usr/lib/gstreamer-0.8/libgstaudioconvert.so'. The registry for this plugin is
located at '/var/lib/cache/gstreamer-0.8/registry.xml'
*** glibc detected *** double free or corruption (fasttop): 0x08698850 ***
Killed





Expected Results:  
playing music

Tried following suggestions:
1. run gstreamer-register-0.8 as root
2. Did a complete rebuild of the system with current (3.4.3) gcc.
emerge -Dev system (twice)
emerge -Dev world
After this I checked /var/lib/pkg for pakages which didn't compile in this run
and removed them and did a emerge --Dev world again, (took me 5 days)
Error still exsists!
Comment 1 Marc Geerlings 2005-01-08 02:16:32 UTC
More things I tried.

gst-inspect-0.8 audioscale gives the same error.

I removed all gstreamer and gst-plugins from the system (gcc 3.4.3 compiled), including all gstreamer applications like sound-juicer, rhythmbox, nautilus-media . Checked the file system for directories including the word gstreamer and erased them (.gstreamer-0.8 in home directory of root), after that I rebuilded the applications, pulling in gstreamer and gst-plugins as dependency. This all after emerge -Dev system and emerge -Dev world (twice), result error still exists.
Comment 2 foser (RETIRED) gentoo-dev 2005-01-08 05:45:12 UTC
your 'emerge info' ?
Comment 3 Marc Geerlings 2005-01-08 07:40:52 UTC
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686)
=================================================================
System uname: 2.6.10-gentoo-r2 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  7 2005, 01:48:01)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.2-r7, 1.3.5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X accessibility acl acpi adns alsa avi berkdb bindist bitmap-fonts bonobo cdr crypt cups dga dvd dvdr eds encode esd evo faad fam flac foomaticdb fortran gb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imap imlib ipv6 jack java jikes joystick jpeg kerberos ldap libwww mad mikmod mime mmx motif mozilla mpeg ncurses network nls nptl nptlonly oggvorbis opengl oss pam pdflib perl plotutils png python quicktime readline samba sasl scanner sdl slang spell ssl svga tcltk tcpd tiff truetype usb videos wmf wxwindows x86 xml xml2 xmms xosd xprint xv zlib"
Comment 4 foser (RETIRED) gentoo-dev 2005-01-08 07:43:04 UTC
ran gst-register-0.8 as root ?
Comment 5 Marc Geerlings 2005-01-08 07:58:24 UTC
I did just a rebuild of glibc with USE="nomalloccheck", now the pointer isn't showing anymore but still no go!

Yes, I ran gst-registert-0.8 as root

Did it again just now
1. gst-register-0.8
2. ls -la /usr/lib/gstreamer-0.8/libgstaudioscale.so
Result:
-rwxr-xr-x  1 root root 16708 Jan  8 11:01 /usr/lib/gstreamer-0.8/libgstaudioscale.so

2. gst-inspect-0.8 audioscale (as root and as user)
Result of both:
(process:1601): GStreamer-CRITICAL **: Factory for `audioscale' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'audioscale' and is expected in file '/usr/lib/gstreamer-0.8/libgstaudioscale.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'
couldn't construct element for some reason
Plugin Details:
  Name:         audioscale
  Description:  Resamples audio
  Filename:     /usr/lib/gstreamer-0.8/libgstaudioscale.so
  Version:      0.8.7
  License:      LGPL
  Package:      GStreamer source release
  Origin URL:   http://gstreamer.freedesktop.org/

  audioscale: Audio scaler

  1 features:
  +-- 1 elements

Comment 6 Marc Geerlings 2005-01-08 08:06:23 UTC
Something very strange:

1. login as su -
2. gst-register-0.8
Output Result:
Rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml) ...
Added plugin gstvideo with 0 features.
Added plugin audiorate with 1 feature.
Added plugin colorspace with 1 feature.
Added plugin y4menc with 1 feature.
Added plugin gstresample with 0 features.
....
Added plugin cdxaparse with 2 features.
Added plugin wavparse with 1 feature.
Added plugin matroska with 2 features.
Rebuilding user_registry (/root/.gstreamer-0.8/registry.xml) ...
Loaded 116 plugins with 228 features.

3. more /root/.gstreamer-0.8/registry.xml
Output result:
<?xml version="1.0"?>
<GST-PluginRegistry>
<gst-plugin-paths>
</gst-plugin-paths>
</GST-PluginRegistry>
Comment 7 Marc Geerlings 2005-01-10 02:16:34 UTC
I recompiled gstreamer and it s plugins with gcc 3.3.4 and now gst-inspect works!
Comment 8 Zaheer Abbas Merali (RETIRED) gentoo-dev 2005-01-13 02:40:10 UTC
For future information, the user registry is for plugins installed in your user's home directory.  The system registry is /var/lib/cache/gstreamer-0.8/registry.xml and to debug registry issues, you should read that not the user one in /root./.gstreamer-0.8/

Comment 9 Eric Shattow 2005-01-16 12:25:14 UTC
okay to close this out?
Comment 10 foser (RETIRED) gentoo-dev 2005-01-16 12:29:44 UTC
yep