Bug 10325 - Player UI (SB 3/Classic) clock gets stuck - does not update after a WOL
: Player UI (SB 3/Classic) clock gets stuck - does not update after a WOL
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 7.3.1
: PC Windows Vista
: -- normal with 10 votes (vote)
: 7.3.3
Assigned To: Spies Steven
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-14 11:35 UTC by Dominic Evans
Modified: 2009-09-01 15:33 UTC (History)
14 users (show)

See Also:
Category: ---


Attachments
--debug server.timers=info (17.98 KB, text/plain)
2009-04-07 08:44 UTC, Michael Herger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Evans 2008-12-14 11:35:21 UTC
After my server wakes the SB3's clock sticks on the time the server wakes up.
Comment 1 Andrea 2008-12-15 01:58:03 UTC
I posted logs and comment here: http://forums.slimdevices.com/showthread.php?t=56079
Comment 2 Chris Owens 2008-12-18 11:33:27 UTC
This appears to be the correct thread: http://forums.slimdevices.com/showthread.php?t=56226 :)
Comment 3 James Richardson 2008-12-19 08:03:05 UTC
Changing target to next release
Comment 4 James Richardson 2008-12-19 09:43:44 UTC
Please don't preset the Target on bugs, that will get done during bug review
Comment 5 Chris Owens 2008-12-22 09:47:03 UTC
slimproto log might be interesting
Comment 6 Marc Auslander 2009-01-01 15:05:01 UTC
Any chance this is related to the controller time stuck problem I reported in bug 10498?
Comment 7 James Richardson 2009-01-07 15:01:00 UTC
(In reply to comment #6)
> Any chance this is related to the controller time stuck problem I reported in
> bug 10498?
> 

It could be, since SC drives the clock function for both players.

Can you attach a log file?
Comment 8 James Richardson 2009-01-07 15:01:30 UTC
*** Bug 10498 has been marked as a duplicate of this bug. ***
Comment 9 Andrea 2009-01-07 17:33:57 UTC
Here's a log, with proto activated as requested in the Beta forum.

http://pastebin.com/f679a8124

Server was put to standby in the morning, turned back on at 22.31, clock remained stuck.

This happened by waking up the server with the power button on the case, not by WOL.
Comment 10 Oscar Forsstrom 2009-01-07 23:21:27 UTC
I am experiencing the same kind of problem with my SB 2, firmware 121. It started when I installed 7.3.1
Comment 11 Marc Auslander 2009-01-08 08:22:06 UTC
I reported 10498 on the controller.  I haven't seen it again.  However, I do not use WOL - my SC runs 24/7.  So whatever caused my problem, it is NOT WOL.
Comment 12 James Richardson 2009-01-08 09:56:47 UTC
Looking at this bug now, attempting to reproduce and generate logs.  Target will be changed once we understand the cause of the bug.
Comment 13 Dieter 2009-01-09 04:30:55 UTC
I have the same problem randomly on my boom and on squeezebox2 and squeezebox3 when waking up the server from Windows standby mode (running SC 7.3.2).
Comment 14 James Richardson 2009-01-09 06:56:39 UTC
Everyone with this error - please list what 3rd party plug ins you are using.

I have YET to reproduce this issue.

It would also be helpful to have step - by - step instructions on a reproducible case, as well as LOG files.

Please turn the following logs to DEBUG, reop the error, then attach the logs to this bug:

network.protocol
network.protocol.slimp3
network.protocol.slimproto
Comment 15 Andrea 2009-01-09 11:14:39 UTC
I have only LazySearch, latest version.
As far as the logs you ask for, I'll activate them and report back once the error happens again.
Comment 16 Andrea 2009-01-10 02:28:18 UTC
James, here's the new log with the settings you asked for:

http://pastebin.com/f3fc4793e

The server woke up at 11.09 and the clock remained stuck to 11.09 until I stopped the service and copied the log to pastebin.

I hope this will help.
Cheers!
Comment 17 Rafael Lotufo 2009-01-10 06:08:56 UTC
I also have this problem, no with WOL but waking the computer from standby with Windows Tasks.

I have the following plugins installed:
SuperDateTime ScreenSaver 5.8.2
Music Information Screen 4.3.6

Thanks!
Comment 18 Chris Owens 2009-01-12 09:33:58 UTC
Is there some interaction between the players getting powered off and the server waking up?  Like, is the player power disconnected, then the server sleeps, then the player is powered up and the WOL is sent?

Another possibility, could you have a windows clock display up when the server is rebooted?  Is the overall windows clock incorrect after the WOL?

If you just leave it alone for a long time, does it eventually correct itself?

Comment 19 Oscar Forsstrom 2009-01-12 09:45:17 UTC
OK, this is the situation for me:

I put my computer in standby during night (the computer which runs SqueezeCenter). In the morning I power it on. Then the display gets stuck. I am not really sure, but I think it is on the time when I powered on my computer. It stays this way for at least several hours. The only way I have found which sets time correctly is to power cycle the Squeezebox...

I am not running any special plugins at all.
Comment 20 Rafael Lotufo 2009-01-12 09:46:48 UTC
>Is there some interaction between the players getting powered off and the
server waking up?  Like, is the player power disconnected, then the server
sleeps, then the player is powered up and the WOL is sent?

No. Only the server is put in stand by. The player is never turned off.

>Another possibility, could you have a windows clock display up when the server
is rebooted?  Is the overall windows clock incorrect after the WOL?

The windows clock is correct.

>If you just leave it alone for a long time, does it eventually correct itself?
It does not correct itself, unless you turn the player on.

It seems that when the server turns on again (actually it was never turn off exactly, it is put into stand by, so the server isn't started again, it just resumes from where it was before), it sends some message to the player, and this makes the players clock freeze. Or else the server is always sending the the same time to the player, not increasing the minutes or seconds.

Comment 21 Rafael Lotufo 2009-01-12 09:48:19 UTC
Yes, the time that gets stuck is the time the computer turns on again. From then on, the computer's time continues normally, but the player's is never updated.
Comment 22 Dieter 2009-01-12 09:52:06 UTC
In my case the server was not rebooted but only in Windows standby mode. I have set the server to go in standby mode after 45 min idle time. I have turned off my squeezebox using the remote and then the server went into standby mode after some time (this could be much later than 45 min after having turned of the squeezebox since there is a further computer which sometimes has a connection to the server which prevents standby mode of the server).

But finally the server was in standby mode which could be seen on the blank (black) display of the squeezebox. I then pressed the power button on the remote which does not directly turn on the squeezebox (since the server is in standby) but which brings the server back from standby mode. After that the squeezebox was still powered off but now displayed the correct current time which was however  freezed immediately (the seconds were not running). When I then again pressed the power button on the remote the squeezebox turned finally on and shows the normal menu. I then turned power off again to display the time and now it was correctly running.
Comment 23 Michael Herger 2009-01-13 02:33:37 UTC
do all of you "power off" (using the remote button) the SB before the computer
goes to sleep?
Comment 24 Dominic Evans 2009-01-13 02:38:26 UTC
Sometimes, sometimes not - does not seem to make any difference.


(In reply to comment #23)
> do all of you "power off" (using the remote button) the SB before the computer
> goes to sleep?
> 

Comment 25 Michael Kunzmann 2009-01-13 02:41:52 UTC
I also saw this error this morning again.

Setup:

WHS running a 7.3.2 build of squeezecenter.
Server goes to hibernation mode using the server power control plugin after 30
minutes of inactivity.
Usually two squeezeboxes are connected.
One Boom and one Classic. (all connected through WLAN).
All players where powered off before the server went into hibernation.
(Power Save plugin powers off all players after 15 minutes idle and the server
power control plugin will also power off players before going to standby).

In the morning the server wakes at 6:20. (programmed in the server)
The boom had an alarm scheduled at 6:45 which worked as expected.
At about 7:00 I had a look at the classic which was still showing 6:20 on the
display.
Comment 26 Andrea 2009-01-13 09:36:08 UTC
(In reply to comment #23)
> do all of you "power off" (using the remote button) the SB before the computer
> goes to sleep?
> 

Yup, even if the SB is powered off the bug occurs just the same.

Comment 27 John Rozzell 2009-01-17 06:59:40 UTC
Here's my tuppence worth:

I've only seen this happen once so far with the Date and Time screensaver but I did see it a few times over Christmas with the Snow screensaver activated.  The falling snowflakes just froze in place leading me to think my Squeezebox 3 had crashed or something.  Turning the squeezebox on and off again with the remote cleared it.

When it happened with the Date and Time screensaver I was already aware of this bug (courtesy of the forum) so I ignored it.  When I looked a few hours later it had indeed sorted itself out.  I'm afraid I can't say whether this was as a result of something I did with my PC or if it just unstuck itself.

All the above happened while I wasn't using the Squeezebox so it was permanently in Standby (apart from the aforementioned time I switched it on and off again to clear it).

I just thought it was worth mentioning that this appears to be an issue with screensavers, rather than specifically a clock display problem.
Comment 28 Oscar Forsstrom 2009-01-21 09:12:20 UTC
(In reply to comment #23)
> do all of you "power off" (using the remote button) the SB before the computer
> goes to sleep?
> 

Yepp...
Comment 29 Dieter 2009-01-28 08:03:11 UTC
I only want to mention that I haven't had this error since my last report (January 12, 2009). Since then I have several upgraded to nightly releases (presently 7.3.2). Could it be that this bug has been fixed by chance or can anybody still recognize this bug with a current version of SqueezeCenter?
Comment 30 Mark 2009-01-28 13:39:44 UTC
I also had this bug when using 7.3.2, it used to always happen.

Now upgraded to a nightly 7.4 (7.4 - 24762) and no more sticky clock. Perhaps it has been fixed??
Comment 31 Oscar Forsstrom 2009-01-29 09:08:19 UTC
Well, I just updated to latest nightly and today my players time stuck again. So the bug is still there for me...
Comment 32 Dominic Evans 2009-01-29 11:12:15 UTC
Yeah, i am on the lastest 7.4 and i still see thgis.

However, the behaviour seems slightly different now - it will stay stuck for a while (after reconnecting to the server), then it will revert to the correct time, keep the correct time for a while then free again, even if the server had not slept/woke during that time.
Comment 33 James Richardson 2009-02-02 07:49:19 UTC
I have seen this on an SB now.

SB in standby
SC server set to sleep after 1 hour
System attempts to sleep, but gets woken up (bug 10810)
At some point the server can no longer connect to the player (player count = 0), at which point the clock on the player will get 'stuck'

Also note, that when this happens, SC Web UI does not see any players attached.

Restarting SC will reconnect the player
Power Cycle player will reconnect to the server
==================================================
[09-02-02 07:13:45.4533] Slim::Web::Cometd::sendHTTPResponse (669) Sending Cometd chunk:
[{"data":{"other player count":"20","info total albums":"4257","player count":"0","version":"7.2.1","sn player count":"0","info total artists":"1368","info total songs":"43934","info total genres":"123","other_players_loop":
==================================================
The player that was attached to the server in question, was not found in the player_loop list
Comment 34 Chris Owens 2009-02-02 09:09:34 UTC
QA to get a wireshark log of the packets
Comment 35 Mark 2009-02-03 03:20:57 UTC
Update on my previous comment. I'm still getting this bug on 7.4.
Comment 36 Nigel Birch 2009-02-18 14:48:58 UTC
I'm seeing this on Boom after the server wakes up from sleep to run a scheduled task.  The Boom local clock shows the corrrect time whilst the server is sleeping, but gets stuck one minute before the server wakes up on its schedule.
Comment 37 John Rozzell 2009-02-28 02:45:30 UTC
My clock is stuck right now; I have the SqueezeCenter (7.3.2) web interface open and it shows my Squeezebox attached.  If I turn the Squeezebox on and off via the web interface the clock starts running again.
Comment 38 Chris Owens 2009-03-16 09:43:18 UTC
We are now planning to make a 7.3.3 release.  Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future.

Thanks!
Comment 39 Dieter 2009-03-16 13:04:07 UTC
With Version: 7.3.3 - 25463 @ Wed Mar 11 03:05:39 PDT 2009 I had a stuck clock on my Squeezbox Boom some days ago.
Comment 40 Erik 2009-03-27 04:51:07 UTC
I have this bug also on my SB3 on Win XP Mediacenter Edition with SqC 7.3.2. I have been in contact with Logitech customer support and after weeks of trying out different solutions (re-installing Squeezecenter software, reprogramming SB3's xilinx chip, reflashing firmware, reset to factory defaults) to no avail, I was pointed to this bug.

Here is some text copied from my support ticket giving some diagnostic information:

* if my mediacenter PC comes out of standby on its own, that is to
record a show, the clock is frozen on the standby time.
* if in this situation I manually put my PC in standby by pressing the
power button and wake it up again by pressing the power button, the
clock updates ONCE, showing the right time, but then its time is frozen
again.
* when the squeezebox time is frozen and I push a button on the remote
it awakes properely, if I then use the SB's remote's power button to
"shut it down" again, actually putting it in stanby, the clock shows again and its running ok
* when in that case I push the PC power button to put it on standby and
rewake it again, the clock DOES run and show the right time.

Note the most curious thing: IF the clock is frozen and you cycle the PC to standby and resume, the clock updates ONCE to the right time but is still frozen.
Comment 41 Rafael Lotufo 2009-03-27 05:32:41 UTC
This bug has been bothering me for 3 months.

I try to use the Boom as my alarm clock in the morning, but it is very unreliable. Some mornings the clock gets stuck. Some mornings it doesn't.

Unfortunately I haven't found a pattern to reproduce this bug consistently, but the bug is there for sure.

Some times I find that the clock gets stuck even when the computer and Boom are turned on.
Comment 42 James Richardson 2009-03-30 16:28:54 UTC
*** Bug 11560 has been marked as a duplicate of this bug. ***
Comment 43 Chris Owens 2009-03-30 17:31:16 UTC
Since there's now a planned 7.3.3 release, bugs which won't make the cut-off are being moved to the next target out.  If you feel that this bug needs to be addressed more (or less) urgently than the 7.4 release, please cc chris@slimdevices.com and leave a comment in the bug to that effect so we can review it.

Thanks.
Comment 44 Chris Owens 2009-03-31 08:53:40 UTC
For some reason Bugzilla did not change the target when I did this yesterday.  Or maybe it was me.  In either case, I'm trying it again.
Comment 45 Dominic Evans 2009-03-31 09:14:26 UTC
Does this bug really need to get pushed forward again? It's a pretty common bug and not having the correct time it quite a big deal for some people. I think it needs greater priority and im very surprised it has not been properly addressed yet TBH.
Comment 46 Michael Kunzmann 2009-03-31 10:41:39 UTC
I'd also like to see this get the proper attention.
I see this bug on one of my Squeezboxes every morning and it really annoys me to see it display the wrong time.
Comment 47 Oscar Forsstrom 2009-04-05 11:39:19 UTC
Well, this is starting to get really embarrassing. Four months without any real attention from SD. And now pushed again. Well, it seems like my outstanding Booxbox purchase will be on hold indefinitly. I have been using SB2 for about four years without major hickups. all the small details have been taken care of. But now something major hits me (yeah, for me a not working clokc is major) and SD totally ignores it. With proper attention it cannot be that hard to find a bug introduced in a certain firmware update. I am disappointed...
Comment 48 Rafael Lotufo 2009-04-05 11:54:51 UTC
I second that.

Please fix this bug.
Comment 49 Erik 2009-04-06 11:54:58 UTC
Yes me too please fix this soon!!!! I use the clock in my living room. When you take a glance at the time and do not notice its not running, you can imagine the irritation later on when you discover you are too late for something.
Comment 50 Michael Herger 2009-04-07 05:18:42 UTC
Could everybody please update to the latest 7.3.3 nightly build, disable all 3rd party plugins and try again?

I still can't reproduce this issue.
Comment 51 Michael Herger 2009-04-07 05:36:18 UTC
> I still can't reproduce this issue.

As I sent this and went back to my test-installation, there it was: updating once, then again after about 90 seconds, but definitely not correctly.

It's not in the date/time screensaver, but the underlying screensaver code. The line mode isn't called any more. Investigating.
Comment 52 Michael Herger 2009-04-07 08:44:49 UTC
Created attachment 5063 [details]
--debug server.timers=info

For whatever reasons S::B::Common:_periodicUpdate is triggered after the wakeup (17:35), but either doesn't set a new timer, or it fails in some other way. 

Can anybody confirm this behaviour? Set server.timers=info, go to standby, wait 5-10 minutes (or more) and wake up. Check the lot around the time you woke your machine up.
Comment 53 Michael Herger 2009-04-08 04:37:00 UTC
change 25873 - only adjust timers when the server travelled back in time, as the queue isn't influenced when travelling forward (eg. waking from suspend mode)
Comment 54 Adrian Smith 2009-04-08 11:19:07 UTC
Would this patch not be better just removing the forward check?  (I think this is how it used to be)

However have we reviewed why the forward check was added as I don't think it was there originally?  (perhaps review with Max as he had problems with the alarm stuff at one stage)
Comment 55 Michael Herger 2009-04-08 11:40:47 UTC
The check had been added to update boom's RTC - which is still needed. We could rearrange the code a bit, but performance wise it seems good the way it is now.
Comment 56 wbroesel 2009-04-11 02:55:37 UTC
My Boom clock freezes nearly every night since i sent my macmini to sleep at night. The Boom clock freezes exactly in the minute, the mini is waken up by its RTC-event.

SC-version: 7.3.2 on mac os x
Comment 57 Michael Herger 2009-04-11 05:39:07 UTC
Please see comment #53 - this issue is fixed in 7.3.3.
Comment 58 James Richardson 2009-05-08 14:38:49 UTC
SqueezeCenter 7.3.3 appears to address this issue.  Would everyone please try that version, then report in the bug if your issue is resolved.

Please download 7.3.3 from here:  http://downloads.slimdevices.com/nightly/?ver=7.3
Comment 59 Mads Andrup Pedersen 2009-05-12 11:00:33 UTC
I used to see this problem every day, but haven't seen it since updating to SC 7.3.3 - 26488 for 3 days ago.
Comment 60 Erik 2009-06-10 04:32:54 UTC
Same here, I have not seen this bug appear since I installed 7.3.3. Thank you!
Comment 61 James Richardson 2009-06-17 09:35:57 UTC
This bug has been fixed in the 7.3.3 release version of SqueezeCenter!

If you haven't already. please download the new version from http://www.logitechsqueezebox.com/support/download-squeezecenter.html 

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 62 buddy 2009-09-01 15:33:17 UTC
This happens on a QNAP 809 Pro as well, have the issue right now using the latest version available on the web 7.3.3

Thanks
Comment 63 buddy 2009-09-01 15:33:52 UTC
This happens on a QNAP 809 Pro as well, have the issue right now using the latest version available on the web 7.3.3

Thanks