View Full Version : Possible CLI playlist artist Bug in 6.5b1

2006-04-12, 11:29

I'm using the last nightly (slimserver-2006_04_12-1) and seem to have hit a CLI problem.

Using the below command (With a valid playerid and playlist index):

<playerid> playlist artist <index> ?

Results in a panic and slimserver shutdown.

Output from d_cli follows:

2006-04-12 19:08:58.0036 CLI: Parsing command: Found client [ip_removed]
2006-04-12 19:08:58.0049 CLI: Processing request [playlist]
2006-04-12 19:08:58.0052 CLI: Dispatching [playlist]
panic: sv_setpvn called with negative strlen at /usr/local/lib/perl5/5.8.3/i686-linux/Encode.pm line 149.

I've tried this with a variety of different artists (In case it was due to dodgy characters / tags) and it always fails.

If there's any other info that would help, please let me know.

Kind Regards

- Ido

2006-04-12, 17:45
I notice your install seems to run 5.8.3. According to bug 2158, this is fixed by upgrading to Perl 5.8.7.

Alternatively, you may try upgrading your Encode module (f.e. using CPAN), but this is a wild guess.



2006-04-13, 02:35
Thanks for that Fred, I didn't see the issue in the Bugs list.

I went for the quick option and can confirm that after upgrading to the latest stable Perl (5.8.8) the problem doesn't manifest :)

Interestingly I didn't experience the issue when using the 6.2 branch (Which 2158 was listed for) at all.

Maybe a higher minimum perl dependency needs to be listed for the 6.5 branch?

- Ido