Kodi consistently crashes with a SIGSEGV (segmentation fault) when launching or using the Plex addon on CoreELEC 22 nightly (ARM64).
The crash always occurs inside CURL::Reset(), indicating a bug in Kodiās network (libcurl) handling, triggered by Plex network activity.
This is fully reproducible and does not appear to be hardware-related.
System information
OS: CoreELEC 22.0 Piers nightly (20250913)
Architecture: aarch64 (ARM64)
Kernel: Linux 5.15.170
Kodi options: --standalone -fs
Python: 3.13
Audio backend: ALSA + PulseAudio
GPU: Mali (driver loaded)
What happens
Kodi starts normally.
As soon as the Plex addon is opened (library loading / metadata requests):
Kodi crashes immediately.
A core dump is generated.
This happens consistently.
Crash details
Both crashes show the same failure point:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000f816ac in CURL::Reset()
The main thread crashes in CURL::Reset().
Other threads (Python, PVR, audio, GPU, CEC, etc.) remain blocked or waiting.
No Python exception is raised ā this is a native C++ crash.
Two separate crash logs (different timestamps) show identical behavior and stack traces.
Important observations
The crash only occurs when Plex is launched.
Kodi runs stable otherwise.
GPU (Mali) stack traces appear only after the SIGSEGV and are not the crashing thread.
This strongly suggests a race condition or use-after-free in CURL handling, triggered by Plexās heavy concurrent HTTP(S) usage.
Thereās another Plex client add on called PM4K and itās superior by far. Have a look in the Plex forum for the huge thread it has accumulated. For best results install from the dedicated (not Kodi) repo and set the updates to come from beta channel. I think all that is covered in the first post on the Plex thread.
I use init7 for IPTV and this is broken since the last updates on my am9. It was working yesterday, right now i rebooted the machine and installed the latest update ( i have auto update enabled) and now its stuttering like crazy. What i see in the logs is:
2026-02-20 22:32:58.654 T:1432 info <general>: CActiveAESink::OpenSink - initialize sink
2026-02-20 22:32:58.654 T:1432 info <general>: CAESinkALSA::Initialize - Configure simple control for "AUGESOUND"
2026-02-20 22:32:58.654 T:1432 info <general>: CAESinkALSA - Use card "hw:0" and set codec format "Dolby Digital"
2026-02-20 22:32:58.666 T:1432 info <general>: CAESinkALSA - Set Spdif to HDMITX to "Spdif_b"
2026-02-20 22:32:58.667 T:1432 info <general>: CAESinkALSA - Set codec for "Audio spdif_b format"
2026-02-20 22:32:58.667 T:1432 info <general>: CAESinkALSA - Set codec for "Audio I2S to HDMITX Format"
2026-02-20 22:32:58.667 T:1432 info <general>: CAESinkALSA - Set codec for "Audio spdif format"
2026-02-20 22:32:58.667 T:1432 info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=AMLAUGESOUND,DEV=0"
2026-02-20 22:32:58.671 T:1432 info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=AMLAUGESOUND,DEV=0,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02"
2026-02-20 22:32:58.676 T:1582 info <general>: CVideoPlayerAudio: display reset occurred, checking for passthrough
2026-02-20 22:32:58.676 T:1582 info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2026-02-20 22:33:01.804 T:1581 info <general>: Skipped 2 duplicate messages..
2026-02-20 22:33:01.804 T:1581 warning <general>: OutputPicture - timeout waiting for buffer
2026-02-20 22:33:03.374 T:1582 warning <general>: Skipped 1 duplicate messages..
2026-02-20 22:33:03.374 T:1582 info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2026-02-20 22:33:04.625 T:1582 info <general>: Skipped 1 duplicate messages..
2026-02-20 22:33:04.625 T:1582 info <general>: CVideoPlayerAudio::Process - stream stalled
2026-02-20 22:33:06.523 T:1582 info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2026-02-20 22:33:10.472 T:1431 info <general>: Skipped 2 duplicate messages..
2026-02-20 22:33:10.472 T:1431 warning <general>: ActiveAE - large audio sync error: 1190.362126
2026-02-20 22:33:11.872 T:1582 info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2026-02-20 22:33:12.164 T:1581 warning <general>: OutputPicture - timeout waiting for buffer
2026-02-20 22:33:13.048 T:1487 warning <general>: Skipped 1 duplicate messages..
2026-02-20 22:33:13.048 T:1487 info <general>: PVR Manager: Starting cleanup of cached images.
2026-02-20 22:33:13.123 T:1582 info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2026-02-20 22:33:13.175 T:1581 warning <general>: OutputPicture - timeout waiting for buffer
2026-02-20 22:33:13.574 T:1431 warning <general>: ActiveAE - large audio sync error: 1014.997263
2026-02-20 22:33:13.624 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.103347
2026-02-20 22:33:13.625 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.105847
2026-02-20 22:33:13.672 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.202055
2026-02-20 22:33:13.723 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.152638
2026-02-20 22:33:13.723 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.155055
2026-02-20 22:33:13.774 T:1431 warning <general>: ActiveAE - large audio sync error: 1014.745638
2026-02-20 22:33:13.774 T:1431 warning <general>: ActiveAE - large audio sync error: 1014.748014
2026-02-20 22:33:13.774 T:1582 info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2026-02-20 22:33:13.824 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.032014
2026-02-20 22:33:13.872 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.152680
2026-02-20 22:33:13.872 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.154555
2026-02-20 22:33:13.923 T:1431 warning <general>: ActiveAE - large audio sync error: 1015.134096
2026-02-20 22:33:13.974 T:1431 warning <general>: ActiveAE - large audio sync error: 1014.961346
2026-02-20 22:33:13.974 T:1431 warning <general>: ActiveAE - large audio sync error: 1014.963180
2026-02-20 22:33:14.006 T:1487 info <general>: PVR Manager: Cleaned up 0 cached images.
2026-02-20 22:33:14.704 T:1404 info <general>: CVideoPlayer::CloseFile()
2026-02-20 22:33:14.704 T:1578 info <general>: CVideoPlayer::OnExit()
2026-02-20 22:33:14.707 T:1404 info <general>: VideoPlayer: waiting for threads to exit
I did a measurement with a speed test addon and it told me i have about 300mbit/s down and 30mbit/up. All works fine from my workstation. Will test later if it works with ethernet.
edit: ethernet works like a charm, wondering if somehow an update could make the wifi worse?
X96 X10 with AV receiver Denon AVR-S760H. Starting from 20260205 nightly version there is no sound in multichannel pcm mode while playing FLAC 5.1 24 bit 88,2 kHz.
When I started to compose a reply I see a bot message to say the issue has been solved, but I donāt see any other replies.
My comment is to say that Iām seeing all 5.1 and 7.1 channels being played back ok on my system, which is technically a 5.1.2 (two Dolby Atmos height speakers), but is configured in Kodi as 7.1. My multichannel FLAC files are at 48kHz, 88.2kHz, 96kHz and 176 or 192kHz and various bit depths (16 or 24) depending on the original source.
Now, I have noticed a change in the speaker output in that the centre channel is also being played on my two height speakers. This happens whether I configure the speaker layout in Kodi as 7.1 or 5.1.
Yes, Iām sure youāre right about the height channels. I, too, couldnāt really see how Kodi was outputting signals to the height channels as the ALSA layouts only reference 7.1 maximum. @Portisch has done a lot of work on multichannel layouts and I did a lot of testing on them during December to ensure āoddā FLAC layouts like 4.0 and 5.0 were output on the correct speaker patterns.
They are all still working perfectly, so I didnāt understand why @savage-omsk and @crazyturk were having issues with multichannel FLAC.
I hadnāt noticed any issue with my height speakers when testing in December. Now - full disclosure - I temporarily removed my subwoofer at Christmas time to allow for some furniture reconfiguration and I changed my receiver speaker pattern layout to handle the absence, but I thought I had put it back properly. Maybe I messed up something? Iāll re-check all my receiver settings. Itās a Sony TA-AN1000 and while it sounds great, the software is awful!
Looking at the manual for your Sony, maybe you have the 360 sound option on or are in one of the Sound Field modes that up-mixes to all your speakers. The Direct mode is probably what you want.
Iām talking about a specific box - X96 X10 on S928X-J 8/64 GB and nightly CoreELEC-Amlogic-no versions. Multi-channel PCM operated on all nightly versions up to and including February 4th. Starting from 20260205 version there is no sound in multichannel pcm mode.
The nightly builds, can someone give me pointers on how to interpret the change log information. I am keen to get a better understanding of what is being updated/patched. I am specifically interested in anything for the S905x5/Ugoos AM9.
I tried the same videos on TV and Android Kodi, and the PCM audio played without any issues.
5.1 and 7.1
Device TCL 55C745 TV and TCL Saundbar 8132 (3+1+2) - Ugoos SK1 - AM9 Pro
There was a change in 20260205 what fixed HBR audio passthrough on T7 or newer SoC on TVs with HDMI 2.1.
But maybe this change did break LPCM on just these newer SoCs?
I donāt have a LPCM system and can not test it by myself.
The test result is the same with GT King 2. I tested two separate videos. In the info bar of one video, the audio codec appears as AAC-LC 5.1.
In the other video, the audio codec appears as PCM 7.1.
The audio stream is not working in either of these two videos.