PDA

View Full Version : CLI crashing slimserver (6.1.1 + 6.2 nightlies)



iain
2005-09-20, 01:30
Hi folks,

Got a weird problem that seems to have just started to manifest itself on my slimserver. Not sure when it started, but I seem to have the problem with all versions of 6.1.1 upwards (not tried going back yet), including the latest 6.2 nightlies.

I have a CGI that uses the CLI to display a list of players and what's playing on them. This has worked fine for a couple of years with the only change being to add authentication when that was added to the CLI. I noticed that occasionally the server would crash inexplicably and narrowed it down to when the CGI script was being called.

I've run the server with --d_cli and get varying degrees of output (sometimes none) but they all end in this error message:

panic: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Encode.pm line 149

Now this looks like some lower level Perl problem and I have tried re-compiling Perl to no avail. The problem still seems to be there. It's not totally consistent - e.g. when the server is scanning the library it doesn't always crash and I've had some days when it doesn't either.

I have AlienBBC installed and I know a similar error was reported here with AlienBBC recently, but the problem occurs when I have a clean install of slimserver with nothing but the distribution there. There are also no debug outputs of the cli or the plugins prior to the crash to indicate anything gowing awry there.

My server is Fedora Core 3, pretty much out of the box (although it has an updated patched kernel).

Any ideas where to start ?

..Iain

hardhead
2005-09-21, 08:51
Hi--I am also having the same problem and have submitted a bug to SlimDevices:

http://bugs.slimdevices.com/show_bug.cgi?id=2158

hardhead
2005-09-25, 11:49
Upgrading the perl 5.8.7 fixed this problem for me.

Iain Donaldson (Mailing Lists)
2005-09-26, 12:07
On 25 Sep 2005, at 19:49, hardhead wrote:

>
> Upgrading the perl 5.8.7 fixed this problem for me.
>
>

and for me too .... weird that one. Thanks!

...Iain

jimwillsher
2006-01-16, 13:31
I too am getting the same problem, but I don't have the knowledge of how to upgrade Perl. I'm using CentOs 4.2, which is basically RedHat Enterprise. Can anyone help?

For what it's worth, I've had this frequently, but only since 6.1. 5.4.x was rock solid, and would run for weeks; 6.x runs for hours at most.

Jim

Michaelwagner
2006-01-16, 13:58
For what it's worth, I've had this frequently, but only since 6.1. 5.4.x was rock solid, and would run for weeks; 6.x runs for hours at most.
I believe 6.x uses (and requires) perl 5.8.7

Michaelwagner
2006-01-16, 13:59
See this comment from the bug report listed above:

------- Comment #6 From Dan Sully 2005-09-25 08:50 [reply] -------
set_svpvn is an internal perl call.

Try upgrading to perl 5.8.7 perhaps?

jimwillsher
2006-01-16, 14:07
The website here:

http://www.slimdevices.com/pi_specs.html

says

Linux/BSD/Solaris/Other: Perl 5.8.3 or later


I don't really have the option of upgrading as there's no RPM available for my distribution (CentOs) and I'm a Linux newbie. Even Fedora 4 only comes with 5.8.6. Unless anyone can help me?

Help!!!!


Jim

Robin Bowes
2006-01-17, 02:31
jimwillsher said the following on 16/01/2006 21:07:
> The website here:
>
> http://www.slimdevices.com/pi_specs.html
>
> says
>
> Linux/BSD/Solaris/Other: Perl 5.8.3 or later
>
>
> I don't really have the option of upgrading as there's no RPM available
> for my distribution (CentOs) and I'm a Linux newbie. Even Fedora 4 only
> comes with 5.8.6. Unless anyone can help me?

Jim,

If I can login to your box remotely, I can help.

PM me:

yahoo: robin_bowes
AOL: robinbowes

R.
--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?