Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16936 - xmms crashes when gigantic directory tree is loaded
Summary: xmms crashes when gigantic directory tree is loaded
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-05 20:46 UTC by ebnf
Modified: 2003-04-21 01:46 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 ebnf 2003-03-05 20:46:49 UTC
I am using media-sound/xmms-1.2.7-r19.  I open the playlist, click the button to
add a file and hold for add directory.  I navigate to the directory and click on
it to load.  Xmms immediately segfaults.  This directory has many
sub-directories and adding a sub-directory by itself works fine.

  Main directory has >=500 directories and >=1000 files, each sub-directory has
20-50 files.  I had tried toggling titles from on load to display and it makes
no difference, switching all plugins on/off and switching sound output plugins
has no effect.

The directory is mounted from a vfat (fat32) partition, if that helps any.  Am
currently emerging glibc 2.3.2 and seeing if that makes a difference.

Reproducible: Always
Steps to Reproduce:
1.  Load directory of many files.
2.  Get the friendly message "Segmentation fault."
3.  Cry.

Actual Results:  
Xmms crashed and much crying occured.

Expected Results:  
Files load into playlist for music listening happiness.

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) XP
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/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="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb
slang readline arts nas bonobo svga tcltk java guile mysql X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla
apache2"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Guy 2003-03-23 12:12:47 UTC
In my case, xmms doesn't crash but it will no longer load my directory tree at all.

My directory tree consists of over 5000 songs (all of which I ripped myself from my own CD collection) spread across ~300 directories.

Prior ebuilds of xmms-1.2.7 did not have this problem. I tried to go back to an earlier ebuild, but all earlier ebuilds are now gone from portage.

===========================================================
dragon etc # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(TM) XP1500+
GENTOO_MIRRORS=" ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/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/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /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 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Comment 2 Guy 2003-03-25 18:24:57 UTC
FWIW - I did a shift-L (play directory) rather than opening a 'load files' dialog box. That worked fine with no problem. xmms is now playing my tunes correctly.

:-)
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-21 01:46:04 UTC
closing