Unable to transcode on Unraid.

Whenever I attempt to transcode anything it says Transcoder Process Crashed.

Unraid has the following error in the log.

May 12 18:24:07 Tower kernel: traps: Plex Transcoder[24057] trap invalid opcode ip:c298f4 sp:7ffdcf6204d8 error:0 in Plex Transcoder[400000+c77000]

Any ideas on what the issue may be or how to resolve it?

I have attached the logs below.

I can see successful completion of some transcode jobs. You gave a time of 18:24 for a crash but the logs only go up to 18:02

I can see a trailer transcode giving an illegal instruction exit at 17:58:43 and also at 17:47:25 and 17:48:18. I presume It is these failures you are referring to

What is the exact hardware / model you are running on and which binary/download are you using?

I’ve just started to have this problem on my UnRaid server also. I can get some transcodes started but others have been failing.

Hardware:
Model: Custom
M/B: ASRock - EP2C602-4L/D16
CPU: Intel® Xeon® CPU E5-2670 0 @ 2.60GHz
HVM: Enabled
IOMMU: Enabled
Cache: 512 kB, 2048 kB, 20480 kB
Memory: 96 GB Multi-bit ECC (max. installable capacity 192 GB)
Network: eth0: 1000 Mb/s, full duplex, mtu 1500
eth1: not connected
eth2: not connected
eth3: not connected
Kernel: Linux 4.14.40-unRAID x86_64
OpenSSL: 1.0.2o
Uptime: 0 days, 07:06:07

@Deaerator said:
I’ve just started to have this problem on my UnRaid server also. I can get some transcodes started but others have been failing.

Hardware:
Model: Custom
M/B: ASRock - EP2C602-4L/D16
CPU: Intel® Xeon® CPU E5-2670 0 @ 2.60GHz
HVM: Enabled
IOMMU: Enabled
Cache: 512 kB, 2048 kB, 20480 kB
Memory: 96 GB Multi-bit ECC (max. installable capacity 192 GB)
Network: eth0: 1000 Mb/s, full duplex, mtu 1500
eth1: not connected
eth2: not connected
eth3: not connected
Kernel: Linux 4.14.40-unRAID x86_64
OpenSSL: 1.0.2o
Uptime: 0 days, 07:06:07

I cannot see any illegal instruction failures as was reported in this forum topic

However, I can see issues with the easyaudioencoder

May 18, 2018 21:27:41.763 [0x1468fcffb700] INFO - CodecManager: starting EAE at "/tmp/pms-83ecb3f1-cb19-4f8c-a8d5-fb3527a893db/EasyAudioEncoder"

May 18, 2018 21:27:41.764 [0x1468fcffb700] DEBUG - Job running: '/config/Library/Application Support/Plex Media Server/Codecs/EasyAudioEncoder-141-linux-ubuntu-x86_64/EasyAudioEncoder/EasyAudioEncoder'

May 18, 2018 21:27:41.767 [0x1468fcffb700] DEBUG - Jobs: Starting child process with pid 430

and it failed

May 18, 2018 21:27:41.783 [0x1469027ff700] DEBUG - Jobs: '/config/Library/Application Support/Plex Media Server/Codecs/EasyAudioEncoder-141-linux-ubuntu-x86_64/EasyAudioEncoder/EasyAudioEncoder' exit code for process 430 is 13 (failure)

Error 13 I presume is EACCES 13 Permission denied

This area needs to have full read/write permissions and also not be mounted on a network share
'/tmp/pms-83ecb3f1-cb19-4f8c-a8d5-fb3527a893db/EasyAudioEncoder'

and this area needs to also have execute permissions - so read/write/execute
'/config/Library/Application Support/Plex Media Server/Codecs/EasyAudioEncoder-141-linux-ubuntu-x86_64/EasyAudioEncoder/EasyAudioEncoder'

@JustinPitt said:
I have attached the logs below.

@sa2000 said:
I can see successful completion of some transcode jobs. You gave a time of 18:24 for a crash but the logs only go up to 18:02

I can see a trailer transcode giving an illegal instruction exit at 17:58:43 and also at 17:47:25 and 17:48:18. I presume It is these failures you are referring to

What is the exact hardware / model you are running on and which binary/download are you using?

Linking to similar transcoder failure on QNAP http://forums.plex.tv/discussion/321609/errors-when-playing-trailers-and-pre-roll

Still waiting to know exact model of the UNRAID NAS

Suspect some processors do not have support for a certain instruction

@JustinPitt said:
I have attached the logs below.

I will have a pre-beta development build to make available. Let me know if you wish to try it out for the UNRAID server

The fix for the Transcoder illegal instruction failure has now been released in Plex Media Server Beta release 1.13.2.5142

See Release Note

  • (Transcoder) Conversion of remote content could fail on some x86_64 Linux systems (#8662)