I am investigating a Segmentation Fault happening in the StartOS service wrapper. Wasabi is running in a docker container based on Debian bookworm.
The segmentation fault is happening during the initial filter download and the .NET trace logs were not giving any additional information on the reason of the crash.
As this is a very specific setup, I did some digging myself:
I enabled DOTNET_DbgEnableMiniDump=1 so that .NET makes a core dump when the Segmentation Fault happens
Since Wasabi uses "StrokeThickness" in its RingProgress control, and if I understand correctly, that control is used to show the progress during filter downloads, I suspect Wasabi is hitting this bug.
The fix PR is merged for Avalonia UI 11.1, but Wasabi is using a custom build of 11.0.
Hope this is enough information for you. Let me know if I can be of help!
General Description
I am investigating a
Segmentation Fault
happening in the StartOS service wrapper. Wasabi is running in a docker container based on Debian bookworm.The segmentation fault is happening during the initial filter download and the .NET trace logs were not giving any additional information on the reason of the crash.
As this is a very specific setup, I did some digging myself:
DOTNET_DbgEnableMiniDump=1
so that .NET makes a core dump when the Segmentation Fault happensThis looks like a crash inside libSkiaSharp.so. I could not get the debug symbols for SkiaSharp working, so the actual method name is unknown.
But that gave me enough information to find this issue in Avalonia UI: https://github.com/AvaloniaUI/Avalonia/issues/15120 (Mysterious segmentation fault in skia native code when changing shape stroke thickness) And the fix: https://github.com/AvaloniaUI/Avalonia/pull/15153
Since Wasabi uses "StrokeThickness" in its RingProgress control, and if I understand correctly, that control is used to show the progress during filter downloads, I suspect Wasabi is hitting this bug.
The fix PR is merged for Avalonia UI 11.1, but Wasabi is using a custom build of 11.0.
Hope this is enough information for you. Let me know if I can be of help!
Operating System
Debian bookworm (in a docker container)
Logs
n/a
Wasabi Version
2.0.7.x and 2.0.8