Bugzilla – Bug 1047
server crash related to visualizers
Last modified: 2005-03-13 00:35:24 UTC
Here's the error as the server died: Can't use an undefined value as an ARRAY reference at /home/dave/devel/slimservice/Slim/Player/Squeezebox2.pm line 209. line 209 is in a method called visualizer, here it is: my $params = pack "CC", $visualizer[$visu], scalar(@{$visualizerParameters[$visu]}); My SB2 was playing music, with the spectrum analyzer as the screen saver. Then, I hit the now playing button on the remote, which brought me to now playing as expected. I hit it several more times, cycling through the now playing options. After some presses, it crashed.
I couldn't recreate the problem, but I put boundary checks in the Squeezebox2 visualizer() method that should prevent it crashing at the point mentioned. I believe this will fix the cause of the crash, but not the reason for a bogus value being passed in. Let me know if you can recreate the crash...or something similar.