Bug 75733 - invalid unicode characters cause directories to add to all playlists
invalid unicode characters cause directories to add to all playlists
Status: CLOSED UPSTREAM
Product: Red Hat Linux
Classification: Retired
Component: xmms (Show other bugs)
8.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Colin Walters
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-11 13:02 EDT by Chris Ricker
Modified: 2007-04-18 12:47 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-27 15:29:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
dump of /export/fs/mp3s inode (16.00 KB, application/octet-stream)
2002-10-11 13:02 EDT, Chris Ricker
no flags Details

  None (edit)
Description Chris Ricker 2002-10-11 13:02:14 EDT
Directories with invalid unicode characters get automagically added to *all*
playlists in xmms.

Here at work we have a NFS shared directory, /export/fs/mp3s, under which users
can put personal CDs they've ripped to listen to at work.

One of our users with questionable musical taste, ripped a CD, "Misty Eyed
Adventures", by an artist named Maire Brennan.  This was ripped under RH 7.1 or
7.2 in either C or ISO8859-1 or ISO8859-15 modes, creating a directory named

/export/fs/mp3s/Maire Brennan - Misty Eyed Adventures

Now, we have users running RHL 8.0.  When they access any other directory under
the /export/fs/mp3s directory (say, /export/fs/mp3s/White_Noise, for example) in
xmms, the files in /export/fs/mp3s/Maire Brennan - Misty Eyed Adventures
automatically get added to the XMMS playlist.

The problem appears to be that the a in Maire is encoded improperly for Unicode
-- on RHL 8 machines, this directory appears as M ire Brennan, and Nautilus even
warns that it's invalid Unicode.

I'll attach a dump of the /export/fs/mp3s directory inode.  The inode in
question (the Maire Brennan directory) is 13025284.

By itself, the change in encoding from 7.2 to 8.0 isn't a problem.  The problem
is that xmms is automatically adding this directory to all playlists. 
Presumably it's getting confused by the invalid unicode, but some of our users
are already using this bug in xmms for practical jokes....
Comment 1 Chris Ricker 2002-10-11 13:02:50 EDT
Created attachment 80024 [details]
dump of /export/fs/mp3s inode
Comment 2 Chris Ricker 2002-10-11 13:12:24 EDT
It definitely appears to be due to Unicode wackiness.  If the users run

LANG=C xmms &

then the badly encoded directory doesn't automagically get added to their playlists
Comment 3 Chris Ricker 2002-10-11 13:15:57 EDT
Hmm, bugzilla automatically stripped it.  The "a" in Maire above has an accent
above it.
Comment 4 Colin Walters 2004-09-27 15:29:18 EDT
Moved upstream here:
http://bugs.xmms.org/show_bug.cgi?id=1918

Note You need to log in before you can comment on or make changes to this bug.