Plex HTPC keeps crashing on my Windows PC

Server Version#: 1.25.2.5319
Player Version#:1.9.0…2741

Log:

Jan 04, 2022 12:32:39.842 [15272] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 12:32:39.877 [15272] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 12:32:39.882 [15272] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 12:32:40.015 [15272] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 12:32:48.670 [15272] INFO - [UpdateManager] It has gone 60 seconds since last update check.
Jan 04, 2022 12:32:48.670 [21420] INFO - [UpdateFetcher] Sending request: https://plex.tv/updater/products/7/check.xml?version=1.9.0.2741-f8cc15f0&build=windows-x86_64&channel=0&distribution=windows&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Jan 04, 2022 12:32:48.670 [21420] WARN - [UpdateFetcher] QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x233609b90a0), parent's thread is QThread(0x2335d84f280), current thread is QThread(0x23364d46d20)
Jan 04, 2022 12:32:48.671 [9424] ERROR - CreateWindow() for QEventDispatcherWin32 internal window failed (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 12:32:48.671 [9424] ERROR - Qt: INTERNAL ERROR: failed to install GetMessage hook: 1158, The current process has used all of its system allowance of handles for Window Manager objects.

Are you frequently adding and removing display devices from this computer?
(e.g. switching on an external TV device only after booting up the PC)

Shut down Plex HTPC (verify with the Task manager [CTRL+Shift+Esc] that no Plex HTPC processes are still running)
go to

%LOCALAPPDATA%\Plex HTPC

(copy the address into your clipboard, then click once on the address bar of the Windows file explorer, then paste [CTRL+V] the address and press Enter)
Empty out his folder.

Try again to start Plex HTPC.

I am only using one monitor for Plex HTPC.
After I disabled autoupdates, it stopped crashing.

I would rather not empty out the Plex HTPC folder because pinning libraries again and changing the settings again is a bother.

Well, if it continues to crash, I will do that. :slight_smile:

That’s a good hint!
Try emptying out only the subfolder

%LOCALAPPDATA%\Plex HTPC\cache\updates

then.

Unfortunately, with updates enabled and the %LOCALAPPDATA%\Plex HTPC\cache\updates
cleared Plex HTPC still crashed.
Log:

Misc:  
  Seekable:  true 
  Partially seekable:  false 
  Paused for cache:  false 
  Buffering state:  100 
  Frame drop count:  0 
  Mistimed frames:  ? 
  Time:  30.00  /  2571.97  ( 1.17 %) 
  State:    playing   
Jan 04, 2022 18:33:17.490 [4524] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 18:33:17.522 [4524] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 18:33:17.531 [4524] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 18:33:17.656 [4524] ERROR - QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 18:33:19.440 [4524] INFO - [UpdateManager] It has gone 60 seconds since last update check.
Jan 04, 2022 18:33:19.440 [27436] INFO - [UpdateFetcher] Sending request: https://plex.tv/updater/products/7/check.xml?version=1.9.0.2741-f8cc15f0&build=windows-x86_64&channel=0&distribution=windows&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Jan 04, 2022 18:33:19.440 [27436] WARN - [UpdateFetcher] QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x20c4bcafbc0), parent's thread is QThread(0x20c487849c0), current thread is QThread(0x20c5004c270)
Jan 04, 2022 18:33:19.440 [25084] ERROR - CreateWindow() for QEventDispatcherWin32 internal window failed (The current process has used all of its system allowance of handles for Window Manager objects.)
Jan 04, 2022 18:33:19.441 [25084] ERROR - Qt: INTERNAL ERROR: failed to install GetMessage hook: 1158, The current process has used all of its system allowance of handles for Window Manager objects.

Disabling auto-updates again as a temporary fix.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.