fix(linux/freebsd): truncate thread names to 15 characters - #5527
Merged
ReenigneArcher merged 2 commits intoAug 20, 2026
Conversation
psyke83
force-pushed
the
truncate_posix_threads
branch
from
August 19, 2026 05:31
5479dc0 to
8d31c10
Compare
The Linux and FreeBSD kernels impose a strict 16 character limit (including null terminator), so truncate thread names on these platforms. Although it might be simpler to manually truncate the thread names, we don't have the same naming length limitation on Windows and MacOS. Fixes the following threads being left as the fallback "rtsp::handler", "session::audio" or "sunshine": audio::pulseaudio stream::controlBroadcast stream::audioBroadcast stream::videoBroadcast TaskPool::worker
psyke83
force-pushed
the
truncate_posix_threads
branch
from
August 19, 2026 05:32
8d31c10 to
4cc340e
Compare
2 tasks
|
Bundle ReportBundle size has no change ✅ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5527 +/- ##
=======================================
Coverage 32.45% 32.45%
=======================================
Files 104 104
Lines 24968 24970 +2
Branches 11084 11074 -10
=======================================
+ Hits 8103 8105 +2
- Misses 13826 13893 +67
+ Partials 3039 2972 -67
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 44 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
Screenshot ComparisonPR #5527 screenshots vs Matrix:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.









































































The Linux and FreeBSD kernels impose a strict 16 character limit (including null terminator), so truncate thread names on these platforms.
Although it might be simpler to manually truncate the thread names, we don't have the same naming length limitation on Windows and MacOS.
Fixes the following threads being left as the fallback "rtsp::handler", "session::audio" or "sunshine":
audio::pulseaudio
stream::controlBroadcast
stream::audioBroadcast
stream::videoBroadcast
TaskPool::worker
Description
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.