Plex Transcoder segfault - libavcodec.so.59

Server Version#: 1.41.4.9399 (Docker container, unRAID)
Player Version#: Unknown, but suspect all versions. Error has randomly occurred on the same platform and player version multiple times

Hardware transcoding is accomplished through the igpu present on an intel i3-10100. Generally speaking, I’ve not had any issues passing this GPU through to Plex. I am using /dev/shm as the transcode directory, with 64GB total system ram available - I have not experienced any transcode directory size issues

I’ve been having a Plex Transcoder error occur, where it fails to HARDWARE transcode a file from HEVC to H.264/H.265 and will fall back to software transcoding. I’ve only noticed this issue recently after updating to the HEVC to HEVC hardware transcode enabled server version of PMS, although I can’t absolutely guarantee this issue did not exist in some previous versions (I just never noticed anything). Here’s an example of the errors I see in unraid:

Feb  1 17:51:21 unRAID kernel: Plex Transcoder[4022]: segfault at 18 ip 00001478d8ff4dca sp 00007fff514d7e40 error 4 in libavcodec.so.59[1478d8c88000+3e1000] likely on CPU 2 (core 2, socket 0)

Feb  1 17:51:21 unRAID kernel: Code: 4c 89 eb 0f 84 dc 00 00 00 c7 83 1c 07 00 00 01 00 00 00 48 8b 83 d0 01 00 00 48 3b 83 e8 01 00 00 7d 19 48 8b 83 c0 01 00 00 <48> 8b 40 18 48 2b 83 f8 01 00 00 48 89 83 00 02 00 00 49 83 bd b8

Unfortunately I don’t know the exact player version, as its a remote user, but I can say that the same player and even same 4k/h.265 media file have both successfully played utilizing hardware transcoding from HEVC to HEVC and in other instances experienced the transcoding issue described above. Its difficult for me to pinpoint any consistent behavior at the moment.

Lastly, I’ve done some google searching on this topic and it seems there was a similar transcoding error experienced by some in the past related to tone mapping HDR to SDR. However, the proposed solutions in those threads were to downgrade the plex server version (which are several years old at this point) or to disable HDR tone mapping altogether. These are not solutions I’ve tried, but I’m not excited about entertaining either of them.

Any thoughts on where I can start digging for a solution? Thank you!

I am experiencing almost the identical issue. It seems to mainly present when a transcoding user skips forward a few times using the “10 second forward” button on the remote.
I believe this started when I enabled HEVC transcoding.
It crashes out 1-2 times per day so I’m not terribly worried, however, I would like to see this resolved. I believe this is a PMS/Transcode issue. Hardware (specifically GPU) has been validated and memtested.

unRaid kernel: PMS ReqHandler[3786102]: segfault at 14acda133968 ip 000014acb6a8cf51 sp 000014acd933eec0 error 4 in libnvcuvid.so.570.86.16[14acb6a74000+1171000] likely on CPU 6 (core 12, socket 0)

I can provide .dmp/.log files to a Plex employee upon request.

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