GNOME Bugzilla – Bug 160280
any attempt to play a media causes an error
Last modified: 2005-08-29 15:42:56 UTC
Try any gstreamer based app (totem/rhythmbox) and try to play a media file. It ends with this: ** (rhythmbox:18765): CRITICAL **: how to remove plugins? (rhythmbox:18765): 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' *** glibc detected *** double free or corruption (fasttop): 0x0847efd8 *** Terminado (killed)
Your registry is screwed. Run 'gst-register-0.8' as root, remove your user registry (rm -fr ~/.gstreamer-0.8) and make sure you don't have multiple versions of gst-plugins installed (e.g. in different prefixes).
(resetting priority because it's not a gst error)
Created attachment 34453 [details] rhythmbox strace output
I'm sorry I've to tell that did all this before reporting the bug: 1- As root: gst-register-0.8 2- As user: rm .gstreamer-0.8/registry.xml 3- As user inside xterm: rhythmbox 4- Rhythmbox (or totem) output: ** (rhythmbox:21815): CRITICAL **: how to remove plugins? (rhythmbox:21815): 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' Got error opening "file:///home/dani/Musica/Anastacia-Anastacia/01%20-%20Anastacia%20-%20Seasons%20Change%20-%20EsDonkey%20Team%20-%20www.esdonkey.com.mp3": Ha ocurrido un error al crear el elemento audioscale; compruebe su instalación *** glibc detected *** corrupted double-linked list: 0x0849da00 *** I attach the strace output
... and make sure you don't have multiple versions of gst-plugins installed (e.g. in different prefixes). ...
All plugins are installed only in /usr/lib/gstreamer-0.8/*
Can you attach your registry?
Created attachment 34471 [details] global registry
*** Bug 152055 has been marked as a duplicate of this bug. ***
Re-opening bug as requested info provided
So does the file /usr/lib/gstreamer-0.8/libgstaudioscale.so exist? Is it from the same plugin installation as the others (gst-inspect audioscale | grep Version)? Do its dependencies exist ($libdir/gstreamer-0.8/libgstresample.so)? Is it from the same version as audioscale itself (gst-inspect | grep Version)?
gst-inspect does not exist. On the other hand gst-inspect-0.8 is not working, it outputs the same error as rhythmbox or totem. ls -l /usr/lib/gstreamer-0.8/libgstaudioscale.so -rwxr-xr-x 1 root root 17376 nov 29 14:23 /usr/lib/gstreamer-0.8/libgstaudioscale.so ls -l /usr/lib/gstreamer-0.8/libgstresample.so -rwxr-xr-x 1 root root 18508 nov 29 14:23 /usr/lib/gstreamer-0.8/libgstresample.so Both libs exist.
Can you give the output of gst-inspect-0.8 --gst-debug-level=5 audioscale &> logfile and attach the logfile?
Created attachment 34673 [details] logfile
Do you have the environment variable LD_BIND_NOW set?
No, this variable is not set and setting it does not fix this issue.
extract from the log : Error loading plugin /usr/lib/gstreamer-0.8/libgstaudioscale.so, reason: /usr/lib/gstreamer-0.8/libgstaudioscale.so: undefined symbol: gst_resample_init so, did this failed ?? if (!gst_library_load ("gstresample")) Daniel, could you try that and report the result : strings /usr/lib/gstreamer-0.8/libgstresample.so | grep gst_resample_init
Are you compiling using g++ instead of gcc?
Stephane, the output is: gst_resample_init gst_resample_init Ronald, I think I'm compiling with gcc but I don't know. I'm on a gentoo box and I simply emerged the ebuild.
Right. Gentoo can do pretty much anything during the build, including adding unsupported build flags, accidently omitting linker flags (which seems to be the case here), using weird compilers that trigger weird cornercase bugs and so on. We don't know what it does and we'd rather not waste the time in finding out (since we prefer spending our time on development). For any such issues, Gentoo has fora for this sort of stuff. Also, the package for Gentoo's GStreamer *clearly* states to *not submit bug reports upstream* for the reasons that I just mentioned. Please ask for help on the Gentoo fora. When they find this to be a GStreamer bug, they'll tell us all info we need to know to debug this.
closing as NOTGNOME