Crashing repeatedly on 1.23.6.4881 Logs included

This is the only thing blocked for June 2021:

Detected:PUA:Win32/CandyOpen
Status:Removed

This program has potentially unwanted behavior.

Date:6/30/2021 11:42 PM

Affected items:
containerfile: C:\Web Downloads\PLEX\video converter\Plex-Media-Server-1.6.1.3722-4955e31cf.exe
file: C:\Web Downloads\PLEX\video converter\Plex-Media-Server-1.6.1.3722-4955e31cf.exe->(7zSfx)->Carrier.exe

Thanks

I have removed the dump as they may contain sensitive data - I have downloaded it - please in future send dumps/links to uploaded dumps in a private message

There is a problem with the logs upload. You may have inadvertantly removed a [ when editing the text in the post.

Could you please re-upload the logs zip - thank you

I need that to add to the dump that I am referring to the development team

@spdelope

I presume you mean here open the Live TV EPG Guide within Plex ? and selecting a TV Channel airing form the guide ?

If you do not do this, does the server run ok ? Media within your libraries accessible ?

May be it was a shutdown that led to the logged error I highlighted

I would like to see evidence of a problem when there is no vpn and also netstat diagnostics to show that nothing else is using tcp ports 32400, 32401, and the tuner service port 32600

I noticed this error in the last set of logs

Aug 02, 2021 22:09:59.093 [11628] INFO - [I] web_server_t::start. Starting web server on port 32600
Aug 02, 2021 22:09:59.093 [11628] WARN - [E] web_server_t: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted
Aug 02, 2021 22:09:59.093 [11628] WARN - [E] web_server_t: port 32600 is not available

So please when this issue arises, start a windows command line session with ā€œRun As Administratorā€ - type cmd in run dialogue box and right click on ā€œCommand Promptā€ and select ā€œRun As Administratorā€ and then in the window, type
netstat -a -b -n > %LocalAppData%\netstat_2021-08-31.txt

and then upload the netstat_2021-08-31.txt file together with the logs
The above command saves the file within this path
C:\Users\Carl\AppData\Local

You can copy the Logs out to a temporary folder you create and zip that folder manually
The logs are here
C:\Users\Carl\AppData\Local\Plex\ Media Server\Logs

Further to my earlier feedback requesting the logs for the 25th August crash, you mentioned on the 19th that the crashes started early August

Could we tie it to a specific Plex Media Server version upgrade ?
The Windows Application log would have all the application crashes and also all the msi installs of Plex Media Server.

Could you see what version the crashes started with ? The first set of logs you provided from 19th August were for version 1.24.0.4930-ab6e1a058

In Windows Event Viewer, you can filter the application event log for event id 1000 and see when the Plex Media Server crashes started

You can also filter the Application log on Event Source: MsiInstaller and see when versions were installed

Reuploaded Logs here Plex Media Server Logs_2021-08-25_16-11-03.zip (4.2 MB)

Unfortunately the earliest error I see in event viewer is from 8/22 which jives with when I had windows start to handle the crash dumps.

Thank you. I have now added logs to the analyzed dump passed to the development team

Thanks for checking - i was not sure if windows only logs application exceptions when it handles the crashes

Thank you! Let me know if you need any more info. Should I try to reinstall plex or wait for their response. Would do it but really dont want to lol

Cannot say how long it takes before the problem is investigated and problem identified. I would suggest ensuring running on latest beta releases - currently this 1.24.2.4973

Just to add to this thread, I was also experiencing crashes on 1.23.xxx can’t remember the specific version, but I was able to get it up and running just long enough to download and install the latest version (1.24.1.4931), rebooted and everything seems fine now.

I had a few power outages overnight the weekend of August 21, 22. Perhaps something corrupted during the maintenance period? Who knows. Regardless, update and reboot fixed my issue.

Hello :slight_smile:

Just wanted to add that upgrading to the latest Plex Media Server version seems to have resolved the issue for me. Been running for well over a week without any crashes. Currently on 1.24.1.4931.

No joy here with latest beta version installed, Plex crashes with zero info available in the logs. The application simply closes with no warning.

How do I downgrade to a known-good version? EDIT: never mind, found a post above that linked to the previous version.

I can see a couple of uploaded crash reports - I need the corresponding server logs

Could you upload current server logs and also get fresh logs for a new crash - debug logging needs to be enabled beforehand

Ensure debug logging is not disabled on the server - see https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Launch Plex Media Server and if it crashes get the server logs - if it does not stay up long enough to download the server logs, copy the server logs out manually and zip the copy and attach

Also please look in the %TEMP% directory for any crash reports as they get moved there after attempt to upload

What is the processor on the server? The crash reports I found mention this module _libm_sse2_tan_precise -

On a hunch, I changed a few settings before disabling hardware acceleration, no more crashes since then. I’ll uninstall the nVidia Quadro card I put in to help with transcoding and leave the CPU to do it.

I don’t want to speak to soon but when I installed the beta release xx.5000, it failed like for everyone else. I did the repair installation and rebooted and got it back up and running.

Before it was crashing religiously every other day, now so far it’s been a week or more and no crashes!

Yay;

Ok, damn…it happened again…Plex Media Server Logs_2021-09-18_10-09-43.zip (6.6 MB)

Also sent you event viewer log from the crash

Thanks for the event log extract and zero length dmp file and logs

We appear to have run out of memory. Being a 32-bit application the max size is 2Gb

Sep 18, 2021 03:17:35.628 [6544] ERROR - Exception handled: bad allocation
Sep 18, 2021 03:17:35.633 [6544] ERROR - Thread: Uncaught exception running async task which was spawned by thread 6220: bad allocation

Could you enable memory usage logging please and also update to the latest released version as 1.24.2.5000 has been superseded

current beta and public: 1.24.3.5033-757abe6b4

Ensure debug logging remains enabled

To Enable memory usage logging:

n RegEdit navigate to

  • KEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server*

Right Click on Plex Media Server
Select New → DWORD (32-bit) value
and name the entry LogMemoryUse
and set the value to 1

Restart Plex Media Server and after next crash - get the logs zip, zip of any dmp files and event log exceptions extracts

Thanks

Resent correct dmp via message.

Should I still have the memory logging enabled? I did it before I realized the mistake I made.

Edit: sent follow up info and unchecked all scheduled task options. If it stops, I’ll enable one at a time if the problem goes away

Others are having the same issue as me with Plex crashing at the same frequency (every 3 days) and seems to be the same ucrtbase.dll is the culprit in the event viewer.

You can check the post here Server crashing - Windows Event Viewer shows ucrtbase.dll as faulting module - #10 by CaffeinatedGuy

Thanks for the logs with memory usage logging. It was during scheduled task of refreshing metadata that we spiked in memory usage and could not recover from it with errors logged for adding threads even after memory use went down,. I have passed the details to the development team