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 160280 - any attempt to play a media causes an error
any attempt to play a media causes an error
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.5
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 152055 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-02 23:16 UTC by Daniel Alonso
Modified: 2005-08-29 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rhythmbox strace output (414.74 KB, text/plain)
2004-12-03 15:07 UTC, Daniel Alonso
Details
global registry (931.74 KB, text/plain)
2004-12-03 23:23 UTC, Daniel Alonso
Details
logfile (169.52 KB, text/plain)
2004-12-09 21:01 UTC, Daniel Alonso
Details

Description Daniel Alonso 2004-12-02 23:16:55 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)
Comment 1 Ronald Bultje 2004-12-03 08:55:16 UTC
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).
Comment 2 Ronald Bultje 2004-12-03 13:33:21 UTC
(resetting priority because it's not a gst error)
Comment 3 Daniel Alonso 2004-12-03 15:07:37 UTC
Created attachment 34453 [details]
rhythmbox strace output
Comment 4 Daniel Alonso 2004-12-03 15:08:06 UTC
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
Comment 5 Ronald Bultje 2004-12-03 15:36:53 UTC
... and make sure you don't have multiple
versions of gst-plugins installed (e.g. in different prefixes). ...
Comment 6 Daniel Alonso 2004-12-03 16:00:31 UTC
All plugins are installed only in /usr/lib/gstreamer-0.8/*
Comment 7 Ronald Bultje 2004-12-03 16:35:21 UTC
Can you attach your registry?
Comment 8 Daniel Alonso 2004-12-03 23:23:54 UTC
Created attachment 34471 [details]
global registry
Comment 9 Jeremy Simon 2004-12-07 18:55:17 UTC
*** Bug 152055 has been marked as a duplicate of this bug. ***
Comment 10 Christian Fredrik Kalager Schaller 2004-12-08 00:08:56 UTC
Re-opening bug as requested info provided
Comment 11 Ronald Bultje 2004-12-08 05:53:27 UTC
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)?
Comment 12 Daniel Alonso 2004-12-08 10:41:11 UTC
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.
Comment 13 Ronald Bultje 2004-12-08 20:26:38 UTC
Can you give the output of gst-inspect-0.8 --gst-debug-level=5 audioscale &>
logfile and attach the logfile?
Comment 14 Daniel Alonso 2004-12-09 21:01:03 UTC
Created attachment 34673 [details]
logfile
Comment 15 David Schleef 2004-12-15 04:05:30 UTC
Do you have the environment variable LD_BIND_NOW set?
Comment 16 Daniel Alonso 2004-12-15 19:09:39 UTC
No, this variable is not set and setting it does not fix this issue.
Comment 17 Stephane Loeuillet 2004-12-19 13:58:48 UTC
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
Comment 18 Ronald Bultje 2004-12-19 14:45:35 UTC
Are you compiling using g++ instead of gcc?
Comment 19 Daniel Alonso 2004-12-20 19:38:19 UTC
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.
Comment 20 Ronald Bultje 2004-12-21 11:09:10 UTC
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.
Comment 21 Stephane Loeuillet 2004-12-27 13:16:15 UTC
closing as NOTGNOME