PDA

View Full Version : Slimserver crashing



Chris Mason
2005-01-30, 14:45
> what build is it?
slimserver-5.4.0-1

> added/updated any new plugins recently?
No

> what causes the crash? (assuming that unstable = crashing
> every so often)
> if you can't see the crashes, run it from command line and
> leave it going,
> trying to do the things that often cause it to crash.
> /usr/local/slimserver/slimserver.pl

Will try that.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005

kdf
2005-01-30, 15:02
Quoting Chris Mason <lists (AT) masonc (DOT) com>:

>
> > what build is it?
> slimserver-5.4.0-1

i'm never very up on the rpm numbering...I assume this means the official 5.4.0
release.

>
> > added/updated any new plugins recently?
> No

any new tracks? do you use the rss ticker as a screensaver? There are known
issues there when the feeds have funny characters.

> > trying to do the things that often cause it to crash.
> > /usr/local/slimserver/slimserver.pl
>
> Will try that.

keep us posted :)
-kdf

Jason Temple
2005-01-31, 22:36
Greetings all,
Experiencing a similar crash as well...default debug settings reveal:

Can't locate object method "parseLines" via package "Slim::Player::HTTP"
at /usr/local/slimserver//Slim/Buttons/Block.pm line 44.

So the modules that are mentioned in Block.pm do not define the
parseLines function:

use File::Spec::Functions qw(:ALL);
use File::Spec::Functions qw(updir);
use Slim::Utils::Strings qw(string);
use Slim::Utils::Timers;
use Slim::Utils::Misc;
use Slim::Buttons::Common;


Anyone know where this function lives? I'm most interested in squashing
this bug/typo...

thanks,

jas





On Sun, 2005-01-30 at 14:02 -0800, kdf wrote:
> Quoting Chris Mason <lists (AT) masonc (DOT) com>:
>
> >
> > > what build is it?
> > slimserver-5.4.0-1
>
> i'm never very up on the rpm numbering...I assume this means the official 5.4.0
> release.
>
> >
> > > added/updated any new plugins recently?
> > No
>
> any new tracks? do you use the rss ticker as a screensaver? There are known
> issues there when the feeds have funny characters.
>
> > > trying to do the things that often cause it to crash.
> > > /usr/local/slimserver/slimserver.pl
> >
> > Will try that.
>
> keep us posted :)
> -kdf
>

kdf
2005-01-31, 22:57
the crash is due to a object method that is not found. In this case, it is a
player object of type HTTP. Look in Slim::Player::Player.pm and you will find
a parseLines subroutine.

The $client object, when it is created takes on a class defined in each of the
Slim::Player modules: Player.pm and Client.pm being generic, Softsqueeze.pm,
Squeezebox.pm, etc being specific. HTTP.pm regers to clients like winamp, xmms
or iTunes that connect via the http URL for stream.mp3. I've oversimplified,
but I'm not really the best person to exlain the intricacies of objects and
classes :)

Since the HTTP clients do not have displays, many times display functions
change, and are not replicated in some way in the HTTP module as some sort of
dummy reponse that returns a placeholder for the hash table of the graphics
elements (replacing the ones returned from Player.pm)

sub parseLines {
return undef;
}

might be enough, but you'd have to try it and see as I've not looked at what is
required after Block.pm line 44.

-kdf

Quoting Jason Temple <jason (AT) temple (DOT) net>:

> Greetings all,
> Experiencing a similar crash as well...default debug settings reveal:
>
> Can't locate object method "parseLines" via package "Slim::Player::HTTP"
> at /usr/local/slimserver//Slim/Buttons/Block.pm line 44.
>
> So the modules that are mentioned in Block.pm do not define the
> parseLines function:
>
> use File::Spec::Functions qw(:ALL);
> use File::Spec::Functions qw(updir);
> use Slim::Utils::Strings qw(string);
> use Slim::Utils::Timers;
> use Slim::Utils::Misc;
> use Slim::Buttons::Common;
>
>
> Anyone know where this function lives? I'm most interested in squashing
> this bug/typo...
>
> thanks,
>
> jas
>
>
>
>
>
> On Sun, 2005-01-30 at 14:02 -0800, kdf wrote:
> > Quoting Chris Mason <lists (AT) masonc (DOT) com>:
> >
> > >
> > > > what build is it?
> > > slimserver-5.4.0-1
> >
> > i'm never very up on the rpm numbering...I assume this means the official
> 5.4.0
> > release.
> >
> > >
> > > > added/updated any new plugins recently?
> > > No
> >
> > any new tracks? do you use the rss ticker as a screensaver? There are
> known
> > issues there when the feeds have funny characters.
> >
> > > > trying to do the things that often cause it to crash.
> > > > /usr/local/slimserver/slimserver.pl
> > >
> > > Will try that.
> >
> > keep us posted :)
> > -kdf
> >

Jason Temple
2005-02-02, 07:49
You got it kdf, I added

sub parseLines { undef }

as the last `dummy method' in HTTP.pm and no crashes in almost two
days...before, the server would die inside of one day.

Wondering why others haven't seen this one yet...is it that not many
folks use the web UI? Additionally, will a developer with cvs access
add this for the next release, or has it been completely rewritten for
6.0? (assuming that's next).

thanks again,

jas

On Mon, 2005-01-31 at 21:57 -0800, kdf wrote:
> the crash is due to a object method that is not found. In this case, it is a
> player object of type HTTP. Look in Slim::Player::Player.pm and you will find
> a parseLines subroutine.
>
> The $client object, when it is created takes on a class defined in each of the
> Slim::Player modules: Player.pm and Client.pm being generic, Softsqueeze.pm,
> Squeezebox.pm, etc being specific. HTTP.pm regers to clients like winamp, xmms
> or iTunes that connect via the http URL for stream.mp3. I've oversimplified,
> but I'm not really the best person to exlain the intricacies of objects and
> classes :)
>
> Since the HTTP clients do not have displays, many times display functions
> change, and are not replicated in some way in the HTTP module as some sort of
> dummy reponse that returns a placeholder for the hash table of the graphics
> elements (replacing the ones returned from Player.pm)
>
> sub parseLines {
> return undef;
> }
>
> might be enough, but you'd have to try it and see as I've not looked at what is
> required after Block.pm line 44.
>
> -kdf
>
> Quoting Jason Temple <jason (AT) temple (DOT) net>:
>
> > Greetings all,
> > Experiencing a similar crash as well...default debug settings reveal:
> >
> > Can't locate object method "parseLines" via package "Slim::Player::HTTP"
> > at /usr/local/slimserver//Slim/Buttons/Block.pm line 44.
> >
> > So the modules that are mentioned in Block.pm do not define the
> > parseLines function:
> >
> > use File::Spec::Functions qw(:ALL);
> > use File::Spec::Functions qw(updir);
> > use Slim::Utils::Strings qw(string);
> > use Slim::Utils::Timers;
> > use Slim::Utils::Misc;
> > use Slim::Buttons::Common;
> >
> >
> > Anyone know where this function lives? I'm most interested in squashing
> > this bug/typo...
> >
> > thanks,
> >
> > jas
> >
> >
> >
> >
> >
> > On Sun, 2005-01-30 at 14:02 -0800, kdf wrote:
> > > Quoting Chris Mason <lists (AT) masonc (DOT) com>:
> > >
> > > >
> > > > > what build is it?
> > > > slimserver-5.4.0-1
> > >
> > > i'm never very up on the rpm numbering...I assume this means the official
> > 5.4.0
> > > release.
> > >
> > > >
> > > > > added/updated any new plugins recently?
> > > > No
> > >
> > > any new tracks? do you use the rss ticker as a screensaver? There are
> > known
> > > issues there when the feeds have funny characters.
> > >
> > > > > trying to do the things that often cause it to crash.
> > > > > /usr/local/slimserver/slimserver.pl
> > > >
> > > > Will try that.
> > >
> > > keep us posted :)
> > > -kdf
> > >

Jason Temple
2005-02-02, 07:49
You got it kdf, I added

sub parseLines { undef }

as the last `dummy method' in HTTP.pm and no crashes in almost two
days...before, the server would die inside of one day.

Wondering why others haven't seen this one yet...is it that not many
folks use the web UI? Additionally, will a developer with cvs access
add this for the next release, or has it been completely rewritten for
6.0? (assuming that's next).

thanks again,

jas

On Mon, 2005-01-31 at 21:57 -0800, kdf wrote:
> the crash is due to a object method that is not found. In this case, it is a
> player object of type HTTP. Look in Slim::Player::Player.pm and you will find
> a parseLines subroutine.
>
> The $client object, when it is created takes on a class defined in each of the
> Slim::Player modules: Player.pm and Client.pm being generic, Softsqueeze.pm,
> Squeezebox.pm, etc being specific. HTTP.pm regers to clients like winamp, xmms
> or iTunes that connect via the http URL for stream.mp3. I've oversimplified,
> but I'm not really the best person to exlain the intricacies of objects and
> classes :)
>
> Since the HTTP clients do not have displays, many times display functions
> change, and are not replicated in some way in the HTTP module as some sort of
> dummy reponse that returns a placeholder for the hash table of the graphics
> elements (replacing the ones returned from Player.pm)
>
> sub parseLines {
> return undef;
> }
>
> might be enough, but you'd have to try it and see as I've not looked at what is
> required after Block.pm line 44.
>
> -kdf
>
> Quoting Jason Temple <jason (AT) temple (DOT) net>:
>
> > Greetings all,
> > Experiencing a similar crash as well...default debug settings reveal:
> >
> > Can't locate object method "parseLines" via package "Slim::Player::HTTP"
> > at /usr/local/slimserver//Slim/Buttons/Block.pm line 44.
> >
> > So the modules that are mentioned in Block.pm do not define the
> > parseLines function:
> >
> > use File::Spec::Functions qw(:ALL);
> > use File::Spec::Functions qw(updir);
> > use Slim::Utils::Strings qw(string);
> > use Slim::Utils::Timers;
> > use Slim::Utils::Misc;
> > use Slim::Buttons::Common;
> >
> >
> > Anyone know where this function lives? I'm most interested in squashing
> > this bug/typo...
> >
> > thanks,
> >
> > jas
> >
> >
> >
> >
> >
> > On Sun, 2005-01-30 at 14:02 -0800, kdf wrote:
> > > Quoting Chris Mason <lists (AT) masonc (DOT) com>:
> > >
> > > >
> > > > > what build is it?
> > > > slimserver-5.4.0-1
> > >
> > > i'm never very up on the rpm numbering...I assume this means the official
> > 5.4.0
> > > release.
> > >
> > > >
> > > > > added/updated any new plugins recently?
> > > > No
> > >
> > > any new tracks? do you use the rss ticker as a screensaver? There are
> > known
> > > issues there when the feeds have funny characters.
> > >
> > > > > trying to do the things that often cause it to crash.
> > > > > /usr/local/slimserver/slimserver.pl
> > > >
> > > > Will try that.
> > >
> > > keep us posted :)
> > > -kdf
> > >

Dan Sully
2005-02-02, 09:43
* Jason Temple shaped the electrons to say...

>sub parseLines { undef }
>
>as the last `dummy method' in HTTP.pm and no crashes in almost two
>days...before, the server would die inside of one day.

Thanks Jas - I've commited this to the 6.0 tree.

-D
--
Welcome to hell. Here's your accordion.