MMW hangs in Start/Task Bar when closing [#14999]

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

rklevy1952

MMW hangs in Start/Task Bar when closing [#14999]

Post by rklevy1952 »

I have had a problem (Win7 Pro) with MMW (v.1875) hanging on closing since mid-July (when I was prompted to install the new version. The only way to clear it from the taskbar is to reboot the computer...task manager will NOT stop the process. A trouble ticket has been pending since then (WVT-241-47999) and have had no response back to date. When I run a dbgview log, upon closing MMW, the log consistently stops at the point it "closes UPnP device".

After spending a lot of time trying to identify the problem, I have been able to reproduce this problem and a potential solution. Just before I updated to v.1875, Microsoft released a security update for Windows (KB4338818--JULY 10, 2018). This update is known to have some issues and from what I can tell, it is also interfering with MMW. I don't know if this is a conflict from MMW or if it's due to the Microsoft update. In either case, if KB4338818 is installed, and I wait for a while or open/close MMW a few times, MMW will hang at the "stopping UPnP device" stage, as shown in the debug log. If I remove the Windows update, MMW seems to work appropriately and does NOT hang, at least for the length of time I've tested (multiple times). I have waited as long as about 1.5 hr with MMW open and it closes properly under these circumstances.

Is anyone aware of any issues with MMW with this update from Microsoft installed?


Pertinent part of debug file:

Code: Select all

00001023	68.69702148	[4804] _Stop: finished
00001024	68.70804596	[4804] Playback stopped.
00001025	68.70812225	[4804] Termination of all threads started.
00001026	68.70817566	[4804] There is currently 0 threads running.
00001027	68.70822906	[4804] All threads were asked to terminate.
00001028	68.70828247	[4804] All threads really terminated.
00001029	68.70835114	[4804] Termination of all threads finished.
00001030	68.70843506	[4804] TCoolTrayIcon.NotifySystem: Mode = 2
00001031	68.72267914	[4804] TCoolTrayIcon.NotifySystem: Finished 
00001032	68.72367859	[4804] Terminating device handlers.
00001033	68.72373199	[4804] Devices: Terminating C:\Program Files\MediaMonkey\Plugins\d_iPhone.dll
00001034	68.72377777	[4804] iPod: UpdateDeviceState
00001035	68.72380829	[4804] iPod:   Disconnected
00001036	68.72385406	[4804] Devices: fQuit called
00001037	68.72389221	[4804] Devices: Terminating C:\Program Files\MediaMonkey\Plugins\d_iPod.dll
00001038	68.72393036	[4804] iPod: UpdateDeviceState
00001039	68.72396851	[4804] iPod:   Disconnected
00001040	68.72401428	[4804] Devices: fQuit called
00001041	68.72405243	[4804] Devices: Terminating C:\Program Files\MediaMonkey\Plugins\d_iRiverH.dll
00001042	68.72423553	[4804] Devices: fQuit called
00001043	68.72427368	[4804] Devices: Terminating C:\Program Files\MediaMonkey\Plugins\d_WMDM.dll
00001044	68.72431183	[4804] WMDM: Closing WMDM
00001045	68.72435760	[4804] WMDM: Queueing action id:0
00001046	68.72447968	[4804] WMDM: Waiting for queued actions to terminate
00001047	68.72454834	[4804] WMDM: Closing Notifications
00001048	68.72472382	[4804] WMDM: Closing Notifications 2
00001049	68.72477722	[4804] WMDM: Closing Notifications 3
00001050	68.72483826	[4804] WMDM: Closing Dev manager
00001051	68.72487640	[4804] WMDM: Waiting for queued actions to terminate
00001052	68.72659302	[4804] WMDM: All is terminated
00001053	69.73095703	[4804] WMDM: All is finished
00001054	69.73104858	[4804] Devices: fQuit called
00001055	69.73137665	[4804] Devices: Unloading C:\Program Files\MediaMonkey\Plugins\d_WMDM.dll
00001056	69.73146820	[4804] WMDM: Finalization started
00001057	69.73154449	[4804] WMDM: Finalization finished
00001058	69.73475647	[4804] FastMM has been uninstalled.
00001059	69.73668671	[4804] Devices: Unloading C:\Program Files\MediaMonkey\Plugins\d_iRiverH.dll
00001060	69.73735046	[4804] Devices: Unloading C:\Program Files\MediaMonkey\Plugins\d_iPod.dll
00001061	69.73986816	[4804] FastMM has been uninstalled.
00001062	69.74134064	[4804] Devices: Unloading C:\Program Files\MediaMonkey\Plugins\d_iPhone.dll
00001063	69.74235535	[4804] FastMM has been uninstalled.
00001064	69.74246979	[4804] Revoking global interface.
00001065	69.74256134	[4804] Events: Unregistering all events.
00001066	69.74292755	[4804] Events: Clearing Object store.
00001067	69.74397278	[4804] Terminate auto-scanning.
00001068	69.74410248	[4804] Clear songlist.
00001069	69.74475861	[4804] Remaining Cover Lists: 0
00001070	69.74535370	[4804] Going to close UPnP
00001071	69.74546051	[4804] UPnP: Stop UPnP Device
[\code]
Peke
Posts: 17484
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: MMW hangs in Start/Task Bar when closing-KB4338818

Post by Peke »

KB4338818 is cumulative update and a bit hard to tell if it influenced UPnP Server

Added as https://www.ventismedia.com/mantis/view.php?id=14999
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
rklevy1952

Re: MMW hangs in Start/Task Bar when closing [#14999]

Post by rklevy1952 »

After having removed the noted update (KB4338818) I again ran windows update (I had previously hidden this update from installing). Now, the Windows update is saying that my system is up to date and an attempt to install KB4338818 failed. There are numerous reports of how this update had caused similar problems to those I've described for MMW as well as others. I don't know if MS pulled the update or not but I am now convinced that this roll-up was the cause of my problems and I will not try to install it again. I'm sure trying to hunt through that update to discover the problem would be a herculean task, if not impossible. I appreciated your comments. :D
Ludek
Posts: 4959
Joined: Fri Mar 09, 2007 9:00 am

Re: MMW hangs in Start/Task Bar when closing [#14999]

Post by Ludek »

Hi, I am unable to replicate on Windows 7 Pro with the same update installed.

Could you please replace your current UPnP.dll in the MM install folder by this one:
https://www.dropbox.com/s/comw1utt2rep7ta/UPnP.dll?dl=0
And send me debug log (via the ticket WVT-241-47999)
It will be much descriptive log, but should show more.

Thanks!
Post Reply