Bug 1668 - WPL playlist issues - crashing and malfunctioning
: WPL playlist issues - crashing and malfunctioning
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.0.2
: PC All
: P2 normal (vote)
: ---
Assigned To: Kevin Pearsall
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-13 10:18 UTC by Kevin Pearsall
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments
wpl playlist that causes a crash (37.67 KB, application/octet-stream)
2005-06-13 10:19 UTC, Kevin Pearsall
Details
m3u copy of wpl playlist that causes a crash (23.89 KB, audio/x-mpegurl)
2005-06-13 10:20 UTC, Kevin Pearsall
Details
wpl playlist that just wont play (446 bytes, application/octet-stream)
2005-06-13 10:20 UTC, Kevin Pearsall
Details
m3u copy of wpl playlist that wont play (94 bytes, audio/x-mpegurl)
2005-06-13 10:21 UTC, Kevin Pearsall
Details
wma file referenced in the short playlist that wont play (3.05 MB, audio/x-ms-wma)
2005-06-13 10:21 UTC, Kevin Pearsall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2005-06-13 10:18:50 UTC
Customer reported.  He has submitted:
- a WPL playlist that crashes the server
- an M3U export of that same playlist that plays fine
- a WPL playlist that simply won't play
- an M3U export of that same playlist that plays fine.

Will attach.
Comment 1 Kevin Pearsall 2005-06-13 10:19:35 UTC
Created attachment 547 [details]
wpl playlist that causes a crash
Comment 2 Kevin Pearsall 2005-06-13 10:20:08 UTC
Created attachment 548 [details]
m3u copy of wpl playlist that causes a crash
Comment 3 Kevin Pearsall 2005-06-13 10:20:43 UTC
Created attachment 549 [details]
wpl playlist that just wont play
Comment 4 Kevin Pearsall 2005-06-13 10:21:07 UTC
Created attachment 550 [details]
m3u copy of wpl playlist that wont play
Comment 5 Kevin Pearsall 2005-06-13 10:21:55 UTC
Created attachment 551 [details]
wma file referenced in the short playlist that wont play
Comment 6 KDF 2005-06-13 11:55:05 UTC
Are these relative paths problems?  
crash log would help prove that.  If so, this was a known issue and is fixed
post-6.0.2

The customer may want to confirm after testing with 6.1 nightlies.
Comment 7 Kevin Pearsall 2005-06-14 09:33:10 UTC
no i don't think it's a relative path issue, since the files are referenced on
an smb share.

i'll ask about 6.1.  he had been using a recent nightly of 6.0.3...
Comment 8 KDF 2005-06-14 10:20:29 UTC
The actual crash message would still be very useful.  Generally, testing a
playlist for me never helps when the playlist is already referencing
non-existent data on my system. from inspection, nothing stands out as a bad
thing, though I dont know what all the cid and tid info indicates.
Comment 9 Kevin Pearsall 2005-06-15 16:47:27 UTC
here's the text from event viewer about the crashes:

Det g�r inte att hitta en beskrivning f�r h�ndelse-ID 0 i k�llan Application.
Den lokala datorn har eventuellt inte n�dv�ndig registerinformation eller
meddelande-DLL-filer som beh�vs f�r att visa meddelanden fr�n en fj�rrdator.
Kanske kan du anv�nda flaggan /AUXSOURCE= om du vill
My  Translation: Can not find a descripton for event-ID 0 i the source
Application. The local computer, might not have the neccesary reg. information
or message DLL-files to be able to show the message from a remot computer.
Perhaps you can use the switch /AUXSOURCE= if you wnat to see t�his message
bla.bla. Perl interpreter failed.
 


Det g�r inte att hitta en beskrivning f�r h�ndelse-ID 0 i k�llan Application.
Den lokala datorn har eventuellt inte n�dv�ndig registerinformation eller
meddelande-DLL-filer som beh�vs f�r att visa meddelanden fr�n en fj�rrdator.
Kanske kan du anv�nda flaggan /AUXSOURCE= om du vill se den h�r beskrivningen.
Mer information om detta finns i Hj�lp- och supportcenter. Ytterligare
information: Not an ARRAY reference at /PerlApp/Slim/Formats/Parse.pm line 578.
My Translation: same as the error message above, apart from the last centense in
english.
 
Felaktigt program slim.exe, version 0.0.0.0, felaktig modul perl58.dll, version
5.8.6.811, felaktig adress 0x00087764.
My Translation: Wrong program, slim.exe, version 0.0.0.0, wrong module
perl58.dll, version 5.8.6.811, wrong adress 0x00087764.
 
Mer information finns i Hj�lp- och supportcenter p� sidan
http://go.microsoft.com/fwlink/events.asp.
 
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 73 6c 69   ure  sli
0018: 6d 2e 65 78 65 20 30 2e   m.exe 0.
0020: 30 2e 30 2e 30 20 69 6e   0.0.0 in
0028: 20 70 65 72 6c 35 38 2e    perl58.
0030: 64 6c 6c 20 35 2e 38 2e   dll 5.8.
0038: 36 2e 38 31 31 20 61 74   6.811 at
0040: 20 6f 66 66 73 65 74 20    offset 
0048: 30 30 30 38 37 37 36 34   00087764
0050: 0d 0a                     ..      
Comment 10 KDF 2005-06-15 21:47:09 UTC
aha!

Here is the line that is the problem:
	if (exists($wpl_playlist->{body}->{seq}->{media})) {

		for my $entry_info (@{$wpl_playlist->{body}->{seq}->{media}}) {

now, in 6.1 current svn, this looks like this:
	if (exists($wpl_playlist->{body}->{seq}->{media})) {
		
		my @media;
		if (ref $wpl_playlist->{body}->{seq}->{media} ne 'ARRAY') {
			push @media, $wpl_playlist->{body}->{seq}->{media};
		} else {
			@media = @{$wpl_playlist->{body}->{seq}->{media}};
		}
		
		for my $entry_info (@media) {

In the first, the non-array reference causes a crash.  The second checks for
this case and handles it.  

Have the customer try 6.1.  I'm certain it should perform much better

thanks, KP, for all chasing on this.
Comment 11 Blackketter Dean 2005-06-18 14:54:19 UTC
This should be fixed in the 6.1 nightlies.  Please try that and confirm.  Thanks.
Comment 12 Chris Owens 2006-06-16 14:41:19 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.