Bug 1486 - "High" Unicode characters cause Slimserver crash with SliMP3 player.
: "High" Unicode characters cause Slimserver crash with SliMP3 player.
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.0.2
: Macintosh All
: P3 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-02 18:55 UTC by S. Ben Melhuish
Modified: 2008-08-18 10:54 UTC (History)
0 users

See Also:
Category: ---


Attachments
File with Cyrillic album title (1.20 MB, audio/mpeg)
2005-05-03 08:17 UTC, S. Ben Melhuish
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Ben Melhuish 2005-05-02 18:55:20 UTC
A few previous bugs related to non-ASCII characters has been fixed; here's a new one I found while 
testing the fixes' limits.

Non-ASCII, non-Windows-"ANSI" characters cause the Slimserver (official 6.0.2, not a nightly) to crash 
when they should be displayed on a SliMP3 player. The web UI is fine.

An example of this is an album with the title ??????? (Cyrillic characters).

MP3 file, tagged using iTunes on OS X. I'll provide a sample file if that would help.

Initial priority (P3) is from my perspective (I won't run into this often in normal use); I imagine some 
international users might find this higher priority.
Comment 1 KDF 2005-05-03 00:57:42 UTC
what is the actual crash message from the log?
is it similar to what is reported in bug 1463
Comment 2 KDF 2005-05-03 00:59:03 UTC
oh, and could you possibly attach one of the songs from that album to this bug?
Comment 3 S. Ben Melhuish 2005-05-03 08:17:39 UTC
Created attachment 485 [details]
File with Cyrillic album title
Comment 4 S. Ben Melhuish 2005-05-03 08:20:58 UTC
It looks similar to bug 1453 (1463 looks unrelated), though without as much
verbose commentary around it.  From the log file:

2005-05-02 18:44:08.0048 SlimServer done start...
Wide character in send at
/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Slim/Player/SLIMP3.pm
line 201.
2005-05-02 18:46:36.6688 Got to the END.

No other relevant-looking entries.  I'm only SSHed to the computer, no HTTP or
UI access, so can't tell what the d_* settings are.
Comment 5 S. Ben Melhuish 2005-05-03 08:22:25 UTC
(Sorry about the "???????" text in an earlier comment; I pasted the Cyrillic
text, and just sort of assumed it'd be transmitted/stored fine.)
Comment 6 Blackketter Dean 2005-05-20 16:46:44 UTC
Dan, do we need a "use bytes;" before that send call or is the problem deeper than that?
Comment 7 KDF 2005-06-08 11:05:46 UTC
The same file included here used to display in web interface with proper
cyrillic.  After change 3323, it seems to display as ?????? in web interface and
on squeezebox 2.
Comment 8 Dan Sully 2005-07-05 18:53:06 UTC
I've checked in what I believe is a fix as subversion change 3620.

The server will no longer crash - but it will display garbage on the SLiMP3 display. Not much we can do 
there.

Let me know if this works for you.

Thanks.
Comment 9 KDF 2005-07-08 01:14:27 UTC
supplied test file works for me, as far as no crash.
however, display is ?????? for album in SB2.  Guess that makes sense until there
are cyrillic fonts :)
Comment 10 Chris Owens 2008-03-11 11:28:14 UTC
This bug was marked resolved in Slimserver 6.1, which is several versions ago.  If you're still seeing this bug, please re-open it.  Thanks!