ArduPilot / ArduPilot/MissionPlanner

MissionPlanner on Linux crashes on startup due to issue with libSkiaSharp

Open
#3,647 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

I have been using MissionPlanner for a while, but a few months ago, it suddenly stopped running as usual. Notably, this issue started appearing after upgrading from Ubuntu 22.04 to 24.04, however, even in new virtual machines with each of these versions, the same issue persisted.

I run Ubuntu using VMware Fusion on a MacBook Air M1 (so it uses ARM CPU architecture).

The image below shows the error I get. I tried updating libSkiaSharp as is suggested here but to no avail.
Systemn.TypelnitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception. ...> System.InvalidOperationException: The version of the native libSkiaSharp library (80.2) is incompatible with this version of SkiaSharp. Supported versions of the native libskiaSharp library are in the range (88.1, 89.0)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the startup failure on Ubuntu 22.04 and 24.04 in the reported VMware Fusion ARM environment, using the displayed SkiaSharp native-library version error as the starting point. Trace which packaged native libSkiaSharp and SkiaSharp versions are loaded at startup; done means MissionPlanner launches without the incompatibility exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.