Bug 3618 - Squeezebox 2 & 3 reboot, never begin playing music with 6/20 (and earlier) nightlies...
: Squeezebox 2 & 3 reboot, never begin playing music with 6/20 (and earlier) ni...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: All Other
: P3 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-20 17:51 UTC by James Lynch III
Modified: 2009-09-08 09:16 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
log snippet (330.79 KB, text/plain)
2006-06-20 17:56 UTC, James Lynch III
Details
mp3 file referenced in log snippet (2.37 MB, application/octet-stream)
2006-06-21 09:35 UTC, James Lynch III
Details
new log snip showing constant inserts of the same track (1.18 KB, text/plain)
2006-06-21 16:35 UTC, James Lynch III
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Lynch III 2006-06-20 17:51:59 UTC
Also tested remote streaming, which works fine. Choosing content with the remote or the browser interface causes a player reboot, and nothing will play.
Comment 1 James Lynch III 2006-06-20 17:56:48 UTC
Created attachment 1277 [details]
log snippet

"I'm In Love With A Girl" is an example of a selection that causes player reboot... other DB activity shows adding content to be played through browser/remote streaming interface
Comment 2 Evan Rabeck 2006-06-20 20:08:03 UTC
I have been experiencing crashes like this as well. Most of my collection is AAC which works fine but all MP3 files seem to cause crashes.
Comment 3 Blackketter Dean 2006-06-20 20:28:21 UTC
Hi James:  Would love to understand this better.  The player itself reboots (i.e. you see the Slim Devices and Squeezebox logos) or the server restarts?  Also, what kind of file are you trying to play when it reboots?  Can you attach an example file here?  Also, can you note a URL for a working radio station.  Finally, are you running a 6.3 nightly or a 6.5 nightly?
Thanks,
dean
Comment 4 James Lynch III 2006-06-21 03:23:11 UTC
6.5 nightlies... last one used was 6/20, installed cleanly (i.e., wiped all Slim files from OS)

It is a real player reboot, with the Squeezebox logo and everything. Playing any mp3 file causes the crash.

Remote Streaming (I don't really use radio features) tested using iTunes pointing at http://lynchcube.homedns.org:9000/stream.mp3 and content selected using the browser interface, Fishbone skin. Any mp3 file plays properly in this scenario.
Comment 5 Evan Rabeck 2006-06-21 07:04:06 UTC
I have played some mp3 radio streams without problems - looks like just an issue with local files. I am also seeing a try player reboot - it seems to be instantaneous - no sound is played before the crash. As a workaround I have edited my convert.conf to include:

mp3 wav * *
        [mpg123] -s -q $FILE$

To allow me to listen to those files for now. 
Comment 6 Richard Titmuss 2006-06-21 09:24:46 UTC
James/Evan,

I am trying to receate this with the latest slimserver 6.5 from svn, but I can play mp3 files just fine. Could you attach an mp3 file that causes the player to boot to the bug report please.

Also more information about your system (e.g. operating system, etc) might prove useful.

Thanks,
Richard
Comment 7 James Lynch III 2006-06-21 09:35:00 UTC
Created attachment 1278 [details]
mp3 file referenced in log snippet
Comment 8 James Lynch III 2006-06-21 09:38:08 UTC
Just to re-confirm... remote streaming to a software player (iTunes) works with this nightly, tested with multiple MP3s.

The SB3 (local network) and the SB2 (connected over the Net) reboot immediately when an MP3 is selected to play, whether with the remote or the web interface. I've tested with multiple MP3s, but am uploading one for your testing convenience.

Server os is Mac 10.4.6, 1.5 gig RAM, iTunes libary on internal drive.
Comment 9 Evan Rabeck 2006-06-21 10:05:21 UTC
SlimServer Version: 6.5b1 - 8069 - Mac OS X 10.4.6 (8I1119) - EN - utf8

    Hardware Overview:

      Machine Name: iMac
      Machine Model: iMac4,1
      CPU Type: Intel Core Duo
      Number Of Cores: 2
      CPU Speed: 2 GHz
      L2 Cache (shared): 2 MB
      Memory: 1 GB
      Bus Speed: 667 MHz
      Boot ROM Version: IM41.0039.B00
      Serial Number: QP61214RU2S
      SMC Version: 1.1f5

And had to change convert.conf entry to:

mp3 wav * *
        [mpg123] -w - -q $FILE$

because http://wfuv.ic.llnwd.net/stream/wfuv_wfuv sounded like The Chipmunks.
Comment 10 James Lynch III 2006-06-21 15:47:22 UTC
Must have been a db problem... installed 6/21 nightly, cleared database, and things now seem to be working... 
Comment 11 Chris Owens 2006-06-21 16:14:45 UTC
Assigning it to myself and setting target to 6.5 (since it was filed against 6.5) for me to look at.  Even though James's problem is fixed, firmware crashes deserve a try at reproducing them.
Comment 12 James Lynch III 2006-06-21 16:34:04 UTC
spoke too soon... Played three songs, turned off the player, went to grocery store, came back, turned it on. 

It turned back on to the last song played. I hit the remote button to advance to the next song and the SB3 rebooted.

There seems to be endless DB Inserts going on in the log...
Comment 13 James Lynch III 2006-06-21 16:35:04 UTC
Created attachment 1280 [details]
new log snip showing constant inserts of the same track
Comment 14 James Lynch III 2006-06-21 16:55:28 UTC
It turns out that I'm getting a db not configured message on startup, even though the instance seems to have been built properly.  

Log: 

2006-06-21 16:46:14.5274 Your data source needs to be configured. Please open your web browser,
2006-06-21 16:46:14.5275 go to the following URL, and click on the "Server Settings" link.

2006-06-21 16:46:14.5279 The URL to access SlimServer is now:
	http://cube.local:9000/
2006-06-21 16:46:14.5281 SlimServer persist playlists...
2006-06-21 16:46:14.5285 SlimServer done init...

Prefs:

csrfProtectionLevel: 1
dbpassword: ''
dbsource: dbi:mysql:hostname=127.0.0.1;port=9092;database=%s
dbusername: slimserver
disableStatistics: 0
disabledformats
Comment 15 Chris Owens 2006-06-21 17:00:38 UTC
Reassigning from Richard to Dan to eyeball the DB issue, since it doesn't sound like a firmware bug any more.
Comment 16 Dan Sully 2006-06-21 17:16:46 UTC
James - do you have an audiodir set in Settings? Or are you using iTunes only?
Comment 17 James Lynch III 2006-06-21 17:21:42 UTC
iTunes only...
Comment 18 Dan Sully 2006-06-21 17:25:54 UTC
And iTunes is set to "Yes" in server Settings?

Can you try to Wipe & Rescan the database, making sure that iTunes is set to yes?

Thanks
Comment 19 James Lynch III 2006-06-21 17:32:23 UTC
Which "wipe" method would you like me to use?

1. From the web UI (I've done this a couple of times)

2. Blow away from command line (if so, I could use a little help in wiping just your instance, as mysql seems to be running from inside the PrefPane package)

iTunes is set to Yes.
Comment 20 Dan Sully 2006-06-21 17:34:47 UTC
Subject: Re:  Squeezebox 2 & 3 reboot, never begin playing music with 6/20 (and earlier) nightlies...

Wipe & Rescan from the web ui.

Comment 21 Chris Owens 2006-06-21 17:59:44 UTC
James,

When you say 'reboot' or 'crash' do you mean the device itself crashes?  Like, it stops in the middle of a song and when you look up it's showing the splash screen and trying to reconnect to your network?  Or does it lock up, and you have to pull the plug to bring it back to life?  

Or does it just go to sleep because it can't reach the server (but hitting a button on the remote brings up the 'Problem: Network appears disconnected' or some other expected screen?

This could be two separate bugs needing attention.
Comment 22 James Lynch III 2006-06-22 10:44:58 UTC
this is a full player reboot... blank, to the logo screen, onto the config screen... 
Comment 23 Dan Sully 2006-06-23 14:53:09 UTC
James - your database looks ok.

Are you still having player problems?
Comment 24 James Lynch III 2006-06-23 15:12:22 UTC
I'm going to do a dump and rescan... There is some metadata that isn't being parsed correctly... the replacements album "don't you know who I think I was" is picking up tracks from a green day album... these tracks have a slash in their names... could that cause a parsing issue?

Right now, trying from the SB2 at my office connected to the server over the internet, I can select a track, hit play, and it won't play... no reboot though... I will report back after the rescan is complete.
Comment 25 James Lynch III 2006-06-23 15:44:18 UTC
Choosing a single song from an album, after rebuilding the database... I see the green progress bar in the Fishbone skin on the WebUI advance a little bit, telling me that the server knows where the song is... but nothing gets to the player. It is not rebooting... 
Comment 26 James Lynch III 2006-06-26 17:26:59 UTC
Condition remains in latest nightly...

This might be a related condition:

http://forums.slimdevices.com/showthread.php?t=24864
Comment 27 Dan Sully 2006-06-29 10:13:32 UTC
This is fixed - the problem was with the iTunes scanning. See change 8203

James - I already updated your cube.