PDA

View Full Version : troubleshooting on linux



thnmnt
2005-01-11, 14:02
i did a fresh install of mandrake 10 and slimserver 5.40 about a month ago.
since then, everything has been running fine. i don't really use this
machine for anything else so i'm pretty sure i haven't done anything
foolish..

however, as of today, slimserver crashes about every 5 minutes and
consistently during each rescan.

the log (d_server, d_source, d_stdio checked) says :

'use of uninitialized value in length at
/usr/local./slimserver/Slim/Music/Info.pm line 2322' (this line repeats 20x)
followed on line 21 by
'Wide character in syswrite at
/usr/local/slimserver/Slim/Networking/Select.pm line 164
2005-01-11 15:56:52:8430 Got to the END
2005-01-11 15:56:52:8433 Got sigint.
2005-01-11 15:56:52:8435 Slimserver cleaning up

my music shares are on 2 seperate NFS shares called /mnt/s_drive_nfs/Music
and /mnt/t_drive_nfs/More Music . the second drive (More Music) appearing
as a symlink on the S drive.

there are about 1100 albums and 20k songs on these 2 drives.

any ideas as to where i should start my troubleshooting? any other debug
flags i should turn on during the next rescan?

thanks.

t

kdf
2005-01-11, 14:24
Quoting thnmnt <thnmnt (AT) hotmail (DOT) com>:

> i did a fresh install of mandrake 10 and slimserver 5.40 about a month ago.
> since then, everything has been running fine. i don't really use this
> machine for anything else so i'm pretty sure i haven't done anything
> foolish..
>
> however, as of today, slimserver crashes about every 5 minutes and
> consistently during each rescan.
>
> the log (d_server, d_source, d_stdio checked) says :
>
> 'use of uninitialized value in length at
> /usr/local./slimserver/Slim/Music/Info.pm line 2322' (this line repeats 20x)
> followed on line 21 by
> 'Wide character in syswrite at
> /usr/local/slimserver/Slim/Networking/Select.pm line 164
> 2005-01-11 15:56:52:8430 Got to the END
> 2005-01-11 15:56:52:8433 Got sigint.
> 2005-01-11 15:56:52:8435 Slimserver cleaning up

I would suggest
--d_info and/or --d_artwork

The line of Info.pm that is barfing is related to unpacking the 'PIC' tags.

Since it would seem that you have made no changes to the server, have you added
any new tracks lately? Edited any tags? The debug above should at least
narrow down the offending tracks/files.

-kdf

thnmnt
2005-01-11, 17:12
> Quoting thnmnt <thnmnt (AT) hotmail (DOT) com>:
>
> > i did a fresh install of mandrake 10 and slimserver 5.40 about a month
ago.
> > since then, everything has been running fine. i don't really use this
> > machine for anything else so i'm pretty sure i haven't done anything
> > foolish..
> >
> > however, as of today, slimserver crashes about every 5 minutes and
> > consistently during each rescan.
> >
> > the log (d_server, d_source, d_stdio checked) says :
> >
> > 'use of uninitialized value in length at
> > /usr/local./slimserver/Slim/Music/Info.pm line 2322' (this line repeats
20x)
> > followed on line 21 by
> > 'Wide character in syswrite at
> > /usr/local/slimserver/Slim/Networking/Select.pm line 164
> > 2005-01-11 15:56:52:8430 Got to the END
> > 2005-01-11 15:56:52:8433 Got sigint.
> > 2005-01-11 15:56:52:8435 Slimserver cleaning up
>
> I would suggest
> --d_info and/or --d_artwork
>
> The line of Info.pm that is barfing is related to unpacking the 'PIC'
tags.
>
> Since it would seem that you have made no changes to the server, have you
added
> any new tracks lately? Edited any tags? The debug above should at least
> narrow down the offending tracks/files.
>
> -kdf

thanks kdf,

i ran rescan with d_info and d_artwork on twice.

iit crashed on different folders each time, and each is one that i've had
for a long time - no changes have been made to those folders. the last lines
of the log were:

2005-01-11 18:08:12.7397 albums: ARRAY(0xaa7c018) - ARRAY(0xaa7c030) -
ARRAY(0xaa7c048) - ARRAY(0xa1ea1c4)
2005-01-11 18:08:13.4792 artists: ARRAY(0xaa93b58) - ARRAY(0xaa93b88) -
ARRAY(0xaa93b28) - ARRAY(0xaa97948)
Wide character in syswrite at
/usr/local/slimserver/Slim/Networking/Select.pm line 164.

the second time the last line was simply:

Wide character in syswrite at
/usr/local/slimserver/Slim/Networking/Select.pm line 164.

i have added a few folders recently but they were all added several days ago
and it was working fine. i don't think anything has changed. any other
thoughts?

(i even reinstalled 5.4.0 this morning to see if that helped, but it didn't)

-t

kdf
2005-01-11, 17:58
Quoting thnmnt <thnmnt (AT) hotmail (DOT) com>:

> thanks kdf,
>
> i ran rescan with d_info and d_artwork on twice.
>
> iit crashed on different folders each time, and each is one that i've had
> for a long time - no changes have been made to those folders. the last lines
> of the log were:
>
> 2005-01-11 18:08:12.7397 albums: ARRAY(0xaa7c018) - ARRAY(0xaa7c030) -
> ARRAY(0xaa7c048) - ARRAY(0xa1ea1c4)
> 2005-01-11 18:08:13.4792 artists: ARRAY(0xaa93b58) - ARRAY(0xaa93b88) -
> ARRAY(0xaa93b28) - ARRAY(0xaa97948)
> Wide character in syswrite at
> /usr/local/slimserver/Slim/Networking/Select.pm line 164.
>
> the second time the last line was simply:
>
> Wide character in syswrite at
> /usr/local/slimserver/Slim/Networking/Select.pm line 164.
>
> i have added a few folders recently but they were all added several days ago
> and it was working fine. i don't think anything has changed. any other
> thoughts?
>
> (i even reinstalled 5.4.0 this morning to see if that helped, but it didn't)

What d_info or d_artwork messages do you get around those Info.pm line 2322
messages?

wide character stuff: check all your players for the screensavers. select
anything but the rss plugin. It seems some feeds can sometimes send data that
the server isn't handling right. The reason you see it near startup is that
the screensavers will engage right after a player connects, no matter what the
timeout is set at.

-kdf

Marc Sherman
2005-01-11, 18:01
thnmnt wrote:
>
> iit crashed on different folders each time, and each is one that i've had
> for a long time - no changes have been made to those folders. the last lines
> of the log were:
>
> 2005-01-11 18:08:12.7397 albums: ARRAY(0xaa7c018) - ARRAY(0xaa7c030) -
> ARRAY(0xaa7c048) - ARRAY(0xa1ea1c4)
> 2005-01-11 18:08:13.4792 artists: ARRAY(0xaa93b58) - ARRAY(0xaa93b88) -
> ARRAY(0xaa93b28) - ARRAY(0xaa97948)
> Wide character in syswrite at
> /usr/local/slimserver/Slim/Networking/Select.pm line 164.

Off topic, how did you get the log timestamps? My logs have no
timestamps in them, ever. Is there a switch, or is this a new feature
in slimserver 5.4.1/6?

Thanks,
- Marc

kdf
2005-01-11, 18:30
Quoting Marc Sherman <msherman (AT) projectile (DOT) ca>:

> thnmnt wrote:
> >
> > iit crashed on different folders each time, and each is one that i've had
> > for a long time - no changes have been made to those folders. the last
> lines
> > of the log were:
> >
> > 2005-01-11 18:08:12.7397 albums: ARRAY(0xaa7c018) - ARRAY(0xaa7c030) -
> > ARRAY(0xaa7c048) - ARRAY(0xa1ea1c4)
> > 2005-01-11 18:08:13.4792 artists: ARRAY(0xaa93b58) - ARRAY(0xaa93b88) -
> > ARRAY(0xaa93b28) - ARRAY(0xaa97948)
> > Wide character in syswrite at
> > /usr/local/slimserver/Slim/Networking/Select.pm line 164.
>
> Off topic, how did you get the log timestamps? My logs have no
> timestamps in them, ever. Is there a switch, or is this a new feature
> in slimserver 5.4.1/6?
server settings->debugging.

Any switches you use there will output messages with timestamps. Messages from
slimserver have a timestamp. Messages triggered by CPAN modules, transcoding
tools or Perl itself are not timestamped unless those outside sources happen to
put one in.

-kdf

-kdf

thnmnt
2005-01-12, 06:43
> > thanks kdf,
> >
> > i ran rescan with d_info and d_artwork on twice.
> >
> > iit crashed on different folders each time, and each is one that i've
had
> > for a long time - no changes have been made to those folders. the last
lines
> > of the log were:
> >
> > 2005-01-11 18:08:12.7397 albums: ARRAY(0xaa7c018) - ARRAY(0xaa7c030) -
> > ARRAY(0xaa7c048) - ARRAY(0xa1ea1c4)
> > 2005-01-11 18:08:13.4792 artists: ARRAY(0xaa93b58) - ARRAY(0xaa93b88) -
> > ARRAY(0xaa93b28) - ARRAY(0xaa97948)
> > Wide character in syswrite at
> > /usr/local/slimserver/Slim/Networking/Select.pm line 164.
> >
> > the second time the last line was simply:
> >
> > Wide character in syswrite at
> > /usr/local/slimserver/Slim/Networking/Select.pm line 164.
> >
> > i have added a few folders recently but they were all added several days
ago
> > and it was working fine. i don't think anything has changed. any other
> > thoughts?
> >
> > (i even reinstalled 5.4.0 this morning to see if that helped, but it
didn't)
>
> What d_info or d_artwork messages do you get around those Info.pm line
2322
> messages?
>
> wide character stuff: check all your players for the screensavers.
select
> anything but the rss plugin. It seems some feeds can sometimes send data
that
> the server isn't handling right. The reason you see it near startup is
that
> the screensavers will engage right after a player connects, no matter what
the
> timeout is set at.
>
> -kdf

Interesting - thanks for that tip. Both my players are set to RSS
screensavers (although they are using the default feeds, nothing that i
added) I'll bet the server crashes right about the time the screensavers are
set to kick in. Turning off RSS let slimserver complete the scan of he
library.

Now, what happens when i turn RSS back on? - and what caused this problem?
is this a known bug or should i enter a report?

-t

kdf
2005-01-12, 10:33
Quoting thnmnt <thnmnt (AT) hotmail (DOT) com>:


>
> Interesting - thanks for that tip. Both my players are set to RSS
> screensavers (although they are using the default feeds, nothing that i
> added) I'll bet the server crashes right about the time the screensavers are
> set to kick in. Turning off RSS let slimserver complete the scan of he
> library.
>
> Now, what happens when i turn RSS back on? - and what caused this problem?
> is this a known bug or should i enter a report?
>
I think it might be covered by bug 673 and 759. If so, then it is a temporary
problem due to something in the feed at that time.

-kdf