Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16686 - xmms / GLib crash with libxmmsmad
Summary: xmms / GLib crash with libxmmsmad
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-02 15:59 UTC by Jörg Dietrich
Modified: 2004-02-17 03:39 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 Jörg Dietrich 2003-03-02 15:59:56 UTC
xmms-1.2.7 with libxmmsmad plug-in (0.5.1) crashes with some mp3 files with the
following error:

joerg@leviathan Bruce Springsteen - Nebraska $ xmms "Bruce Springsteen -
Nebraska - 03 Mansion On The Hill.mp3"

Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so",
[lots of these]
GLib-ERROR **: could not allocate -2147475456 bytes
aborting...
Aborted

The same file plays without problems if the libmadxmms plug-in is disabled 
(using libmpg123). As this is a copyrighted file I cannot offer a public 
download, but I am willing to make the file available upon request to the person
to whom is bug will be assigned.

Here is the emerge --info:

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo//
ftp://ftp.easynet.nl/mirror/gentoo// ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://www.fhh.opensource-mirror.de/gentoo.org/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm arts libg++ mikmod mmx mpeg ncurses nls png gdbm berkdb slang
nas svga java guile X gpm tcpd libwww esd gnome qt motif opengl -kde cups encode
tcltk alsa avi cdr crypt mbox mozilla oggvorbis quicktime sasl sdl ssl xml2 xmms
xv zlib kerberos python tetex truetype gb bonobo libgda mpg nla oss pam pdflib
perl xml gd gif gtk gtkhtml imlib readline spell tiff jpeg"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe"
CXXFLAGS="-march=athlon -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-03 18:41:15 UTC

*** This bug has been marked as a duplicate of 16687 ***
Comment 2 rob holland (RETIRED) gentoo-dev 2003-05-26 12:11:52 UTC
J
Comment 3 rob holland (RETIRED) gentoo-dev 2003-05-26 12:11:52 UTC
Jörg,

Can you email me an mp3 file which causes this behaviour? Preferably a short mp3 :)

Thanks
Comment 4 rob holland (RETIRED) gentoo-dev 2003-05-26 12:12:33 UTC
Not a duplicate
Comment 5 J. Ellis (RETIRED) gentoo-dev 2003-05-27 02:16:11 UTC
Can you also emerge mp3info and attach the output of mp3info -x to this report?

Thanks!
Comment 6 J. Ellis (RETIRED) gentoo-dev 2003-06-20 17:01:05 UTC
Is this still an issue? Can't help without further information. Re-open if you have something for us.
Comment 7 Jörg Dietrich 2003-06-21 00:40:42 UTC
Moved house, was without internet access for until yesterday (major incompetence 
of access provider).

Output of mp3info -x:
File: Bruce Springsteen - Nebraska - 03 Mansion On The Hill.mp3
Title:   Mansion On The Hill            Track: 1
Artist:  Bruce Springsteen
Album:   Nebraska                       Year:  
Comment:                                Genre: Oldies [11]
Media Type:  MPEG 1.0 Layer III
Audio:       128 KB/s, 44KHz (stereo)
Emphasis:    none
CRC:         No
Copyright:   No
Original:    Yes
Padding:     Yes
Length:      4:08

Rob, 

is a 3.8MB acceptable via email? I could also put it on a password protected ftp 
server and send you the login.
Comment 8 rob holland (RETIRED) gentoo-dev 2003-06-23 02:28:21 UTC
The latter would be great thanks :)
Comment 9 rob holland (RETIRED) gentoo-dev 2003-06-26 04:25:12 UTC
I have the file...will test as soon as I get a chance
Comment 10 J. Ellis (RETIRED) gentoo-dev 2003-07-03 23:55:38 UTC
Rob, can you put the mp3 somewhere i can get it?
Comment 11 Nick Hadaway 2003-07-17 03:35:26 UTC
Just in case the problem is with the underlying mad library... I have updated xmms-mad to 0.5.1-r1 which depends on the newer libmad/libid3tag libraries.

Maybe this will solve your crashing problem?
Comment 12 Jörg Dietrich 2003-08-30 12:48:07 UTC
I don't find any xmms-mad-0.5.1-r1 ebuild on my system. /usr/portage/media-plugins/xmms-mad/ contains  

xmms-mad-0.0.9.ebuild
xmms-mad-0.1.1.ebuild  
xmms-mad-0.5.1.ebuild
Comment 13 SpanKY gentoo-dev 2003-09-12 20:52:44 UTC
i added xmms-mad-0.5.4 to portage and xmms-1.2.8-r1 ...

could you upgrade to both of those and see if this bug still exists ?
Comment 14 Jörg Dietrich 2003-09-14 01:23:07 UTC
Bug still exists after upgrade.
Comment 15 Nick Hadaway 2004-01-21 23:14:27 UTC
I know this seems like an endless cycle of testing... but I committed a new version of xmms-mad to portage a couple of days ago (0.5.6)  Please test and let me know if you find problems with this new build.  Also please make sure that you are using mad-0.15b instead of the 0.14 series as well.

There are limitations to the mad plugin such as, it cannot play shoutcast streams... but in my testing so far, I have not seen problems with it playing local mp3s.
Comment 16 Jörg Dietrich 2004-01-25 03:18:37 UTC
It doesn't crash anymore on mp3s which caused a crash with xmms-mad-0.5.4.

This technically fixes the bug. However, one mp3 that previously caused a crash now produces funny sounds in the beginning. It seems that the fault tolerance of the standard xmms mpg plugin is better (also true for mpg321 and mpg123).

Thanks for following this bug over months.
Comment 17 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-17 03:39:13 UTC
marking fixed... the fault tollerance should be dealt with by the mad developers...