plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.16k stars 168 forks source link

Plex crashes on macOS #1045

Closed gchai closed 2 years ago

gchai commented 2 years ago

Test environment

PMS Version: 1.24.3 PMP Version: 1.34.1 Platform (Windows/macOS/Embedded RPi/Embedded Intel): macOS

Steps to reproduce

  1. Launch Plex
  2. Plex will crash within the minute

Current behavior

  1. Plex crashes

Expected behavior

  1. Plex should not crash

The error message that causes the crash is Oct 07, 2021 04:41:24.568 [0x117364e00] ERROR - [UpdateManager] FATAL ERROR: Log: Error handling format string 'Download %s of %s progress %s of %s bytes (%d%%)': invalid type specifier

Error from macOS error reporter:

Path:                  /Applications/Plex.app/Contents/MacOS/Plex
Identifier:            tv.plex.desktop
Version:               1.34.1 (1.34.1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Plex [7015]
User ID:               501

Date/Time:             2021-10-07 04:41:24.585 -0400
OS Version:            macOS 11.3.1 (20E241)
Report Version:        12
Bridge OS Version:     5.3 (18P4556)
Anonymous UUID:        8B69F20A-48B0-4AC0-BAA4-DC20484FC693

Sleep/Wake UUID:       36D57243-0D76-405F-A049-6AFBD1AD63EE

Time Awake Since Boot: 52000 seconds
Time Since Wake:       220 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
terminating with uncaught exception of type std::runtime_error: Log: Error handling format string 'Download %s of %s progress %s of %s bytes (%d%%)': invalid type specifier
abort() called

Redacted error log from Plex:


Oct 07, 2021 04:41:22.365 [0x117364e00] ERROR - [Web] [Connections] All connections to M***** failed
Oct 07, 2021 04:41:22.366 [0x117364e00] INFO - [Web] [Connections] Testing connection for p********** at https://*****
Oct 07, 2021 04:41:23.977 [0x117364e00] INFO - [UpdateManager] It has gone 59 seconds since last update check.
Oct 07, 2021 04:41:23.978 [0x117364e00] INFO - [UpdateManager/UpdateFetcher] Sending request: https://plex.tv/updater/products/6/check.xml?version=1.34.1.2590-74ea7099&build=&channel=0&distribution=&version=1.34.1.2590-74ea7099&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Oct 07, 2021 04:41:24.059 [0x117364e00] INFO - [Web] [Connections] Testing all 1 connection(s) for M*****
Oct 07, 2021 04:41:24.060 [0x117364e00] INFO - [Web] [Servers] Found all servers = S******, C********, N*******, plex.tv
Oct 07, 2021 04:41:24.063 [0x117364e00] INFO - [Web] [Commands] Executing testServerConnection
Oct 07, 2021 04:41:24.064 [0x117364e00] INFO - [Web] [Connections] Retrying connection tests for M***** in 10 seconds
Oct 07, 2021 04:41:24.080 [0x117364e00] ERROR - [Web] [Connections] rig is unavailable at http://***** (Status 0)
Oct 07, 2021 04:41:24.083 [0x117364e00] ERROR - [Web] [Connections] All connections to rig failed
Oct 07, 2021 04:41:24.083 [0x117364e00] INFO - [Web] [Servers] Found all servers = S******, C********, N*******, plex.tv
Oct 07, 2021 04:41:24.087 [0x117364e00] ERROR - [Web] [Connections] All connections to rig failed
Oct 07, 2021 04:41:24.087 [0x117364e00] ERROR - [Web] [Connections] All connections to rig failed
Oct 07, 2021 04:41:24.089 [0x117364e00] INFO - [Web] [Connections] Testing connection for M***** at http://*****
Oct 07, 2021 04:41:24.093 [0x117364e00] ERROR - [Web] [Connections] N******* is unavailable at https://***** (Status 0)
Oct 07, 2021 04:41:24.096 [0x117364e00] ERROR - [Web] [Connections] Prevented fallback to insecure connection for N*******
Oct 07, 2021 04:41:24.097 [0x117364e00] INFO - [Web] [Connections] Testing connection for R****** at https://****
Oct 07, 2021 04:41:24.151 [0x117364e00] ERROR - [Web] [Connections] p********** is unavailable at https://**** (Status 0)
Oct 07, 2021 04:41:24.153 [0x117364e00] ERROR - [Web] [Connections] Prevented fallback to insecure connection for p**********
Oct 07, 2021 04:41:24.153 [0x117364e00] INFO - [Web] [Connections] Testing connection for Henry's PC (TEMP) at https://******
Oct 07, 2021 04:41:24.158 [0x117364e00] INFO - [Web] [Connections] Testing all 1 connection(s) for rig
Oct 07, 2021 04:41:24.158 [0x117364e00] INFO - [Web] [Servers] Found all servers = S******, C********, N*******, plex.tv
Oct 07, 2021 04:41:24.161 [0x117364e00] INFO - [Web] [Commands] Executing testServerConnection
Oct 07, 2021 04:41:24.161 [0x117364e00] INFO - [Web] [Connections] Retrying connection tests for rig in 10 seconds
Oct 07, 2021 04:41:24.385 [0x117364e00] INFO - [UpdateFetcher] Fetched: https://plex.tv/updater/products/6/check.xml?version=1.34.1.2590-74ea7099&build=&channel=0&distribution=&version=1.34.1.2590-74ea7099&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (Success)
Oct 07, 2021 04:41:24.387 [0x117364e00] INFO - [UpdateFetcher/UpdateManager/UpdateDownloader] Downloading https://plex.tv/updater/packages/116152/manifest to /Users/*****/Library/Caches/Plex/updates/1.35.1.2632-c6783c78/packages/manifest.xml.bz2
Oct 07, 2021 04:41:24.388 [0x117364e00] INFO - [UpdateFetcher/UpdateManager] Downloading: 1.35.1.2632-c6783c78
Oct 07, 2021 04:41:24.415 [0x117364e00] INFO - [Web] [Companion] Opening long poll to S****** at https://*****/player/proxy/poll
Oct 07, 2021 04:41:24.568 [0x117364e00] ERROR - [UpdateManager] FATAL ERROR: Log: Error handling format string 'Download %s of %s progress %s of %s bytes (%d%%)': invalid type specifier```
gbooker commented 2 years ago

That's not Plex Media Player. Your issue is resolved by using the latest version: https://www.plex.tv/media-server-downloads/#plex-app