Linux Music Playback Crashes Machine when using MySQL
#1
Heart 
Hi all,

Installed XBMCbuntu and loaded a playlist to test it while hosting a party last weekend. Everything went great and the playlist worked perfectly for 8+ hours.

A few days later I configured XBMCbuntu to use the MySQL database that all my other XBMCs use. Playlist starts ok and runs for 20 or 30 minutes but it always ends with an XBMC hard lock which can only be resolved by rebooting the machine.

I've tried several times today and each ended the same; XBMC hard locks. The log file is filled with errors:

Code:
13:50:46 T:2940701504   ERROR: CAESinkALSA::HandleError(snd_pcm_writei(2)) - snd_pcm_writei returned -11 (Resource temporarily unavailable)
13:50:47 T:2940701504   ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - snd_pcm_writei returned -11 (Resource temporarily unavailable)
13:50:48 T:2940701504   ERROR: Previous line repeats 2 times.

I don't know if these are normal or not. I can see the point where XBMC siezes up:

First Try
Log is too large for XBMCLogs
Code:
# This repeats in what looks like an infinite loop
11:45:18 T:3007575872 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
11:45:18 T:3007575872   ERROR: Open - failed to open source <smb://BAILEYFS01/Music/Pop/80s/Attack of the 80's/03/Frankie Goes To HollyWood - Relax (Remix).MP3>
11:45:18 T:3007575872   ERROR: MP3Codec: Unable to open file smb://BAILEYFS01/Music/Pop/80s/Attack of the 80's/03/Frankie Goes To HollyWood - Relax (Remix).MP3
11:45:18 T:3007575872   ERROR: CAudioDecoder: Unable to Init Codec while loading file smb://BAILEYFS01/Music/Pop/80s/Attack of the 80's/03/Frankie Goes To HollyWood - Relax (Remix).MP3

Second Try
http://xbmclogs.com/show.php?id=13127

Code:
13:50:50 T:3007932224   ERROR: Open - failed to open source <smb://BAILEYFS01/Music/Pop/80s/Attack of the 80's/01/Asia - Heat Of The Moment.mp3>
13:50:50 T:3007932224   ERROR: MP3Codec: Unable to open file smb://BAILEYFS01/Music/Pop/80s/Attack of the 80's/01/Asia - Heat Of The Moment.mp3
13:50:50 T:3007932224   ERROR: CAudioDecoder: Unable to Init Codec while loading file smb://BAILEYFS01/Music/Pop/80s/Attack of the 80's/01/Asia - Heat Of The Moment.mp3
13:50:50 T:3007932224 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder

The M3U playlist was exported from a Windows machine and both these files didn't exist (well they did exist but the casing was wrong in the playlist; e.g. 'Asia - Heat Of The Moment.mp3' was actually 'ASIA - Heat Of The Moment.mp3' on disk

Last weekend when I was using the SQLite default database XBMC seemed to be able to handle files that were missing and move right along without a hitch. This weekend I am using the MySQL database and XBMC hard locks if the file is missing.
Reply

Logout Mark Read Team Forum Stats Members Help
Music Playback Crashes Machine when using MySQL0