Bug 8458 - Error message when trying to update SC while scan is running.
: Error message when trying to update SC while scan is running.
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Setup
: 7.1
: PC Windows Vista
: P5 minor (vote)
: 7.x
Assigned To: James Richardson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-17 15:45 UTC by James Richardson
Modified: 2009-07-31 10:23 UTC (History)
0 users

See Also:
Category: ---


Attachments
I see errors (23.69 KB, image/jpeg)
2008-06-17 15:46 UTC, James Richardson
Details
error windows (44.65 KB, image/pjpeg)
2008-06-27 09:55 UTC, James Richardson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Richardson 2008-06-17 15:45:44 UTC
On Windows Vista, when attempting to install 7.1 (any build) over an existing 7.0.1 install, I get the following error message (see attached).

This will happen if the server is running, or has been stopped before the install.
Comment 1 James Richardson 2008-06-17 15:46:15 UTC
Created attachment 3446 [details]
I see errors
Comment 2 Michael Herger 2008-06-18 02:44:06 UTC
What you're trying to do is replace a file which is currently in use. This case only happens if somebody is running a scan while trying to update SC. 

It's the first time this is reported, though this "bug" has been there forever. Will add some code to kill the scanner during installation if I find some time. Otherwise I'll punt to 7.2.
Comment 3 Michael Herger 2008-06-20 05:48:04 UTC
change 20960 - stop scanner before uninstalling/upgrading SC on Windows
Comment 4 James Richardson 2008-06-27 09:55:51 UTC
Created attachment 3501 [details]
error windows

Verified still an error when installing 7.1-21263 over 7.1-21263 when the scanner is still running.

I see the attached error dialog in Windows Vista
Comment 5 Michael Herger 2008-06-27 10:24:15 UTC
yet another "works for me" :-(. 

What exact version are SqueezeTray.exe, squeezecenter.exe and scanner.exe which are running before you install? You can see this information from the file's properties in Windows explorer.
Comment 6 Michael Herger 2008-06-27 10:37:54 UTC
Ah... now I was able to reproduce it too: started two VMs at the same time on the same machine, creating heavy load. The installer than gave up waiting a bit before SC was all shut down. "Retry" worked fine, as meanwhile the process was stopped. 

Is the machine you're running on lower end or otherwise heavily loaded when you run these tests?

change 21273 - increasing the timeout from 60 to 120 seconds.
Comment 7 James Richardson 2008-06-27 11:21:30 UTC
Michael: yes, I run 3 VM sessions on an Intel Pentium D 2.8GHz system, so yes, this would be the case of a "low" end system :)
Comment 8 Michael Herger 2008-06-27 11:59:31 UTC
While testing I remembered that timing issues in VMware are pretty common (I used to manage >50VMs in my previous job).

http://www.vmware.com/pdf/vmware_timekeeping.pdf

Timing the installation I indeed noticed that Vista counted down those 60 seconds in about 5 seconds. Thus I wonder whether this is solely due to our testing on VMware. Have you ever seen this on real hardware? Might need to find that 600MHz Pentium nobody wanted ;-).

One more thing I'll have to analyze is a potential race condition under load: SC might be shut down before it has handled shutting down the scanner properly.
Comment 9 Michael Herger 2008-06-28 03:40:19 UTC
change 21286 - let's give the scanner a few seconds to be closed before shutting down SC
Comment 10 Michael Herger 2008-07-04 02:13:13 UTC
James - I'm taking this issue off the 7.1 radar as I consider this a minor issue. Doesn't block a 7.1 release. (and won't hold me off leaving for my vacation)
Comment 11 James Richardson 2008-07-04 10:14:09 UTC
I'll retest it on a "real" Vista box as well.  It may just be an issue of a slow system or VMWare lag.
Comment 12 James Richardson 2008-07-24 09:32:58 UTC
I have not seen the error since change 21286

Marking bug as fixed
Comment 13 Chris Owens 2008-07-30 15:29:52 UTC
This bug has now been fixed in the 7.1 release version of SqueezeCenter!  Please download the new version from http://www.slimdevices.com if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 14 James Richardson 2008-12-15 12:32:54 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 15 Chris Owens 2009-07-31 10:23:00 UTC
Reduce number of active targets for SC