Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71071 - Rhythmbox-0.8.8-r1 crashes when trying to import music
Summary: Rhythmbox-0.8.8-r1 crashes when trying to import music
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
: 79107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-13 09:29 UTC by Ramon de Ruiter
Modified: 2005-03-08 14:42 UTC (History)
3 users (show)

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


Attachments
bzipped registry.xml (registry.xml.bz2,17.33 KB, application/x-bzip)
2004-11-16 15:08 UTC, Ramon de Ruiter
Details
as requested (gst-inspect_output.log,314.33 KB, text/x-log)
2004-11-21 09:17 UTC, Ramon de Ruiter
Details
gst-plugins-mad merge (merge.txt.gz,6.33 KB, application/x-gzip)
2004-12-29 14:26 UTC, Ramon de Ruiter
Details
strace of RB when playing a file (rhythmboxstrace.txt,2.33 KB, text/plain)
2005-01-06 05:53 UTC, Ramon de Ruiter
Details
Celestialwizard's gstreamer registry.xml (registry.xml,203.86 KB, text/plain)
2005-01-06 23:15 UTC, Celestial Wizard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon de Ruiter 2004-11-13 09:29:56 UTC
Rhythmbox just closes down as soon as i import some music into it. The following appears on the console:
** (rhythmbox:9215): CRITICAL **: how to remove plugins?

(rhythmbox:9215): GStreamer-CRITICAL **: Factory for `id3demux' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'mad' and is expected in file '/usr/lib/gstreamer-0.8/libgstmad.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'

Reproducible: Always
Steps to Reproduce:
1. start rhythmbox
2. open music directory
3.

Actual Results:  
rhythmbox closes.

Expected Results:  
import the music.

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9 i6 86)
=================================================================
System uname: 2.6.9 i686 Athlon XP Barton  3200+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.19
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/co nfig /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/co nfig /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /u
sr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/x dvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -mmmx -msse -m3dnow"
DISTDIR="/tmp/distfiles"
FEATURES="autoaddcvs candy ccache distcc distlocks nodoc noinfo sandbox sfperms"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.tiscali.nl/ge ntoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://mirrors.sec.informatik.tu-darm stadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage-overlay"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm audiofile avi berkdb bitmap-fonts cdr crypt
cups divx4li nux encode esd fam foomaticdb fortran gdbm geoip gif gimpprint
gphoto2 gstreamer gtk gtk2  guile imagemagick imlib java jikes jpeg libg++
libwww mad mikmod mmx motif mpeg nas ncur ses offensive oggvorbis opengl oss pam
pdflib perl png python quicktime readline samba sd l slang speex spell sse ssl
svg svga tcltk tcpd tiff truetype usb userlocales wmf x86 xml  xml2 xmms xv xvid
zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-11-14 02:43:45 UTC
you have gst-plugins-mad installed ?
Comment 2 Ramon de Ruiter 2004-11-14 05:47:44 UTC
Yes:
[ebuild   R   ] media-plugins/gst-plugins-mad-0.8.2
Comment 3 foser (RETIRED) gentoo-dev 2004-11-14 06:12:23 UTC
upgrade it to 0.8.5
Comment 4 Ramon de Ruiter 2004-11-14 16:18:21 UTC
With 0.8.5 the problem still exists.
Comment 5 foser (RETIRED) gentoo-dev 2004-11-16 03:03:38 UTC
attach /var/lib/cache/gstreamer-0.8/registry.xml
Comment 6 Ramon de Ruiter 2004-11-16 15:08:06 UTC
Created attachment 44107 [details]
bzipped registry.xml
Comment 7 Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-11-19 02:27:49 UTC
The registry looks fine.  

Please do this on command line:

gst-inspect-0.8 id3demux

and please provide output
Comment 8 Ramon de Ruiter 2004-11-20 05:04:01 UTC
#gst-inspect-0.8 id3demux

** (process:32058): CRITICAL **: how to remove plugins?

(process:32058): GStreamer-CRITICAL **: Factory for `id3demux' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'mad' and is expected in file '/usr/lib/gstreamer-0.8/libgstmad.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'
couldn't construct element for some reason
No such element or plugin 'id3demux'
Comment 9 Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-11-21 02:36:37 UTC
Ok, please remove gst-plugins-mad (emerge -C gst-plugins-mad) and do: gst-inspect-0.8 id3demux

and give me the output
Comment 10 Ramon de Ruiter 2004-11-21 06:30:05 UTC
#gst-inspect-0.8 id3demux
No such element or plugin 'id3demux'
Comment 11 Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-11-21 08:42:08 UTC
Ok, please re-emerge gst-plugins-mad and do:

gst-inspect-0.8 id3demux

If you have same error, then please do:

gst-inspect-0.8 --gst-debug-level=5 > blah.log 2>&1

and attach the log to this bug
Comment 12 Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-11-21 08:43:24 UTC
sorry i meant:

gst-inspect-0.8 id3demux --gst-debug-level=5 > blah.log 2>&1
Comment 13 Ramon de Ruiter 2004-11-21 09:17:19 UTC
Created attachment 44417 [details]
as requested
Comment 14 Zaheer Abbas Merali (RETIRED) gentoo-dev 2004-11-21 13:37:37 UTC
the important aspect from this log is:

DEBUG (0x80538f0 - 305850:22:14.873226000) GST_PLUGIN_LOADING(15335) gstplugin.c(337):gst_plugin_check_file: Error loading plugin /usr/lib/gstreamer-0.8/libgstmad.so, reason: /usr/lib/gstreamer-0.8/libgstmad.so: undefined symbol: gst_tag_from_id3_tag

I am researching it and will get back to you
Comment 15 foser (RETIRED) gentoo-dev 2004-11-21 14:32:22 UTC
what does 'ldd /usr/lib/gstreamer-0.8/libgstmad.so' give ?
Comment 16 Ramon de Ruiter 2004-11-22 00:20:59 UTC
$ ldd /usr/lib/gstreamer-0.8/libgstmad.so
        linux-gate.so.1 =>  (0xffffe000)
        libgstreamer-0.8.so.1 => /usr/lib/libgstreamer-0.8.so.1 (0x40028000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40143000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40179000)
        libdl.so.2 => /lib/libdl.so.2 (0x4017e000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40181000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40186000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40299000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x402ea000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0x40364000)
        libm.so.6 => /lib/libm.so.6 (0x4037b000)
        libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x4039d000)
        libz.so.1 => /lib/libz.so.1 (0x403ad000)
        libc.so.6 => /lib/libc.so.6 (0x403bd000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x404d0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Comment 17 foser (RETIRED) gentoo-dev 2004-11-28 07:46:40 UTC
what id3lib & libid3tag versions do you have ?
Comment 18 Ramon de Ruiter 2004-11-28 14:32:59 UTC
media-libs/id3lib
      Latest version available: 3.8.3-r3
      Latest version installed: 3.8.3-r3
media-libs/libid3tag
      Latest version available: 0.15.1b
      Latest version installed: 0.15.1b
Comment 19 Mystilleef 2004-12-08 16:31:55 UTC
I'm having the same problem.

[07:30 PM goldenmyst(goldenmyst)]$ rhythmbox
art_render_invoke: no image source given
art_render_invoke: no image source given
*** attempt to put segment in horiz list twice
art_render_invoke: no image source given
art_render_invoke: no image source given
*** attempt to put segment in horiz list twice
art_render_invoke: no image source given
art_render_invoke: no image source given
*** attempt to put segment in horiz list twice

** (rhythmbox:10327): CRITICAL **: how to remove plugins?

(rhythmbox:10327): GStreamer-CRITICAL **: Factory for `oggdemux' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'ogg' and is expected in file '/usr/lib/gstreamer-0.8/libgstogg.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'
Segmentation fault
Comment 20 Mystilleef 2004-12-24 12:02:56 UTC
Any updates on this problem? The gstreamer devs seem to think gentoo is accidentally omitting linker flags.

http://bugzilla.gnome.org/show_bug.cgi?id=160280
Comment 21 foser (RETIRED) gentoo-dev 2004-12-29 05:53:51 UTC
we still can't reproduce this & there's not a lot of similar reports which points to a local problem.

attach the full output of a gst-plugins-mad merge
Comment 22 Ramon de Ruiter 2004-12-29 14:26:41 UTC
Created attachment 47165 [details]
gst-plugins-mad merge

On the console, the following also appears while merging:
# emerge gst-plugins-mad 1> merge.txt
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: WARNING: building external plug-ins
Package liboil-0.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `liboil-0.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'liboil-0.1' found
configure: WARNING: *** snapshot pre-configured not to be built
configure: WARNING: *** tarkin pre-configured not to be built
distcc[31695] (dcc_build_somewhere) Warning: failed to distribute, running
locally instea d
distcc[31701] (dcc_build_somewhere) Warning: failed to distribute, running
locally instea d
libtool: install: warning: remember to run `libtool --finish
/usr/lib/gstreamer-0.8'
>>> Regenerating /etc/ld.so.cache...
Comment 23 Ramon de Ruiter 2004-12-29 14:28:42 UTC
I attached the output of my merge, i hope it is useful. However, if you find that fixing this bug is not possible because it is not reproducable by anyone, i think it can be closed. Soon i will stop using Gentoo so this bug will no longer be relevant; i think i'll have to close all my open bugs.
Comment 24 foser (RETIRED) gentoo-dev 2004-12-29 15:30:16 UTC
strip: 
   usr/lib/gstreamer-0.8/libgstmad.so
	usr/lib/gstreamer-0.8/libgstmad.so will contain runtime text relocations

that is the only thing that stands out to me.

Have you tried building without distcc ?
Comment 25 Ramon de Ruiter 2004-12-29 15:59:53 UTC
I have tried without using distcc; no effect.
Comment 26 John Richard Moser 2005-01-02 13:13:53 UTC
** (rhythmbox:40109): CRITICAL **: how to remove plugins?

(rhythmbox:40109): GStreamer-CRITICAL **: Factory for `id3demux' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'mad' and is expected in file '/usr/lib/gstreamer-0.8/libgstmad.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'
Segmentation fault


rhythmbox[40111]: segfault at 0000000000000018 rip 0000002ea3a3d01d rsp 00000000486ca790 error 4


Same deal, amd64
Comment 27 foser (RETIRED) gentoo-dev 2005-01-03 08:19:21 UTC
and your 'emerge info' is ?
Comment 28 John Richard Moser 2005-01-05 11:01:10 UTC
Portage 2.0.51-r8 (hardened/amd64, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 x86_64)
=================================================================
System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 21 2004, 18:39:55)]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.4_p6, 1.6.3, 1.9.3, 1.7.9, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer  -fweb -funit-at-a-time -fomit-frame-pointer -mfpmath=387 -mno-sse   -fno-stack-protector-all -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=athlon64 -O2 -pipe -ftracer  -fweb -funit-at-a-time -fomit-frame-pointer -mfpmath=387 -mno-sse -fno-stack-protector-all -fstack-protector"
DISTDIR="/home/shared/sysdirs//distfiles/"
FEATURES="autoaddcvs autoconfig buildpkg distlocks paxmarks sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.pair.com/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/home/shared/sysdirs/usr/portage/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/olay64 /usr/local/portage/common"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3ds X aalib acl acpi adns alsa amd64 apm avi berkdb bitmap-fonts bmp bootsplash caps cdr composite crypt cups dlloader dmx dri dvd esd f77 fam flac gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal hardened imagemagick imlib ipv6 ithreads java jbig jpeg justify lcms ldap libwww lzw-tiff mad mikmod mmap mng motif mozilla moznocompose moznoirc moznomail mp3 mpeg multilib mysql ncurses nls nptl objc offensive oggvorbis openal opengl oss pam perl pic pie png ppds python quicktime readline samba sdl slang speex spell sqlite ssl tcltk tcpd theora threads tiff truetype unstable-meta usb videos wmf xchatdccserver xml xml2 xprint xv zlib"

Comment 29 foser (RETIRED) gentoo-dev 2005-01-05 14:45:42 UTC
hmm can you play an mp3 with 'gst-launch-0.8 filesrc location="<filename" ! mad ! audioconvert ! osssink' ?
Comment 30 Ramon de Ruiter 2005-01-05 14:59:08 UTC
If it applies to me: that works just fine.
Comment 31 foser (RETIRED) gentoo-dev 2005-01-05 15:05:41 UTC
could you figure out if it's one particular mp3 is't having problems with ?
Comment 32 Ramon de Ruiter 2005-01-05 16:10:53 UTC
Well so far it seems that it won't play files with (escaped) spaces in them (cannot find file), but i'm not sure if that's what you mean or that it's a mistake on my behalf.
Comment 33 Ramon de Ruiter 2005-01-05 16:13:26 UTC
Ok, nevermind the comment above. Appearantly i should NOT escape spaces. I'll try some random mp3's and see if i can find out if there's something he chokes on.
Comment 34 foser (RETIRED) gentoo-dev 2005-01-06 04:36:47 UTC
you can probably just trace the app and then check the last file it tries to handle, if that one is always the same it is likely the troublemaker.
Comment 35 Ramon de Ruiter 2005-01-06 05:52:45 UTC
I don't think it's a specific mp3 giving troubles. Xmms/BMP also seems to play everything just fine.
What i now did was:
- run "strace rhythmbox" from console
- import a directory with only 5 or so mp3 files (so it won't crash loading them)
- play files

It then also crashes before starting to play. I'll attach the strace output if that's any help.
Comment 36 Ramon de Ruiter 2005-01-06 05:53:20 UTC
Created attachment 47760 [details]
strace of RB when playing a file
Comment 37 Celestial Wizard 2005-01-06 23:14:29 UTC
I am also having this problem

thefirst ~ # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-hardened-r18 i686)
=================================================================
System uname: 2.6.7-hardened-r18 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 30 2004, 16:19:36)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe -msse2"
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="-O2 -march=i686 -fomit-frame-pointer -pipe -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache digest distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://public.planetmirror.com.au/pub/gentoo http://mirror.aarnet.edu.au/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acl acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib caps cdparanoia cdr crypt cups curl curlwrappers dba dga dio directfb divx4linux dlloader dts dvd dvdread encode esd evo fam fbcon flac font-server foomaticdb fortran freedts freetds freetype ftp gd gdbm ggi gif gimpprint gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp hbci howl icq imagemagick imap imlib innodb ipv6 irda java jikes jpeg junit kde kdexdeltas kerberos ladcca lcms ldap lesstif libwww lm_sensors lzo mad makecheck mbox mcal memlimit mikmod milter mime ming mmap mmx mng motif mozilla mozsvg mpeg mpi msn mssql mysql ncurses nls nptl nptlonly offensive ofx oggvorbis openal opengl oss pam pcmcia pcmtl pcre pda pdflib perl php pic pie png pnp posix postgres ppds python qt quicktime quotes readline real rrdtool rtc samba sambba sasl sdl session shared sharedmem slp sndfile snmp sockets socks5 speedo spell sse ssl svg svga sysvipc tcltk tcpd theora threads tiff tokenizer truetype truetype-fonts trusted type1 type1-fonts unicode vhosts videos vim-with-x winbind xanim xml2 xmms xmprpc xosd xpm xprint xsl xv xvid xvmc yahoo zlib video_cards_radeon"

[ebuild   R   ] media-sound/rhythmbox-0.8.8-r1  +aac -debug +flac +mad +oggvorbis +pda 0 kB
[ebuild   R   ] media-libs/libmad-0.15.1b  -debug 0 kB
[ebuild   R   ] media-libs/gstreamer-0.8.8  -debug -doc 0 kB
[ebuild   R   ] media-plugins/gst-plugins-mad-0.8.5  0 kB
[ebuild   R   ] media-libs/id3lib-3.8.3-r3  -doc 0 kB
[ebuild   R   ] media-libs/libid3tag-0.15.1b  -debug 0 kB



thefirst ~ # ldd /usr/lib/gstreamer-0.8/libgstmad.so
        libgstreamer-0.8.so.1 => /usr/lib/libgstreamer-0.8.so.1 (0x25804000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x2593c000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x25987000)
        libdl.so.2 => /lib/libdl.so.2 (0x2598c000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x25990000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x25996000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x25b27000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x25b3b000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0x25be0000)
        libm.so.6 => /lib/libm.so.6 (0x25bf9000)
        libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x25c1c000)
        libz.so.1 => /lib/libz.so.1 (0x25c30000)
        libc.so.6 => /lib/libc.so.6 (0x25c44000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x25d62000)
        /lib/ld-linux.so.2 (0x11236000)



can't play with 
gst-launch-0.8 filesrc location="<filename" ! mad ! audioconvert ! osssink
however xmms works fine.

** (rhythmbox:21445): CRITICAL **: how to remove plugins?

(rhythmbox:21445): GStreamer-CRITICAL **: Factory for `id3demux' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'mad' and is expected in file '/usr/lib/gstreamer-0.8/libgstmad.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'
Segmentation fault

same error as others when i try and add a location


thefirst ~ # paxctl /usr/bin/rhythmbox -v
PaX control v0.2
Copyright 2004 PaX Team <pageexec@freemail.hu>

- PaX flags: -----m-x-e-- [/usr/bin/rhythmbox]
        MPROTECT is disabled
        RANDEXEC is disabled
        EMUTRAMP is disabled
Comment 38 Celestial Wizard 2005-01-06 23:15:25 UTC
Created attachment 47809 [details]
Celestialwizard's gstreamer registry.xml
Comment 39 John Richard Moser 2005-01-09 12:56:31 UTC
bluefox@icebox ~ $ gst-launch-0.8 filesrc location=/data/audio/mp3/ocremix/Arkanoid_Black_Block_OC_ReMix.mp3 ! mad ! audioconvert ! osssink

** (process:60851): CRITICAL **: how to remove plugins?

(process:60851): GStreamer-CRITICAL **: Factory for `mad' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'mad' and is expected in file '/usr/lib/gstreamer-0.8/libgstmad.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'

** (process:60851): CRITICAL **: how to remove plugins?

(process:60851): 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'

** (process:60851): CRITICAL **: how to remove plugins?

(process:60851): GStreamer-CRITICAL **: Factory for `osssink' has no type. This probably means the plugin wasn't found because the registry is broken. The plugin GStreamer was looking for is named 'ossaudio' and is expected in file '/usr/lib/gstreamer-0.8/libgstossaudio.so'. The registry for this plugin is located at '/var/lib/cache/gstreamer-0.8/registry.xml'
WARNING: erroneous pipeline: no element "mad"
         Trying to run anyway.
RUNNING pipeline ...
Execution ended after 1 iterations (sum 17000 ns, average 17000 ns, min 17000 ns, max 17000 ns).
bluefox@icebox ~ $
Comment 40 foser (RETIRED) gentoo-dev 2005-01-09 13:34:52 UTC
can the last 2 reporters assure me that their problems have nothing todo with their hardened setup ? The initial report is about a missing symbol, although the same symptomes it might be an entirely different thing.
Comment 41 Yeap Ku 2005-01-18 19:16:28 UTC
I've got the same problem. It has just imported 2 of my albums, and when I want to import more, it simply says "Segmentation fault"
It also crashes when i add and try to play http://magnatune.com/artists/music/Classical/Classical-http_shuffle.m3u
(I had this problem before I started to use distcc)

and whenever i run:
GenCoo Elemental # gst-launch-0.8 filesrc location="09.Lullaby.mp3" ! mad ! audioconvert ! osssink
RUNNING pipeline ...

or

gst-inspect-0.8 id3demux

it works fine.

GenCoo Gba # emerge info
Portage 2.0.51-r13 (default-linux/x86/2004.3, gcc-3.3.2, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.1.3-r1 [2.3.3 (#1, Jun  8 2004, 12:10:25)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3-r1, 2.2.3-r5, 2.1.3-r1
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/glc"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bitmap-fonts bonobo cjk crypt cscope cups directfb encode esd f77 fam font-server foomaticdb fortran gdbm gif glc gnome gpm gstreamer gtk gtk2 guile imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts x86 xml xml2 xmms xv zlib video_cards_i830"
Unset:  LDFLAGS

GenCoo Gba # genlop -su "gst"
 * matches found:
 
     Sat Dec 13 17:10:28 2003 >>> media-libs/gstreamer-0.6.3
     Sat Dec 13 17:27:05 2003 >>> media-libs/gst-plugins-0.6.3
     Sat Dec 13 17:32:39 2003 >>> media-plugins/gst-plugins-mad-0.6.3
     Sat Dec 13 17:38:05 2003 >>> media-plugins/gst-plugins-oss-0.6.3
     Sat Dec 13 17:43:34 2003 >>> media-plugins/gst-plugins-vorbis-0.6.3
     Sun Dec 14 09:35:14 2003 >>> media-plugins/gst-plugins-gnomevfs-0.6.3
     Sun Dec 14 09:40:36 2003 >>> media-plugins/gst-plugins-libpng-0.6.3
     Sun Nov  7 10:08:31 2004 >>> media-libs/gstreamer-0.8.7
     Sun Nov  7 10:27:40 2004 >>> media-libs/gst-plugins-0.8.5-r1
     Sun Nov  7 10:29:26 2004 >>> media-plugins/gst-plugins-ogg-0.8.5
     Sun Nov  7 10:31:00 2004 >>> media-plugins/gst-plugins-alsa-0.8.5
     Sun Nov  7 10:32:45 2004 >>> media-plugins/gst-plugins-esd-0.8.5
     Sun Nov  7 10:34:20 2004 >>> media-plugins/gst-plugins-oss-0.8.5
     Sun Nov  7 10:36:30 2004 >>> media-plugins/gst-plugins-mad-0.8.5
     Sun Nov  7 10:38:32 2004 >>> media-plugins/gst-plugins-vorbis-0.8.5
     Sun Nov  7 10:40:38 2004 >>> media-plugins/gst-plugins-gnomevfs-0.8.5
     Tue Jan 18 16:22:45 2005 <<< media-libs/gstreamer-0.8.7
     Tue Jan 18 16:22:46 2005 >>> media-libs/gstreamer-0.8.8
     Tue Jan 18 16:48:59 2005 <<< media-libs/gst-plugins-0.8.5-r1
     Tue Jan 18 16:49:01 2005 >>> media-libs/gst-plugins-0.8.7
     Tue Jan 18 16:50:57 2005 <<< media-plugins/gst-plugins-esd-0.8.5
     Tue Jan 18 16:50:58 2005 >>> media-plugins/gst-plugins-esd-0.8.7
     Tue Jan 18 16:53:08 2005 <<< media-plugins/gst-plugins-oss-0.8.5
     Tue Jan 18 16:53:09 2005 >>> media-plugins/gst-plugins-oss-0.8.7
     Tue Jan 18 17:02:56 2005 <<< media-plugins/gst-plugins-alsa-0.8.5
     Tue Jan 18 17:02:58 2005 >>> media-plugins/gst-plugins-alsa-0.8.7-r1

GenCoo Gba # genlop rhythmbox -u
 * media-sound/rhythmbox
 
     Sun Nov  7 10:54:15 2004 >>> media-sound/rhythmbox-0.8.8-r1
Comment 42 John Richard Moser 2005-01-18 19:21:39 UTC
bluefox@icebox /home/shared/audio/mp3/ocremix/new $ cat totem_strace | grep 0x775a7db000
mprotect(0x775a7db000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0


This was in the strace.  This may be a part of what's going on, but I can't get a mapping for it unfortunately.

bluefox@icebox /home/shared/audio/mp3/ocremix/new $ strace rhythmbox 2>&1 | grep PROT_EXEC | grep PROT_WRITE
mprotect(0x70cf4ac000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = -1 EACCES (Permission denied)
Comment 43 John Richard Moser 2005-01-18 19:39:13 UTC
well.  After adding -m:

bluefox@icebox /home/shared/audio/mp3/ocremix/new $ strace rhythmbox 2>&1 | grep PROT_EXEC | grep PROT_WRITE
mprotect(0x7bdfd63000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x4e3a3000
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x4eba3000
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x4f3a3000
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x4fba3000
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x503a3000
mmap(NULL, 262144, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x50ba3000
*CRASH*

-pm is the same deal.  There's a bit of trouble with PaX, but that's not the underlying difficulty.  It ENDS in a segfault even with -psemrx (I'm on amd64)
Comment 44 foser (RETIRED) gentoo-dev 2005-01-19 04:05:11 UTC
i'm not convinced at all that these are actually the same problems.

The initial problem seems to be not-reproducable, the next 2 problems i believe to be hardened related. Could you start getting a debug backtrace, traces are not very helpful.
Comment 45 foser (RETIRED) gentoo-dev 2005-01-23 02:59:23 UTC
*** Bug 79107 has been marked as a duplicate of this bug. ***
Comment 46 foser (RETIRED) gentoo-dev 2005-02-11 05:33:35 UTC
who of you guys is using prelinking ?
Comment 47 Ikke 2005-02-11 06:02:20 UTC
I'm not
Comment 48 foser (RETIRED) gentoo-dev 2005-02-11 07:05:12 UTC
ok, let's rephrase 'hardened and/or prelinking' ?
Comment 49 Ramon de Ruiter 2005-02-11 08:21:33 UTC
Hardened: no
Prelinking: yes
However i no longer use Gentoo anymore, should this one be closed since it doesn't apply to me anymore? Someone else can then open a new bug.
Comment 50 foser (RETIRED) gentoo-dev 2005-03-08 14:42:58 UTC
i've placed some measures to stop prelinking, should take care of most of this stuff I'm pretty sure.