If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Transcoder exit code -4

Rory898Rory898 Posts: 2Members, Plex Pass Plex Pass
edited January 5 in FreeBSD

Hi,

I'm hoping someone can help me with a strange transcoding issue. I'm trying to run live streams from a channel and any time the transcoder needs to be involved in the live stream process the stream fails and I get an error code of -4 which I think is a hardware error code, illegal instruction.
The strange thing is that the server will transcode movies/tvshows that are in my library without any issues and without throwing this error code. Also on some devices the livestream will direct play and it has no issues then

Im running on Freenas 11, Plex Version 1.11.0.4666
CPU is an AMD A10

I've attached the logs but these seem to be the main lines

Jan 05, 2018 19:09:18.065 [0x80afdad00] DEBUG - Found session GUID of c7g0ogkoytgjgykkd68m0pcn in session start.

Jan 05, 2018 19:09:18.065 [0x80afdad00] DEBUG - Cleaning directory for session c7g0ogkoytgjgykkd68m0pcn ()

Jan 05, 2018 19:09:18.065 [0x80afdad00] DEBUG - Starting a transcode session c7g0ogkoytgjgykkd68m0pcn at offset -1.0 (state=3)

Jan 05, 2018 19:09:18.067 [0x80afdad00] DEBUG - TPU: hardware transcoding: zero-copy support not present

Jan 05, 2018 19:09:18.068 [0x80afdad00] DEBUG - Job running: EAE_ROOT='/tmp/pms-de8f038d-c97c-49b1-8acc-1dcf09f5799f/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/db/plexdata/Plex\ Media\ Server/Codecs/b077134-1269-freebsd-x86_64/' XDG_CACHE_HOME='/var/db/plexdata/Plex Media Server/Cache/' XDG_DATA_HOME='/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Resources/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Transcoder' '-codec:V:0' 'h264' '-codec:a:0' 'aac' '-i' '' '-filter_complex' '[0:V:0]scale=w=min(1920\,iw):h=min(1080\,ih):force_original_aspect_ratio=decrease[0];[0]format=pix_fmts=yuv420p|nv12[1]' '-filter_complex' '[0:a:0] aresample=async=1:ocl='\''stereo'\'':osr=96000[2]' '-map' '[1]' '-codec:0' 'libx264' '-crf:0''17' '-maxrate:0' '18683k' '-bufsize:0' '37366k' '-preset:0' 'veryfast' '-x264opts:0' 'subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none''-force_key_frames:0' 'expr:gte(t,0+n_forced*3)' '-map' '[2]' '-codec:1' 'aac' '-b:1' '233k' '-f' 'dash' '-min_seg_duration' '3000000' '-skip_to_segment' '1' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/c7g0ogkoytgjgykkd68m0pcn/6c5aa29a-1f1e-49d8-96c8-3e6ecef2339e/manifest' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error''-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/c7g0ogkoytgjgykkd68m0pcn/6c5aa29a-1f1e-49d8-96c8-3e6ecef2339e/progress'

>

Jan 05, 2018 19:09:18.610 [0x80afdbc00] DEBUG - JobManager: child process killed by signal: 4 (Illegal instruction)

Jan 05, 2018 19:09:18.610 [0x80afdbc00] DEBUG - Jobs: '/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Transcoder' exit code for process 26128 is -4

Jan 05, 2018 19:09:37.707 [0x80aa53b00] DEBUG - Auth: authenticated user 1 as Rory898

Jan 05, 2018 19:09:37.707 [0x80b166c00] DEBUG - Request: [192.168.0.12:18888 (Subnet)] GET /status/sessions (7 live) TLS Signed-in Token (Rory898)

Jan 05, 2018 19:09:37.707 [0x80b166c00] DEBUG - [Now] Adding 0 sessions.

Jan 05, 2018 19:09:37.708 [0x80aa53b00] DEBUG - Completed: [192.168.0.12:18888] 200 GET /status/sessions (7 live) TLS 0ms 292 bytes (pipelined: 1)

Jan 05, 2018 19:09:48.078 [0x80afdad00] DEBUG - Using default transcode duration of 120 minutes

Jan 05, 2018 19:09:48.078 [0x80afdad00] DEBUG - Started session successfully: c7g0ogkoytgjgykkd68m0pcn

Jan 05, 2018 19:09:48.078 [0x80afdbc00] DEBUG - Jobs: '/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Transcoder' exit code for process 26128 is -4

Jan 05, 2018 19:09:48.079 [0x80afdbc00] DEBUG - Jobs: '/usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Plex Transcoder' exit code for process 26128 is -4

Jan 05, 2018 19:09:48.079 [0x80afdbc00] DEBUG - Streaming Resource: Terminating session 0x80bdfaa20:p9a0op8xpdimzjdxiovd7go3 which is using 19862kbps of WAN bandwidth.
Used is now 0kbps

Jan 05, 2018 19:09:48.079 [0x80afdbc00] DEBUG - Streaming Resource: Terminating session 0x80bdfaa20:p9a0op8xpdimzjdxiovd7go3 which is using transcoder slot. Used slots
is now 0

Jan 05, 2018 19:09:48.079 [0x80afdbc00] DEBUG - Streaming Resource: Terminated session 0x80bdfaa20:p9a0op8xpdimzjdxiovd7go3 with reason Conversion failed. The transcode
r crashed or failed to start up.

Jan 05, 2018 19:09:48.079 [0x80afd9e00] DEBUG - Killing job.

Jan 05, 2018 19:09:48.079 [0x80afd9e00] DEBUG - Signalling job ID 26128 with 9

Jan 05, 2018 19:09:48.079 [0x80afd9e00] DEBUG - Job was already killed, not killing again.

Jan 05, 2018 19:09:48.079 [0x80afd9e00] DEBUG - Stopping transcode session c7g0ogkoytgjgykkd68m0pcn

And here is info on the processor via dmidecode

Processor Information
Socket Designation: CPUSocket
Type: Central Processor
Family: A-Series
Manufacturer: AMD
ID: 31 0F 61 00 FF FB 8B 17
Signature: Family 21, Model 19, Stepping 1
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
HTT (Multi-threading)
Version: AMD A10-6790K APU with Radeon(tm) HD Graphics
Voltage: 1.3 V
External Clock: 100 MHz
Max Speed: 4000 MHz
Current Speed: 4000 MHz
Status: Populated, Enabled
Upgrade: Socket FM2
L1 Cache Handle: 0x000D
L2 Cache Handle: 0x000E
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable

Edit: Formatting

Sign In or Register to comment.