Bug 4711 - RandomPlay drags down the system after going through whole library
: RandomPlay drags down the system after going through whole library
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 6.5.1
: PC Other
: P2 normal (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-24 17:31 UTC by Justin Maggard
Modified: 2009-09-08 09:30 UTC (History)
0 users

See Also:
Category: ---


Attachments
log when this happens (2.69 KB, text/plain)
2008-01-08 11:47 UTC, Michael Herger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Maggard 2007-01-24 17:31:26 UTC
I set a SqueezeBox to do Random Song Mix, and let it just keep playing.  After some time, it appears to have entered an infinite loop somewhere.  It's very reproducible in my environment.  It looks like once Random Song Mix goes through the entire music library it gets into this situation.  I always see the message "ERROR: RandomPlay: Didn't get a valid object for findAndAdd()!" just before it gets into this loop situation.

At that point, I can no longer get into the SlimServer web interface, and there is no response from the SqueezeBox.  The slimserver.pl process just sits there chewing up 99% of the CPU.  I enabled every logging option available, but found that there is nothing getting logged during this time.
Comment 1 Chris Owens 2007-10-23 10:08:24 UTC
QA to reproduce.  Theory: if Justin had less than 10 songs, there might have been a loop.
Comment 2 KDF 2007-12-05 16:44:17 UTC
Is this still an issue with SC7; can anyone duplicate?
Comment 3 Chris Owens 2007-12-10 09:30:16 UTC
QA to reproduce
Comment 4 Michael Herger 2008-01-08 11:47:01 UTC
Created attachment 2634 [details]
log when this happens

Reproduced the issue with a small collection. Once RandomPlay has gone through all songs, it's getting SQL problems.
Comment 5 Michael Herger 2008-01-09 08:52:03 UTC
fixed in change 16066
Comment 6 Chris Owens 2008-03-07 09:04:14 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.