INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: A Microsoft update may be causing MC to hang on exit  (Read 1287 times)

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10859
  • Dogs of the world unite!
A Microsoft update may be causing MC to hang on exit
« on: August 10, 2018, 09:15:34 am »

In the last few weeks I have experienced a lot of hangs when exiting MC.  The hang was so severe the only way to get out of it was to reboot the computer.  We tracked the problem down to the point where MC was trying to clean up DLNA devices and closing sockets.  But we could not find anything wrong with our code.  I would say, it hung about 60 to 70 percent of times.  I figured there must be something outside of MC that was causing it.  So I did a search, and found a couple of reports of this sort of hangs.  Here is one:

https://forum.filezilla-project.org/viewtopic.php?t=49308

In a nutshell, Microsoft update KB4338818 was the cause.  In the discussion linked above, people said uninstalling the update fixed the problem.  In another report, Microsoft was said to have fixed the issue and released another update, KB4345459.

Here is the link to the update:

https://www.catalog.update.microsoft.com/Search.aspx?q=KB4345459

Strangely, Microsoft did not push this update to my computer.  I had to go looking for it.  I went ahead with installing KB4345459 yesterday.  After the installation I have not had a single hang on exit.

If anyone is having MC hangs when exiting, take a look at your Windows Update history and search for KB4338818 and KB4345459.  If you do not have KB4345459, download and install it.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10859
  • Dogs of the world unite!
Re: A Microsoft update may be causing MC to hang on exit
« Reply #1 on: August 10, 2018, 09:50:31 am »

The fix that I posted above is for Windows 7, and Windows Server 2008.  For newer OS's check this page for possible updates:

https://www.ghacks.net/2018/07/17/microsoft-fixes-july-2018-updates-for-windows-7-windows-8-1-and-server/
Logged
Yaobing Deng, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10713
Re: A Microsoft update may be causing MC to hang on exit
« Reply #2 on: August 10, 2018, 09:52:31 am »

That Windows 10 update arrived via Windows Update last month already though. The one for earlier versions may be included in a future patch day.
Logged
~ nevcairiel
~ Author of LAV Filters

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1312
Re: A Microsoft update may be causing MC to hang on exit
« Reply #3 on: August 10, 2018, 09:56:04 am »

None of the 5 machines I've checked even has KB4338818 at all. They do have:
KB4340917 July 24, 2018. https://support.microsoft.com/en-us/help/4340917/windows-10-update-kb4340917
KB4338819 July 10, 2018. https://support.microsoft.com/en-us/help/4338819/windows-10-update-kb4338819
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫeD A3-300[RSS315HE-22] •SPA300DѫYSTSW215[15-PRX8S4]

jachin99

  • Citizen of the Universe
  • *****
  • Posts: 559
Re: A Microsoft update may be causing MC to hang on exit
« Reply #4 on: August 10, 2018, 02:57:06 pm »

I'll be following this really close, and I'm glad to see someone is looking at it. 
Logged

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10859
  • Dogs of the world unite!
Re: A Microsoft update may be causing MC to hang on exit
« Reply #5 on: August 10, 2018, 08:58:59 pm »

I'll be following this really close, and I'm glad to see someone is looking at it.

From what I gathered, there is not much to watch now.  If you are having exactly the same problem I described, you should look into updating Windows, or roll back certain Windows Updates.  That is all.  If you are not having the same problem, then this does not apply to you.
Logged
Yaobing Deng, JRiver Media Center

jachin99

  • Citizen of the Universe
  • *****
  • Posts: 559
Re: A Microsoft update may be causing MC to hang on exit
« Reply #6 on: August 10, 2018, 09:26:46 pm »

I can't blame JRiver but I just watched mine try to install 4340917 a couple of times and never succeed on Windows 10.  I restarted the machine, and haven't checked since but it seems like each time I turn off my TV and AVR for a few hours then come back to use the PC, I can't get any video from the PC without rebooting or trying to start task manager, and closing everything out.  I haven't looked very closely at it yet, and I'm still getting used to Windows 10 so Im not sure enough about the problem to say much yet.  I have the PC set to never sleep, I tell it not to turn off the display, and to the best of my knowledge, all power saving options have been disabled in both the OS, and BIOS.
Logged
Pages: [1]   Go Up