View Issue Details

IDProjectCategoryView StatusLast Update
0002799MMW v4Conversion/Levelingpublic2007-02-07 17:32
Reporterrusty Assigned To 
PriorityimmediateSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version3.0 
Summary0002799: Volume leveling in 3.x causes CPU to go to 100% for wma tracks
DescriptionI have a particular set of WMA tracks that for some reason, with MM 3.x, causes CPU to go to 100%.

As per my last comment, the issue is related to album-gain analysis.

Note that the track plays and can be leveled with MM 2.5.5, and can play in MM 3.x.

I've posted the full set of tracks to the ftp server.
TagsNo tags attached.
Fixed in build1015

Relationships

related to 0002302 resolvedjiri Some WMA files cause MM to crash on playback and cannot be leveled 

Activities

rusty

2007-02-07 14:41

administrator   ~0008530

Upon further investigation, I believe that this may be the same as bug 2302 in which DRM somehow interferes with MM functioning properly. The reason is that just like with 2302, extra instances of decoder.exe remain open after MM attempts the leveling (I was unable to delete the files because MM has locked them) even after MM has been forced closed.

The strange thing, though, is that analyzing the volume manually and playing the file both work correctly.

My guess is that something goes wrong on the first attempt at volume leveling/playback and once that happens there's a lock on the file by decoder.exe preventing _some_ functionality from ever working properly.

Here's the info from ProcessExplorer:
Process PID CPU Description Company Name
System Idle Process 0 94
 Interrupts n/a Hardware Interrupts
 DPCs n/a Deferred Procedure Calls
 System 4
  smss.exe 624 Windows NT Session Manager Microsoft Corporation
   csrss.exe 692 Client Server Runtime Process Microsoft Corporation
   winlogon.exe 716 Windows NT Logon Application Microsoft Corporation
    services.exe 772 2 Services and Controller app Microsoft Corporation
     svchost.exe 960 Generic Host Process for Win32 Services Microsoft Corporation
      X1Service.exe 2820 X1 Technologies, Inc.
       textExtractor.exe 3168
      wmiprvse.exe 1988 WMI Microsoft Corporation
     svchost.exe 1020 Generic Host Process for Win32 Services Microsoft Corporation
     svchost.exe 1116 Generic Host Process for Win32 Services Microsoft Corporation
     svchost.exe 1152 Generic Host Process for Win32 Services Microsoft Corporation
     svchost.exe 1268 Generic Host Process for Win32 Services Microsoft Corporation
     svchost.exe 1384 Generic Host Process for Win32 Services Microsoft Corporation
     vsmon.exe 1396 TrueVector Service Zone Labs, LLC
     spoolsv.exe 1740 Spooler SubSystem App Microsoft Corporation
     avgamsvr.exe 1892 AVG Alert Manager GRISOFT, s.r.o.
     avgupsvc.exe 1908 AVG Update Service GRISOFT, s.r.o.
     avgemc.exe 1920 AVG E-Mail Scanner GRISOFT, s.r.o.
     nvsvc32.exe 2012 NVIDIA Driver Helper Service, Version 82.05 NVIDIA Corporation
     svchost.exe 224 Generic Host Process for Win32 Services Microsoft Corporation
     alg.exe 1004 Application Layer Gateway Service Microsoft Corporation
     iPodService.exe 2640 iPodService Module Apple Computer, Inc.
    lsass.exe 784 LSA Shell (Export Version) Microsoft Corporation
    taskmgr.exe 4760 Windows TaskManager Microsoft Corporation
explorer.exe 1320 Windows Explorer Microsoft Corporation
 TSVNCache.exe 216 TortoiseSVN status cache www.tortoisesvn.org
 rundll32.exe 2148 Run a DLL as an App Microsoft Corporation
 smax4pnp.exe 2192 SMax4PNP Analog Devices, Inc.
 SMax4.exe 2280 Audio Control Panel Analog Devices, Inc.
 zlclient.exe 2312 Zone Labs Client Zone Labs, LLC
 avgcc.exe 2356 AVG Control Center GRISOFT, s.r.o.
 iTunesHelper.exe 2424 iTunesHelper Module Apple Computer, Inc.
 ctfmon.exe 2440 CTF Loader Microsoft Corporation
 X1FileMonitor.exe 2484
 gaim.exe 2500 Gaim The Gaim developer community
 qbupdate.exe 2572 QuickBooks Automatic Update Intuit Inc.
 X1Systray.exe 2592 X1 Desktop Search X1 Technologies, Inc.
 X1.exe 2600 3 X1 Technologies, Inc.
 ypops.exe 2608 Free POP3/SMTP access to Yahoo! Mail http://yahoopops.sourceforge.net
 EditPadLite.exe 3984 EditPad Lite JGsoft - Just Great Software
 SyncBackSE.exe 696 SyncBackSE 2BrightSparks Pte Ltd
 firefox.exe 4952 Firefox Mozilla Corporation
 OUTLOOK.EXE 2616 Microsoft Office Outlook Microsoft Corporation
 procexp.exe 3480 2 Sysinternals Process Explorer Sysinternals
Decoder.exe 3040
Decoder.exe 4796
Decoder.exe 6044
Decoder.exe 4412
Decoder.exe 4004

Process: Decoder.exe Pid: 3040

Type Name
Desktop \Default
Directory \Windows
Directory \BaseNamedObjects
Directory \KnownDlls
Event \BaseNamedObjects\crypt32LogoffEvent
File C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03
File \Device\KsecDD
File \Device\KsecDD
File \Device\WMIDataDevice
File \Device\WMIDataDevice
File C:\Documents and Settings\All Users\DRM\drmstore.hds
File \Device\KsecDD
File F:\Documents and Settings\Rusty\My Documents\My Music\Iron & Wine\EP - Iron and Wine\Iron & Wine - Jesus the Mexican Boy.wma
File \Device\KsecDD
File F:\Documents and Settings\Rusty\My Documents\My Music\Iron & Wine\EP - Iron and Wine\Iron & Wine - Jesus the Mexican Boy.wma
File \Device\KsecDD
File \Device\KsecDD
File C:\Program Files\MediaMonkey3
Key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32
Key HKCU\Software\Classes
Key HKLM
Key HKCU
Key HKCU\Software\Classes
Key HKCR
Key HKLM\SOFTWARE\Microsoft\COM3
Key HKU
Key HKCR
Key HKU
Key HKLM\SOFTWARE\Microsoft\COM3
Key HKLM\SOFTWARE\Microsoft\COM3
Key HKCR\CLSID
Key HKCR
Key HKLM\SOFTWARE\Microsoft\COM3
Key HKU
Key HKLM\SOFTWARE\Microsoft\COM3
Key HKLM\SOFTWARE\Microsoft\COM3
Key HKCR\CLSID
Key HKCU\Software\Classes
Key HKCU\Software\Classes
KeyedEvent \KernelObjects\CritSecOutOfMemoryEvent
Mutant \BaseNamedObjects\CTF.LBES.MutexDefaultS-1-5-21-117609710-1767777339-839522115-1003
Mutant \BaseNamedObjects\CTF.Compart.MutexDefaultS-1-5-21-117609710-1767777339-839522115-1003
Mutant \BaseNamedObjects\CTF.Asm.MutexDefaultS-1-5-21-117609710-1767777339-839522115-1003
Mutant \BaseNamedObjects\CTF.Layouts.MutexDefaultS-1-5-21-117609710-1767777339-839522115-1003
Mutant \BaseNamedObjects\CTF.TMD.MutexDefaultS-1-5-21-117609710-1767777339-839522115-1003
Mutant \BaseNamedObjects\CTF.TimListCache.FMPDefaultS-1-5-21-117609710-1767777339-839522115-1003MUTEX.DefaultS-1-5-21-117609710-1767777339-839522115-1003
Mutant \BaseNamedObjects\ShimCacheMutex
Process Decoder.exe(3040)
Section \BaseNamedObjects\MMonkeyDecode6100-96
Section \BaseNamedObjects\CiceroSharedMemDefaultS-1-5-21-117609710-1767777339-839522115-1003
Section \BaseNamedObjects\CTF.TimListCache.FMPDefaultS-1-5-21-117609710-1767777339-839522115-1003SFM.DefaultS-1-5-21-117609710-1767777339-839522115-1003
Section \BaseNamedObjects\ShimSharedMemory
Semaphore \BaseNamedObjects\shell.{A48F1A32-A340-11D1-BC6B-00A0C90312E1}
Thread Decoder.exe(3040): 6008
Thread Decoder.exe(3040): 4896
Thread Decoder.exe(3040): 5488
Thread Decoder.exe(3040): 4748
WindowStation \Windows\WindowStations\WinSta0
WindowStation \Windows\WindowStations\WinSta0

rusty

2007-02-07 15:33

administrator   ~0008532

Further testing by manually leveling the tracks shows that:
-leveling tracks individually works fine
-leveling tracks as a group of 3 causes MM to freeze

Thus it appears that the problem is somehow related to Album-Gain and wma files, and is NOT specific to auto-leveling.

jiri

2007-02-07 17:32

administrator   ~0008535

Fixed in build 1015.
 - Problem was in the fact that the file didn't have SampleFrequency property (as read using WM layer) and so Replay Gain didn't know how to analyze it. It's fixed now, in such case the file is considered as having 44100 sample rate.