Bug 3211 - server gets stuck after skipping or stopping from ogg-File
: server gets stuck after skipping or stopping from ogg-File
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Formats
: 6.2.2
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-27 10:57 UTC by Hanno Stock
Modified: 2008-09-15 14:38 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Stock 2006-03-27 10:57:04 UTC
I am running 6.2.2 branch revision 6745, Windows XP.
All 3rd party plugins disabled. No changes to convert.conf, etc. 
ActiveState Perl v5.8.8 built for MSWin32-x86-multi-thread
Squeezebox 3 Firmware 28

Now, whenever I am playing an ogg file and want to skip the file or stop playback,
the server gets stuck with 100% CPU usage. Notice: perl.exe is taking the 100%, not sox.exe
or flac.exe.

Might be related to bug 2585 or bug 1401. 

The same files behaved well with 6.2.1. (with sox and even with a modified oggdec from HydrogenAudio)
I have 6.2.1 in a different directory and only copied over my .pref file to
the 6.2.2 directory. 

Here is the d_source log from the server:

2006-03-27 20:38:02.0305 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:02.0308 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.7815 00:04:20:06:32:25: Switching to mode stop from stop
2006-03-27 20:38:05.7823  Already in playmode stop : ignoring mode change
2006-03-27 20:38:05.7825 jumping to 1
2006-03-27 20:38:05.7827 Adding song index 1 to song queue
2006-03-27 20:38:05.7827 Clearing out song queue first
2006-03-27 20:38:05.7828 Song queue is now 1
2006-03-27 20:38:05.7832 00:04:20:06:32:25: Switching to mode play from stop
2006-03-27 20:38:05.7839 openSong on: file:///E:/Soundfiles/Carl%20Orff%20-%20Ro
yal%20Philarmonic%20Orchestra%20-%20Carmina%20Burana/Carl%20Orff%20-%20Royal%20P
hilarmonic%20Orchestra%20-%20Fortune%20plango%20vulnera.ogg
2006-03-27 20:38:05.7939 openSong: getting duration  162, size 3054338, endian
and offset 494 for file:///E:/Soundfiles/Carl%20Orff%20-%20Royal%20Philarmonic%2
0Orchestra%20-%20Carmina%20Burana/Carl%20Orff%20-%20Royal%20Philarmonic%20Orches
tra%20-%20Fortune%20plango%20vulnera.ogg
2006-03-27 20:38:05.7943 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.7945 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.7965 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.7968 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.7969 undermax = 1, type = ogg, squeezebox2 = 00:04:20:06:32:
25, lame = G:\Programme\SlimServer_exp\Bin\MSWin32-x86-multi-thread\lame.exe
2006-03-27 20:38:05.7971 checking formats for: ogg-wma-squeezebox2-00:04:20:06:3
2:25
2006-03-27 20:38:05.7972 checking formats for: ogg-wma-*-00:04:20:06:32:25
2006-03-27 20:38:05.7974 checking formats for: ogg-wma-squeezebox2-*
2006-03-27 20:38:05.7976 checking formats for: ogg-wma-*-*
2006-03-27 20:38:05.7977 checking formats for: ogg-flc-squeezebox2-00:04:20:06:3
2:25
2006-03-27 20:38:05.7978 checking formats for: ogg-flc-*-00:04:20:06:32:25
2006-03-27 20:38:05.7979 checking formats for: ogg-flc-squeezebox2-*
2006-03-27 20:38:05.7980 checking formats for: ogg-flc-*-*
2006-03-27 20:38:05.7982 Checking to see if ogg-flc-*-* is enabled
2006-03-27 20:38:05.7984 There are 4 disabled formats...
2006-03-27 20:38:05.7985 Testing wav-flc-*-* vs ogg-flc-*-*
2006-03-27 20:38:05.7987 Testing ogg-wav-*-* vs ogg-flc-*-*
2006-03-27 20:38:05.7988 Testing mov-mp3-*-* vs ogg-flc-*-*
2006-03-27 20:38:05.7989 Testing mov-flc-*-* vs ogg-flc-*-*
2006-03-27 20:38:05.7990 Testing mov-aif-*-* vs ogg-flc-*-*
2006-03-27 20:38:05.7991    enabled
2006-03-27 20:38:05.7992   Found command: [sox] -t ogg $FILE$ -t raw -r 44100 -c
 2 -w -s $-x$ - | [flac] -cs --compression-level-0 --totally-silent --endian big
 --channel 2 --bps 16 --sample-rate 44100 --sign signed -
2006-03-27 20:38:05.8012 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.8063 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:05.8066 Matched Format: flc Type: ogg Command: [sox] -t ogg $FI
LE$ -t raw -r 44100 -c 2 -w -s $-x$ - | [flac] -cs --compression-level-0 --total
ly-silent --endian big --channel 2 --bps 16 --sample-rate 44100 --sign signed -

2006-03-27 20:38:05.8068 openSong: this is an ogg file: file:///E:/Soundfiles/Ca
rl%20Orff%20-%20Royal%20Philarmonic%20Orchestra%20-%20Carmina%20Burana/Carl%20Or
ff%20-%20Royal%20Philarmonic%20Orchestra%20-%20Fortune%20plango%20vulnera.ogg
2006-03-27 20:38:05.8070   file type: ogg format: flc inrate: 160 maxRate: 0
2006-03-27 20:38:05.8071   command: [sox] -t ogg $FILE$ -t raw -r 44100 -c 2 -w
-s $-x$ - | [flac] -cs --compression-level-0 --totally-silent --endian big --cha
nnel 2 --bps 16 --sample-rate 44100 --sign signed -
2006-03-27 20:38:05.8087 Using command for conversion: "G:\Programme\SlimServer_
exp\Bin\MSWin32-x86-multi-thread\sox.exe" -t ogg "E:\Soundfiles\Carl Orff - Roya
l Philarmonic Orchestra - Carmina Burana\Carl Orff - Royal Philarmonic Orchestra
 - Fortune plango vulnera.ogg" -t raw -r 44100 -c 2 -w -s -x - | "G:\Programme\S
limServer_exp\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --compression-level-0 -
-totally-silent --endian big --channel 2 --bps 16 --sample-rate 44100 --sign sig
ned - |
2006-03-27 20:38:05.8435 Streaming with format: flc
2006-03-27 20:38:06.1920 00:04:20:06:32:25 New play mode: play
2006-03-27 20:38:06.2014 00:04:20:06:32:25: Current playmode: play
2006-03-27 20:38:06.2189 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:06.2193 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:07.9946 Got a track starting event
2006-03-27 20:38:07.9950 Song 1 has now started playing
2006-03-27 20:38:07.9994 Song queue is now 1
2006-03-27 20:38:36.5221 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:36.5225 Setting maxBitRate for Meine Squeezebox to: 0
2006-03-27 20:38:45.6101 00:04:20:06:32:25: Switching to mode stop from play
2006-03-27 20:38:45.6105 00:04:20:06:32:25 New play mode: stop
2006-03-27 20:38:45.6106 Stopping and clearing out old chunks for client 00:04:2
0:06:32:25
Comment 1 KDF 2006-03-27 13:07:16 UTC
please leave targets for newly created bugs as "---", since this is used to track new and unallocated bugs for review.  
Comment 2 Dan Sully 2006-04-20 10:17:40 UTC
This has been fixed with a new sox.exe build.