Segfault after recording TV show

Server Version#: 1.32.8.7639
Player Version#:

I have noticed that my server is crashing periodically after finishing recording tv shows. When tail the syslog, I see entries like:

Dec 14 19:00:06 Westbrook-Linux Plex Media Server[87319]: ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /mnt/Storage/plexdata/Library/Application Support/Plex Media Server/Crash Reports/1.32.8.7639-fb6452ebf/PLEX MEDIA SERVER/1dffe8b1-1906-4991-cdccca82-46e5b2b2.dmp
Dec 14 19:00:06 Westbrook-Linux kernel: [63662.011637] PMS MSM Refresh[93487]: segfault at 0 ip 00007f8a3bbeded7 sp 00007f8a25447a70 error 4 in Plex Media Server[7f8a3bbde000+c40000]
Dec 14 19:00:06 Westbrook-Linux kernel: [63662.011650] Code: 46 10 48 8b 41 10 31 d2 48 39 08 0f 95 c2 48 89 34 d0 48 89 4e 08 48 89 71 10 48 8b 46 10 c6 46 18 01 c6 40 18 00 48 8b 48 08 <48> 8b 11 48 89 50 08 48 85 d2 74 04 48 89 42 10 48 8b 50 10 48 89

This seems to start happening with PMS 1.32.8.7639

I have attached the debug logs
Plex Media Server Logs_2023-12-14_19-18-50.zip (4.1 MB)

I have reduced the crashes, by canceling some of the scheduled DVR recordings. The crashes seemed to happen when a recording finished, while another continued.

For example, on Tuner 1, a 2-hour recording is in process, but on Tuner 2 a 30-minute recording finishes, the crash could happen at this point. And since I have “Allow partial airings” unchecked, the 2-hour recording is cancelled.

I have also another solution for solving this problem. If I disable the detection of commercials, that also seems to prevent the crashes.

Since it seems that this is related to commercial detection, is this a known issue?

1.32.8.7639 has been very stable, I would suspect some other software or hardware impacting Plex. SA2000 would be the best person to ping and see if he can look at your crash dumps.

I have looked at the 14th december crash and it relates to scheduled recordings. We have a fix that is coming out shortly in an update to the current 1.40.0 beta

Looking at uploaded crash reports - you are also having another crash relating to audio sampling/analysing of media - I would need logs for these to investigate.
Looking at last few days crash reporting, yYou had crashes relating to this at these times

03:00 Jan 24
03:09 Jan 20
05:15 Jan 19
05:06 Jan 19

Could you look in /tmp for files with .dmp and .dmp.log and .log filename extensions for these times and zip the files and send me by private message

The crashes that we have a fix coming in an update to the 1.40.0 beta happened at these times

11:02 Jan 22
10:00 Jan 22
10:02 Jan 21
08:00 Jan 20
14:01 Jan 19
21:00 Jan 18

These crashes have been fixed in the new Plex Media Server beta 1.40.0.7996