Hi,

> Can you tell me what happens if you don't run it in this locale?
>
> > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set
> > to C)

That's set in my ~/.bashrc file for some tests a while ago, so lastmp 
shouldn't use it at all.

> export LANG=C
> export LC=C
> export LC_ALL=C

Plus, the lastfm user has it's shell set to /bin/false and it's home dir does 
not exist. That pretty much keeps it from using any env variable I have 
changed anywhere, right?

> # cat /etc/passwd |grep lastfm
> lastfm:x:107:109::/home/lastfm:/bin/false
> # ls /home/lastfm
> ls: /home/lastfm: No such file or directory

The character might be the first in the multibyte รถ (0xC3 0xB6) found in many 
of my playlist items, although the bug didn't occur while playing such a 
song.

I've set up a (dirty) watchdog to capture the song that makes lastmp crash. 
I'll submit the result when it arrives. It could take several days, weeks 
even, before there's any result. The playlist contains 10923 items at the 
moment.

> while [ 1 ]; do
>   CURRENT=`grep -c UnicodeDecodeError /var/log/lastfm/lastfm.log`
>   if [ $CURRENT -gt 0 ]; then
>     mpc > /tmp/lastmp_crash_song
>     mpc | mail -s "In Memoriam LastMP" [EMAIL PROTECTED]
>     exit
>   fi
>   sleep 1
> done

-- 
Greetings,
Joris


Reply via email to