Bugzilla – Bug 4711
RandomPlay drags down the system after going through whole library
Last modified: 2009-09-08 09:30:53 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.
QA to reproduce. Theory: if Justin had less than 10 songs, there might have been a loop.
Is this still an issue with SC7; can anyone duplicate?
QA to reproduce
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.
fixed in change 16066
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.