Fix SkiaSharp native library mismatch on Linux (#139)#141
Merged
erikdarlingdata merged 2 commits intodevfrom Mar 25, 2026
Merged
Fix SkiaSharp native library mismatch on Linux (#139)#141erikdarlingdata merged 2 commits intodevfrom
erikdarlingdata merged 2 commits intodevfrom
Conversation
- Replace tab indentation with spaces in FetchPlanWaitStatsAsync doc comments to match file convention - Rewrite doc comment for clarity (explain why plan-level WTR differs) - Use existing _fetchCts instead of creating untracked CancellationTokenSource in OnWaitStatsCollapsedChanged Follow-up to PR #137. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Avalonia.Skia 11.3.12 transitively pulls SkiaSharp.NativeAssets.Linux 2.88.9 (libSkiaSharp.so v88.1), but the managed SkiaSharp 3.119.0 requires native libs in the [119.0, 120.0) range. At publish time the old .so overwrites the correct one, causing a TypeInitializationException on startup. Pin SkiaSharp.NativeAssets.Linux to 3.119.0 so NuGet resolution picks the correct native library. macOS and Win32 were already at 3.119.0. Fixes #139 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
SkiaSharp.NativeAssets.Linuxto 3.119.0 in PlanViewer.App.csprojlibSkiaSharp.so(v88.1) incompatible with the managed SkiaSharp 3.119.0 — the old .so wins at publish time, causingTypeInitializationExceptionon LinuxFixes #139
Test plan
dotnet restoreresolvesSkiaSharp.NativeAssets.Linuxto 3.119.0🤖 Generated with Claude Code