Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44652 - XMMS 1.2.10-r1 crashes on extensionless mp3's
Summary: XMMS 1.2.10-r1 crashes on extensionless mp3's
Status: RESOLVED DUPLICATE of bug 40726
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 03:25 UTC by Ronald Moesbergen
Modified: 2005-07-17 13:06 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 Ronald Moesbergen 2004-03-14 03:25:07 UTC
If xmms tries to open an mp3 file that does not have the extension '.mp3', it crashes. Also, creating a playlist from an mp3 directory with extensionless mp3 files causes it to crash. I renamed the offending files and after that xmms had no problem creating a playlist or opening the files.

Reproducible: Always
Steps to Reproduce:
1. start xmms
2. click the playlist button, choose 'Add directory'
3. point it to a directory containing mp3 files without an 'mp3' extension
4. crash.

-- OR --

1. doubleclick an mp3 file without 'mp3' extension with xmms as default mp3 player
2. xmms crash

Actual Results:  
xmms crashed

Expected Results:  
create a nice playlist.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X alsa arts avi cdr crypt dvd encode fam gif gtk gtk2 java jpeg kde mmx
moznocompose moznoirc moznomail mpeg opengl pam pdflib png qt quicktime readline
samba sse ssl tiff truetype x86 xmms zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-14 11:22:48 UTC
Could you file this bugreport upstream at bugs.xmms.org and provide a link to that bug in this report?

This is an upstream bug, and the xmms developers should look into it.

Thanks
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-24 16:47:46 UTC
what version of xmms do you experience this with?  I have 1.2.10-r1, and the file will play with the mad plugin enabled, and it will be ignored by the default mpg123 plugin.
Comment 3 Ronald Moesbergen 2004-03-25 11:04:04 UTC
I'm using version 1.2.10-r1 with the default mpg123 plugin.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-25 11:28:35 UTC
what other plugins do you have installed?  You can run:

qpkg -I -v -f /usr/lib/xmms

to get a list.

Try to figure out the minimal set of plugins neccessary to cause the problem, as I can't verify it with my configuration... and the only difference in our CFLAGS is I have pentium3 and you have pentium4...

Comment 5 Ronald Moesbergen 2004-03-25 11:37:45 UTC
This is what i get:

bash-2.05b$ qpkg -I -v -f /usr/lib/xmms
media-libs/faad2-2.0 *
media-libs/flac-1.1.0 *
media-sound/normalize-0.7.6-r1 *
media-sound/xmms-1.2.10-r1 *

I don't have any plugins running other than the input/output plugins (input mpg123, output alsa)
Also, I recompiled with -march=pentium3, but no effect. Just to be sure, this is what i'm doing:
- Rename blabla.mp3 to blabla
- run 'xmms blabla'
- Then i get this:
bash-2.05b$ xmms blabla

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.

Thanks.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-25 13:15:15 UTC
ok... i can now reproduce it... I was loading the mp3 through the gui...

did you file a bug upstream?
Comment 7 Ronald Moesbergen 2004-03-25 13:40:27 UTC
No, i didn't. Gentoo policy :)
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-25 19:37:12 UTC
It's a faad2 problem.

*** This bug has been marked as a duplicate of 40726 ***