Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28958 - xmms does segmentation fault when trying to open certain files
Summary: xmms does segmentation fault when trying to open certain files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-17 03:33 UTC by Alvaro Moran
Modified: 2004-01-22 12:31 UTC (History)
3 users (show)

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


Attachments
the xmms strace (strace-xmms.log,712.39 KB, text/plain)
2003-09-17 12:43 UTC, Alvaro Moran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Moran 2003-09-17 03:33:37 UTC
I'm using xmms 1.2.7 just re-emerged, and if I try to open certain files, xmms closes. If I 
launch it from a console, this is the answer:  
 
bash-2.05b$ xmms 
 
[.. here I added some song dragging it into the playlist..] 
 
Segmentation fault 
 
You've probably found a bug in XMMS, please visit 
http://bugs.xmms.org and fill out a bug report. 
 
Note that this works just with some songs, not with all. 

Reproducible: Always
Steps to Reproduce:
1. Open xmms 
2. Add a song (pass it to xmms through arguments in a console) 
Actual Results:  
xmms sends SEGFAULT signal 

Expected Results:  
play the song or enqueue it 

bash-2.05b# emerge info 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gaming-r3) 
================================================================= 
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) Processor 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=i686 -mcpu=athlon-tbird -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="oss crypt foomaticdb jpeg libg++ mad mikmod mmx ncurses nls quicktime spell 
xml2 directfb alsa gdbm berkdb slang readline tetex bonobo svga tcltk java mysql X tcpd 
pam libwww ssl perl python esd imlib oggvorbis gnome motif opengl 3dnow aalib acpi apm 
arts avi cdr cups dvd encode gif gpm gtk kde mozilla mpeg -pcmcia pdflib png qt sdl tiff 
truetype usb xmms xv zlib x86"
Comment 1 SpanKY gentoo-dev 2003-09-17 04:02:57 UTC
your CFLAGS and CXXFLAGS seem to be a little outta sync ...
CFLAGS="-O3 -march=i686 -mcpu=athlon-tbird -funroll-loops -pipe" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 

could you try re-emerging like this:
`env CFLAGS="-pipe" CXXFLAGS="-pipe" emerge xmms` and see if it still crashes ?
and if it does, try xmms-1.2.8 ...
`env ACCEPT_KEYWORDS="~x86" CFLAGS="-pipe" CXXFLAGS="-pipe" emerge xmms`
Comment 2 Alvaro Moran 2003-09-17 11:26:25 UTC
I did 
env CFLAGS="-pipe" CXXFLAGS="-pipe" emerge xmms 
and it still crashes. I also tryed xmms-1.2.8: 
env ACCEPT_KEYWORDS="~x86" CFLAGS="-pipe" CXXFLAGS="-pipe" emerge xmms 
and it still crashes! 
 
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-17 11:41:58 UTC
what version of gcc did you emerge xmms with?
Comment 4 Alvaro Moran 2003-09-17 11:50:24 UTC
bash-2.05b$ gcc --version 
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) 
Copyright (C) 2002 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-17 12:02:03 UTC
please attach strace output:

strace xmms &>strace-xmms.log

and make it crash, then attach the log file to this bug report, please
Comment 6 Alvaro Moran 2003-09-17 12:43:04 UTC
Created attachment 17906 [details]
the xmms strace

I did 'strace xmms &>strace-xmms.log' and make it crash
Comment 7 Alvaro Moran 2003-09-17 12:51:39 UTC
The operations I made for creating the attached strace were: 
 
1) strace xmms &>strace-xmms.log 
2) Dragged from konqueror the file '/home/alvaro/antXmms_Tribalistas - Ja sei namorar.mp3' to 
the playlist of xmms 
3) xmms crashes 
 
Note that I just renamed the file to remember one of the files that can give me problems. 
Comment 8 J. Ellis (RETIRED) gentoo-dev 2003-09-20 00:54:18 UTC
Couple of questions:

- is this consistent, ie. certain files always crash xmms?
- does this happen if you add the file to playlist using xmms? ie not dragging from kde.
- which mp3 plugin are you using?

Comment 9 Alvaro Moran 2003-09-22 01:22:27 UTC
Wow!!! You solved my problem!!! I looked for my input input pluguns and I found that it was using 
two plugins for mp3 input, and one of them make it crash! 
If I disable "MAD MPEG Decoder Plugin 0.5.1" (libxmmsmad.so) it actually works properly with all 
songs I have (I think it is now using libmpg123.so). 
 
This bug is not actually solved, but this is a good workaround... 
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-01-21 00:42:04 UTC
Alvaro, can you please try xmms-mad-0.5.4 (it's in ~x86) to see if this fixes your problem with the MAD plugin?
Comment 11 Alvaro Moran 2004-01-22 10:48:52 UTC
Yes! It did work with 
ACCEPT_KEYWORDS="~x86" emerge media-plugins/xmms-mad
Finally I can use mad plugin :-)

Well, Thank you very much Jeremy, ancd also thaks to all gentoo team!

Ah: should I change the status to "fixed"?
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-22 12:31:36 UTC
good show, jeremy