Skip to content

chore: build & run SamplesApp.Skia.netcoremobile with CoreCLR on Android - #21477

Merged
jonpryor merged 1 commit into
masterfrom
dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage
Sep 18, 2025
Merged

jonpryor merged 1 commit into
masterfrom
dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage

Conversation

@jonpryor

@jonpryor jonpryor commented Sep 15, 2025 •

Copy link
Copy Markdown
Contributor

chore: build & run SamplesApp.Skia.netcoremobile with CoreCLR on Android

Context: https://github.com/dotnet/core/blob/4c489a6ae54f71c30c1d21f2fe0ebb3489482e92/release-notes/10.0/preview/rc1/dotnetmaui.md#experimental-coreclr
Context: dotnet/android#10463
Context: dotnet/runtime#119821

.NET 10 RC1 adds:

(Experimental) CoreCLR

Enables Android apps to run on the CoreCLR runtime (instead of Mono).
To use it [set the $(UseMonoRuntime) MSBuild property to false].

As building SamplesApp.Skia.netcoremobile.csproj with CoreCLR can
take a significant amount of time and disk space, we've decided to
introduce a new Tests - Android+CoreCLR Skia stage to build and
run these unit tests within an Android+CoreCLR environment.

To help reduce disk usage, after building the .apk we delete the
obj directory.

Update src/SamplesApp/SamplesApp.Skia.netcoremobile so that
$(ApplicationId) can be overridden via the new $(SkiaApplicationId)
MSBuild property. This allows CoreCLR builds to have distinct package
names vs. default (MonoVM) builds, and allows them to be installed
side-by-side (disk space pemitting).

Additionally, crypto is not initialized when using CoreCLR under
.NET 10 RC1, which resembles dotnet/android#10463. Add a call to
System.loadLibrary("System.Security.Cryptography.Native.Android")
to load and initialize Crypto support.

Update android-run-skia-runtime-tests.sh so that UNO_UITEST_APP_ID
can be overridden. This allows uno.platform.samplesapp.skia.coreclr
to be launched.

Finally, the behavior around storing int.MaxValue within a float
differs between MonoVM and CoreCLR; see dotnet/runtime#119821.
Update AndroidSkiaNativeElementHostingExtension.MeasureNativeElement()
to use Android.Views.View.MeasureSpec.MakeMeasureSpec() instead
of (int)availablePhysical.Height, as .Height will hold a
float containing int.MaxValue if/when availableSize.Height is
Infinite, which triggers differing behavior between MonoVM & CoreCLR.
Using MakeMeasureSpec() fixes this inconsistency.

GitHub Issue: closes #

PR Type:

What is the current behavior? 🤔

What is the new behavior? 🚀

PR Checklist ✅

Please check if your PR fulfills the following requirements:

Other information ℹ️

@github-actions github-actions Bot added area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation labels Sep 15, 2025
@jonpryor

Copy link
Copy Markdown
Contributor Author

It's possible that this will require .NET 10 RC2; local testing on an x86-64 emulator immediately crashes at startup with:

18287 18287 W pp.skia.corecl: Unexpected CPU variant for X86 using defaults: x86_64
 1911  1927 I ActivityManager: Start proc 18287:uno.platform.samplesapp.skia.coreclr/u0a91 for activity uno.platform.samplesapp.skia.coreclr/crc6448f3b0362cbf4bc9.MainActivity
18287 18287 E pp.skia.corecl: Not starting debugger since process cannot load the jdwp agent.
18287 18287 I MultiDex: VM with version 2.1.0 has multidex support
18287 18287 I MultiDex: install
18287 18287 I MultiDex: VM has multidex support, MultiDex support library is disabled.
18287 18287 F libc    : Fatal signal 31 (SIGSYS), code 1 (SYS_SECCOMP) in tid 18287 (pp.skia.coreclr), pid 18287 (pp.skia.coreclr)
18303 18303 I crash_dump64: performing dump of process 18287 (target tid = 18287)
18303 18303 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
18303 18303 F DEBUG   : Build fingerprint: 'google/sdk_gphone_x86_64/generic_x86_64:9/PSR1.180720.075/5124027:user/release-keys'
18303 18303 F DEBUG   : Revision: '0'
18303 18303 F DEBUG   : ABI: 'x86_64'
18303 18303 F DEBUG   : pid: 18287, tid: 18287, name: pp.skia.coreclr  >>> uno.platform.samplesapp.skia.coreclr <<<
18303 18303 F DEBUG   : signal 31 (SIGSYS), code 1 (SYS_SECCOMP), fault addr --------
18303 18303 F DEBUG   : Cause: seccomp prevented call to disallowed x86_64 system call 324
18303 18303 F DEBUG   :     rax 0000000000000144  rbx 0000000000000000  rcx 000071ee9fc28b98  rdx 0000000000000000
18303 18303 F DEBUG   :     r8  000071ee9fcf3184  r9  000071ee1d039590  r10 000000000000003e  r11 0000000000000246
18303 18303 F DEBUG   :     r12 000071ee150590c0  r13 00000000000001ff  r14 000071ee1d0395e0  r15 000000000000001a
18303 18303 F DEBUG   :     rdi 0000000000000000  rsi 0000000000000000
18303 18303 F DEBUG   :     rbp 00007ffd97bac0e0  rsp 00007ffd97bac0c8  rip 000071ee9fc28b98
18303 18303 F DEBUG   : 
18303 18303 F DEBUG   : backtrace:
18303 18303 F DEBUG   :     #00 pc 0000000000026b98  /system/lib64/libc.so (syscall+24)
18303 18303 F DEBUG   :     #01 pc 000000000059e98a  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/lib/x86_64/libcoreclr.so
18303 18303 F DEBUG   :     #02 pc 0000000000580a2f  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/lib/x86_64/libcoreclr.so
18303 18303 F DEBUG   :     #03 pc 0000000000580d0d  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/lib/x86_64/libcoreclr.so
18303 18303 F DEBUG   :     #04 pc 00000000001bdd7f  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/lib/x86_64/libcoreclr.so (coreclr_initialize+479)
18303 18303 F DEBUG   :     #05 pc 000000000008f869  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/lib/x86_64/libmonodroid.so (xamarin::android::Host::Java_mono_android_Runtime_initInternal(_JNIEnv*, _jclass*, _jstring*, _jobjectArray*, _jstring*, _jobjectArray*, int, _jobject*, _jobjectArray*, unsigned char, unsigned char)+905)
18303 18303 F DEBUG   :     #06 pc 000000000002ef85  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/oat/x86_64/base.odex (offset 0x2a000) (mono.android.Runtime.initInternal+437)
18303 18303 F DEBUG   :     #07 pc 00000000005c3e16  /system/lib64/libart.so (art_quick_invoke_static_stub+806)
18303 18303 F DEBUG   :     #08 pc 00000000000cf603  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+243)
18303 18303 F DEBUG   :     #09 pc 00000000002a1b91  /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+321)
18303 18303 F DEBUG   :     #10 pc 000000000029c247  /system/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1319)
18303 18303 F DEBUG   :     #11 pc 0000000000592a94  /system/lib64/libart.so (MterpInvokeStaticRange+148)
18303 18303 F DEBUG   :     #12 pc 00000000005b5419  /system/lib64/libart.so (ExecuteMterpImpl+15385)
18303 18303 F DEBUG   :     #13 pc 000000000096273c  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/oat/x86_64/base.vdex (mono.MonoPackageManager.LoadApplication+392)
18303 18303 F DEBUG   :     #14 pc 0000000000271ee1  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2620325170+561)
18303 18303 F DEBUG   :     #15 pc 0000000000277a4e  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+222)
18303 18303 F DEBUG   :     #16 pc 000000000029ac54  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1236)
18303 18303 F DEBUG   :     #17 pc 000000000059116d  /system/lib64/libart.so (MterpInvokeStatic+189)
18303 18303 F DEBUG   :     #18 pc 00000000005b5119  /system/lib64/libart.so (ExecuteMterpImpl+14617)
18303 18303 F DEBUG   :     #19 pc 0000000000962850  /data/app/uno.platform.samplesapp.skia.coreclr-enk5E2Z-KsW-bdW7kISP4A==/oat/x86_64/base.vdex (mono.MonoRuntimeProvider.attachInfo)
18303 18303 F DEBUG   :     #20 pc 0000000000271ee1  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2620325170+561)
18303 18303 F DEBUG   :     #21 pc 000000000057e547  /system/lib64/libart.so (artQuickToInterpreterBridge+1223)
18303 18303 F DEBUG   :     #22 pc 00000000005ce1ec  /system/lib64/libart.so (art_quick_to_interpreter_bridge+140)
18303 18303 F DEBUG   :     #23 pc 0000000000890ad3  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.app.ActivityThread.installProvider+1539)
18303 18303 F DEBUG   :     #24 pc 0000000000890334  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.app.ActivityThread.installContentProviders+260)
18303 18303 F DEBUG   :     #25 pc 000000000088af6b  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.app.ActivityThread.handleBindApplication+6475)
18303 18303 F DEBUG   :     #26 pc 0000000000885c3e  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.app.ActivityThread$H.handleMessage+5438)
18303 18303 F DEBUG   :     #27 pc 0000000000abcdb7  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.os.Handler.dispatchMessage+183)
18303 18303 F DEBUG   :     #28 pc 0000000000abfcff  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.os.Looper.loop+1119)
18303 18303 F DEBUG   :     #29 pc 00000000008921f7  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (android.app.ActivityThread.main+583)
18303 18303 F DEBUG   :     #30 pc 00000000005c3e16  /system/lib64/libart.so (art_quick_invoke_static_stub+806)
18303 18303 F DEBUG   :     #31 pc 00000000000cf603  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+243)
18303 18303 F DEBUG   :     #32 pc 00000000004b7569  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+89)
18303 18303 F DEBUG   :     #33 pc 00000000004b9347  /system/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1447)
18303 18303 F DEBUG   :     #34 pc 00000000004338e8  /system/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+56)
18303 18303 F DEBUG   :     #35 pc 000000000011c623  /system/framework/x86_64/boot.oat (offset 0x110000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+227)
18303 18303 F DEBUG   :     #36 pc 0000000000bfd84d  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+141)
18303 18303 F DEBUG   :     #37 pc 0000000000c04ae4  /system/framework/x86_64/boot-framework.oat (offset 0x3c3000) (com.android.internal.os.ZygoteInit.main+2804)
18303 18303 F DEBUG   :     #38 pc 00000000005c3e16  /system/lib64/libart.so (art_quick_invoke_static_stub+806)
18303 18303 F DEBUG   :     #39 pc 00000000000cf603  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+243)
18303 18303 F DEBUG   :     #40 pc 00000000004b7569  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+89)
18303 18303 F DEBUG   :     #41 pc 00000000004b7132  /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, __va_list_tag*)+434)
18303 18303 F DEBUG   :     #42 pc 00000000003a0c97  /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, __va_list_tag*)+791)
18303 18303 F DEBUG   :     #43 pc 00000000000b2089  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+153)
18303 18303 F DEBUG   :     #44 pc 00000000000b5250  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+736)
18303 18303 F DEBUG   :     #45 pc 00000000000021fd  /system/bin/app_process64 (main+1357)

We'll see if CI behaves the same way.

@jonpryor

Copy link
Copy Markdown
Contributor Author

For expository purposes, to turn the above crash into more useful filename and line numbers:

  1. Install dotnet-symbol, which is a .NET global tool:

    dotnet tool install -g dotnet-symbol
    
  2. Extract the relevant native library from the .apk. Here, we're concerned about libcoreclr.so:

    unzip uno.platform.samplesapp.skia.coreclr-Signed.apk lib/x86_64/libcoreclr.so
  3. Obtain debug symbols for libcoreclr.so by using dotnet-symbol:

    $HOME/.dotnet/tools/dotnet-symbol libcoreclr.so
    
  4. use llvm-addr2line -paCif -e LIB ADDR to get a meaningful address. LIB is the name of the native library (libcoreclr.so) and ADDR is the address from the adb logcat backtrace. llvm-addr2line comes from the NDK.

    % $HOME/android-toolchain/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-addr2line -paCif -e libcoreclr.so 000000000059e98a
    0x59e98a: InitializeFlushProcessWriteBuffers at /__w/1/s/src/runtime/src/coreclr/pal/src/thread/process.cpp:2831

InitializeFlushProcessWriteBuffers() was removed in dotnet/runtime@0b0b4b2 and thus is present in .NET 10 RC1 but should be gone by .NET 10 RC2.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch from cc8682f to cd76c5f Compare September 15, 2025 20:29
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor

jonpryor commented Sep 15, 2025 •

Copy link
Copy Markdown
Contributor Author

This PR also fails on CI, but differently so:

09-15 21:14:38.220  5019  5019 F DEBUG   : Cmdline: uno.platform.samplesapp.skia.coreclr
09-15 21:14:38.220  5019  5019 F DEBUG   : pid: 4607, tid: 4607, name: pp.skia.coreclr  >>> uno.platform.samplesapp.skia.coreclr <<<
09-15 21:14:38.220  5019  5019 F DEBUG   : uid: 10190
09-15 21:14:38.220  5019  5019 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000
09-15 21:14:38.220  5019  5019 F DEBUG   : Cause: null pointer dereference
09-15 21:14:38.220  5019  5019 F DEBUG   :     rax cc9de8d68965d1b2  rbx 0000000000000066  rcx 0000000000000001  rdx 00007ffe73e22ec8
09-15 21:14:38.220  5019  5019 F DEBUG   :     r8  0000000000000000  r9  0000000000000000  r10 000076cfb045a9b0  r11 0000000000000000
09-15 21:14:38.220  5019  5019 F DEBUG   :     r12 00007710afb3baa0  r13 00007710afa38020  r14 00007ffe73e22668  r15 0000000000000066
09-15 21:14:38.220  5019  5019 F DEBUG   :     rdi 0000000000000000  rsi 0000000000000000
09-15 21:14:38.220  5019  5019 F DEBUG   :     rbp 00007ffe73e224e0  rsp 00007ffe73e224c0  rip 000076cfb045cb27
09-15 21:14:38.220  5019  5019 F DEBUG   : 3 total frames
09-15 21:14:38.220  5019  5019 F DEBUG   : backtrace:
09-15 21:14:38.220  5019  5019 F DEBUG   :       #00 pc 0000000000011b27  /data/app/~~cNuE1v4Oa1uBMVFfgq8anQ==/uno.platform.samplesapp.skia.coreclr-_kcB-ib0-TxfpSb_UPUYRQ==/lib/x86_64/libSystem.Security.Cryptography.Native.Android.so (BuildId: 3cd49f9635fd61aeefef8454a1a255b9818025c4)
09-15 21:14:38.220  5019  5019 F DEBUG   :       #01 pc 000000000000f9be  /data/app/~~cNuE1v4Oa1uBMVFfgq8anQ==/uno.platform.samplesapp.skia.coreclr-_kcB-ib0-TxfpSb_UPUYRQ==/lib/x86_64/libSystem.Security.Cryptography.Native.Android.so (CryptoNative_EvpMdCtxCreate+14) (BuildId: 3cd49f9635fd61aeefef8454a1a255b9818025c4)
09-15 21:14:38.220  5019  5019 F DEBUG   :       #02 pc 0000000003032ae5  <anonymous:771047c20000>

After applying dotnet-symbol + llvm-add2line, the stack trace is:

0x11b27: GetJNIEnv at /__w/1/s/src/runtime/src/native/libs/System.Security.Cryptography.Native.Android/pal_jni.c:671
0xf9be: CryptoNative_EvpMdCtxCreate at /__w/1/s/src/runtime/src/native/libs/System.Security.Cryptography.Native.Android/pal_evp.c:80

After my experience with dotnet/android#10463, I wonder if it's because AndroidCryptoNative_InitLibraryOnLoad() isn't invoked?

% grep -ril AndroidCryptoNative_InitLibraryOnLoad .
./libSystem.Security.Cryptography.Native.Android.so

🧐

Indeed, pal_jni.c:671 is:

    (*gJvm)->GetEnv(gJvm, (void**)&env, JNI_VERSION_1_6);

i.e. gJvm is NULL. What sets gJvm? AndroidCryptoNative_InitLibraryOnLoad()

    gJvm = vm;

@jonpryor

Copy link
Copy Markdown
Contributor Author

If I use dotnet/android@f4c6455 to build the test app on dotnet/android#10463 for CoreCLR, then the app does not crash on my x64 emulator, which is an improvement over .NET 10 RC1.

Additionally, if I unzip the com.companyname.Scratch.net10_android_sha1_create-Signed.apk and grep for InitLibraryOnLoad, I find more than one match!

% grep -ril InitLibraryOnLoad .             
./libassemblies.x86_64.blob.so
./libSystem.Security.Cryptography.Native.Android.so

Compare and contrast with .NET 10 RC1 build with $(UseMonoRuntime)=false, which also has more than one match:

% grep -ril InitLibraryOnLoad .
./libassemblies.x86_64.blob.so
./libSystem.Security.Cryptography.Native.Android.so

Compare and contrast with the uno.platform.samplesapp.skia.coreclr-Signed.apk produced by this PR, and there is only one match:

% grep -ril InitLibraryOnLoad .
./libSystem.Security.Cryptography.Native.Android.so

Which I find to be fascinating. Why would the CI build not have libassemblies.x86_64.blob.so mention InitLibraryOnLoad, while my local builds do?

More investigation required.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 176153 found UI Test snapshots differences: android-28-net9: 17, android-28-net9-Snap: 24, ios: 4, ios-Snap: 54, skia-linux-screenshots: 87, skia-windows-screenshots: 105, wasm: 40, wasm-automated-net10.0-WinUI-Benchmarks-automated: 0, wasm-automated-net10.0-WinUI-Default-automated: 17, wasm-automated-net10.0-WinUI-RuntimeTests-0: 0, wasm-automated-net10.0-WinUI-RuntimeTests-1: 0, wasm-automated-net10.0-WinUI-RuntimeTests-2: 0

Details
  • android-28-net9: 17 changed over 825

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Detereminate_ProgressRing_Validation75_[#FF0000_#008000_#008000_#008000]_Progress-Ring-Value-75
    • NativeCommandBar_Size_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Dynamic
    • UpDownEnabledTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • When_NoSelection_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • WebView_NavigateToAnchor_Initial
    • When_Parent_PointerMoved_After_drag_on_non-scrolling_ScrollViewer
    • When_Parent_PointerMoved_After_drag_on_ScrollViewer_-_touch
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Detereminate_ProgressRing_Validation50_[#FF0000_#008000_#008000_#FF0000]_Progress-Ring-Value-50
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • FlyoutTest_Unloaded_UITests_Shared_Windows_UI_Xaml_Controls_Flyout_Flyout_Unloaded
    • CommandBar_LongTitle_Validation_CommandBar_-_LongTitle_-_4_-_Orientation_Landscape
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Detereminate_ProgressRing_Validation0_[#FF0000_#FF0000_#FF0000_#FF0000]_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIDeterminateProgressRing
    • Detereminate_ProgressRing_Validation25_[#FF0000_#008000_#FF0000_#FF0000]_Progress-Ring-Value-25
    • When_MultipleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
  • android-28-net9-Snap: 24 changed over 1075

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CommandBar_Examples_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Examples
    • CommandBarFlyout_MUXControlsTestApp_CommandBarFlyoutPage_MUXControlsTestApp_CommandBarFlyoutPage
    • Gesture_Recognizer_Pointer_Events_test_bench_UITests_Shared_Windows_UI_Input_GestureRecognizer_PointersEvents
    • ListView_HorizontalListView_Padding_SamplesApp_Windows_UI_Xaml_Controls_ListView_HorizontalListView_Padding
    • MUX_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage
    • TabView_MUXControlsTestApp_TabViewPage_MUXControlsTestApp_TabViewPage
    • Default_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected
    • MediaPlayerElement_Using_3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_Extension
    • MediaPlayerElement_Using_mp3_Audio_only_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mp3_Extension
    • MediaPlayerElement_Using_ogg_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Ogg_Extension
    • Scrolling_MUXControlsTestApp_ScrollViewWithScrollControllersPage_MUXControlsTestApp_ScrollViewWithScrollControllersPage
    • WebView_UITests_Microsoft_UI_Xaml_Controls_WebView2Tests_WebView2_NavigationProperties_UITests_Microsoft_UI_Xaml_Controls_WebView2Tests_WebView2_NavigationProperties
    • WebView_UITests_Microsoft_UI_Xaml_Controls_WebViewTests_WebView_InvokeScriptAsync_UITests_Microsoft_UI_Xaml_Controls_WebViewTests_WebView_InvokeScriptAsync
    • WebView_UITests_Windows_UI_Xaml_Controls_WebView_WebView2_Fixed_Height_UITests_Windows_UI_Xaml_Controls_WebView_WebView2_Fixed_Height
    • Scrolling_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • MUX_NumberBox_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • WebView_WebView_WithHeaders_Uno_UI_Samples_Content_UITests_WebView_WebView_WithHeaders
    • RatingControl_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage
    • Windows_Media_MediaPlayer_UITests_Windows_Media_MediaPlayerTests
  • ios: 4 changed over 255

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
  • ios-Snap: 54 changed over 992

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ContentControl_ContentControl_SelectorInheritance_Uno_UI_Samples_Content_UITests_ContentControlTestsControl_ContentControl_SelectorInheritance
    • TextBlock_TextBlockMultilineInStarStackPanel_Uno_UI_Samples_Content_UITests_TextBlockControl_TextBlockMultilineInStarStackPanel
    • Brushes_ImageBrushWithCompositeTransform_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushWithCompositeTransform
    • Brushes_RectangleStretchFill_Uno_UI_Samples_UITests_ImageBrushTestControl_RectangleStretchFill
    • Default_UITests_Windows_UI_Xaml_Controls_CommandBar_CommandBar_Native_Frame_UITests_Windows_UI_Xaml_Controls_CommandBar_CommandBar_Native_Frame
    • NavigationView_NavigationViewSample_SamplesApp_Samples_NavigationViewSample_NavigationViewSample
    • TextBox_Input_InputScope_Number_Uno_UI_Samples_Content_UITests_TextBoxControl_Input_InputScope_Number
    • Image_Image_Stretch_None_Uno_UI_Samples_UITests_ImageTestsControl_Image_Stretch_None
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal
    • Default_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats
    • MediaPlayerElement_Using_3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_Extension
    • Microsoft_UI_Xaml_Media_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Basic_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Basic
    • Microsoft_UI_Xaml_Media_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Overlap_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Overlap
    • NavigationView_MUXControlsTestApp_NavigationViewCompactPaneLengthTestPage_MUXControlsTestApp_NavigationViewCompactPaneLengthTestPage
    • Icons_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground_UITests_Shared_Windows_UI_Xaml_Controls_BitmapIconTests_BitmapIcon_Foreground
    • Brushes_PanelImageBrush_Uno_UI_Samples_UITests_ImageBrushTestControl_PanelImageBrush
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • Scrolling_MUXControlsTestApp_ScrollViewDynamicPage_MUXControlsTestApp_ScrollViewDynamicPage
    • MediaPlayerElement_Sources_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Sources
  • skia-linux-screenshots: 87 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • ClipboardTests.png
    • Examples.png
    • CalendarView_Theming.png-dark
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ClipboardTests.png-dark
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ImageBrushAlignmentXY.png-dark
    • ImageBrushAlignmentXY.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Buttons.png
    • ButtonClippingTestsControl.png-dark
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
  • skia-windows-screenshots: 105 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • Buttons.png
    • ColorPickerSample.png-dark
    • ColorPickerSample.png
    • ElevatedView_BorderThickness.png-dark
    • ElevatedView_BorderThickness.png
    • Gamepad_Enumeration.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • Gamepad_CurrentReading.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • DoubleImageBrushInList.png-dark
  • wasm: 40 changed over 1056

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • initial_state
    • UITests.Shared.Windows_UI_Xaml_Controls.ContentDialogTests.ContentDialog_Closing
    • UITests.Shared.Windows_UI_Xaml_Controls.ContentDialogTests.ContentDialog_Simple
    • UITests.Windows_UI_Xaml_Media.GradientBrushTests.GradientsPage
    • UITests.Windows_UI_Xaml.FocusTests.Focus_FocusState
    • UITests.Windows_UI_Xaml_Controls.CommandBar.CommandBar_Native_With_TextBox
    • GenericApp.Views.Samples.Shared.Content.UITests.GridViewMultipleSelectionMode
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Padding_Unconstrained
    • Uno.UI.Samples.Content.UITests.ContentControlTestsControl.ContentControl_Inheritance
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Expandable_Item
    • Uno.UI.Samples.Content.UITests.CommandBar.CommandBar_With_Long_Sentences
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_Corners
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Changing_Text
    • UITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_Weird_Measure
    • UITests.Windows_UI_Xaml_Controls.ListView.ListViewItem_Click_Focus
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Windows_UI_Xaml_Controls.ListView.ListViewTemplateRootIsContainer
    • UITests.Windows_UI_Xaml_Controls.ListView.ListView_DuplicateItem
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.UndefinedHeightListView
  • wasm-automated-net10.0-WinUI-Benchmarks-automated: 0 changed over 1

  • wasm-automated-net10.0-WinUI-Default-automated: 17 changed over 877

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • When_MultipleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Default_StrokeThickness_MyEllipse
    • When_SingleSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Default_StrokeThickness_MyPath
    • When_Padding_Is_Changed_Then_Cache_Is_Missed_UITests_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_MeasureCache
    • TestProgressRing_InitialState_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • When_TextTrimming_Is_Set_Then_Ellipsis_Is_Used_UITests_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_TextTrimming
    • Default_StrokeThickness_MyPolygon
    • Default_StrokeThickness_MyPolyline
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • When_MaxLines_Then_AlignmentPositionIsCorrect_Uno_UI_Samples_Content_UITests_TextBlockControl_SimpleText_MaxLines_Two_With_Wrap
    • Default_StrokeThickness_MyLine
    • Default_StrokeThickness_MyRect
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_TransformToVisual_ScrollViewer_UITests_Shared_Windows_UI_Xaml_UIElementTests_TransformToVisual_ScrollViewer
  • wasm-automated-net10.0-WinUI-RuntimeTests-0: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-1: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-2: 0 changed over 1

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 176153 has failed on Uno.UI - CI.

@jonpryor

Copy link
Copy Markdown
Contributor Author

@jonpryor wrote:

Additionally, if I unzip the com.companyname.Scratch.net10_android_sha1_create-Signed.apk and grep for InitLibraryOnLoad, I find more than one match!

This was PEBKAC: the project I was using had a P/Invoke to AndroidCryptoNative_InitLibraryOnLoad() -- as part of figuring out a workaround for using SHA1.Create() on NativeAOT -- so of course it matched InitLibraryOnLoad.

Comment out the P/Invoke and call sites, and grep no longer matches InitLibraryOnLoad.

Grendel says that this should be fixed in RC2: https://discord.com/channels/732297728826277939/732297837953679412/1417401914584465499

jonpryor: does CoreCLR (1) callAndroidCryptoNative_InitLibraryOnLoad(), (2) need to call AndroidCryptoNative_InitLibraryOnLoad()?
grendel: We call it, but not in rc1, you wil need rc2 too. Yes, it must call it, otherwise crypto on android will segfault in the crypto PAL

Though I suspect that the workaround of "just P/Invoke it manually!" used on NativeAOT will also work for CoreCLR…

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch from cd76c5f to ad2685e Compare September 16, 2025 13:44
@github-actions github-actions Bot added the platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform label Sep 16, 2025
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch from ad2685e to 7820f90 Compare September 16, 2025 15:16
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor

Copy link
Copy Markdown
Contributor Author

All tests except one pass: When_Native_Host_Infinite_Measure_Bounds:

#if __SKIA__
[TestMethod]
public async Task When_Native_Host_Infinite_Measure_Bounds()
{
var SUT = new ContentPresenter();
SUT.Content = SUT.CreateSampleComponent("test");
if (SUT.Content is null)
{
Assert.Inconclusive("This platform does not support native element hosting.");
}
await UITestHelper.Load(new StackPanel()
{
Children =
{
SUT
},
Width = 200
}, sp => sp.IsLoaded);
Assert.AreEqual(200, SUT.ActualWidth);
SUT.ActualHeight.Should().BeLessOrEqualTo(200); // WPf returns 200, everywhere else returns 0
}
#endif

Fails with:

Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Expected value to be less or equal to 200.0, but found 16777215.0.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.BeLessOrEqualTo(T expected, String because, Object[] becauseArgs)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_ContentPresenter.When_Native_Host_Infinite_Measure_Bounds()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass67_2.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()

I am not sure why this assertion would fail because of CoreCLR…

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 176225 found UI Test snapshots differences: android-28-net9: 17, android-28-net9-Snap: 30, ios: 6, ios-Snap: 51, skia-linux-screenshots: 66, skia-windows-screenshots: 454, wasm: 46, wasm-automated-net10.0-WinUI-Benchmarks-automated: 0, wasm-automated-net10.0-WinUI-Default-automated: 13, wasm-automated-net10.0-WinUI-RuntimeTests-0: 0, wasm-automated-net10.0-WinUI-RuntimeTests-1: 0, wasm-automated-net10.0-WinUI-RuntimeTests-2: 0

Details
  • android-28-net9: 17 changed over 825

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Detereminate_ProgressRing_Validation25_[#FF0000_#008000_#FF0000_#FF0000]_Progress-Ring-Value-25
    • FlyoutTest_Unloaded_UITests_Shared_Windows_UI_Xaml_Controls_Flyout_Flyout_Unloaded
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • Detereminate_ProgressRing_Validation50_[#FF0000_#008000_#008000_#FF0000]_Progress-Ring-Value-50
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • When_ExtendedSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • UpDownEnabledTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • When_NoSelection_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • WebView_NavigateToAnchor_Initial
    • DecimalFormatterTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • NativeCommandBar_Size_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Dynamic
    • When_Parent_PointerMoved_After_drag_on_non-scrolling_ScrollViewer
    • When_Parent_PointerMoved_After_drag_on_ScrollViewer_-_touch
    • Detereminate_ProgressRing_Validation75_[#FF0000_#008000_#008000_#008000]_Progress-Ring-Value-75
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
  • android-28-net9-Snap: 30 changed over 1075

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ListView_HorizontalListView_Padding_SamplesApp_Windows_UI_Xaml_Controls_ListView_HorizontalListView_Padding
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • NavigationView_MUXControlsTestApp_NavigationViewTopNavOnlyPage_MUXControlsTestApp_NavigationViewTopNavOnlyPage
    • NavigationView_MUXControlsTestApp_NavigationViewTopNavPage_MUXControlsTestApp_NavigationViewTopNavPage
    • CommandBarFlyout_MUXControlsTestApp_CommandBarFlyoutPage_MUXControlsTestApp_CommandBarFlyoutPage
    • ListView_ListViewSelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • MediaPlayerElement_Using_3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_Extension
    • MediaPlayerElement_Using_mp3_Audio_only_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mp3_Extension
    • MediaPlayerElement_Using_ogg_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Ogg_Extension
    • MUX_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage
    • Gesture_Recognizer_Pointer_Events_test_bench_UITests_Shared_Windows_UI_Input_GestureRecognizer_PointersEvents
    • Brushes_ImageBrushChangingCornerRadius_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushChangingCornerRadius
    • Scrolling_MUXControlsTestApp_ScrollViewDynamicPage_MUXControlsTestApp_ScrollViewDynamicPage
    • Scrolling_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage
    • Default_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected
    • SwipeControl_MUXControlsTestApp_SwipeControlPage2_MUXControlsTestApp_SwipeControlPage2
    • Transform_Basics_UITests_Shared_Windows_UI_Xaml_Media_Transform_Basics
    • MUX_NumberBox_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • RatingControl_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage
    • TeachingTip_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage
  • ios: 6 changed over 255

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ListView_Weird_Measure_During_Arrange_after_layout
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • TextBox_UpdatedBinding_On_OneWay_Mode_UITests_Windows_UI_Xaml_Controls_TextBox_TextBox_Bindings
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
  • ios-Snap: 51 changed over 992

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Grid_CenteredGridinGridwiththreefixedsizechildren_Uno_UI_Samples_Content_UITests_GridTestsControl_CenteredGridinGridwiththreefixedsizechildren
    • Microsoft_UI_Xaml_Media_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Basic_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Basic
    • Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Bigger_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Bigger
    • Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Equal_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Equal
    • Flyouts_UITests_Windows_UI_Xaml_Controls_Flyout_Flyout_TemplatedParent_UITests_Windows_UI_Xaml_Controls_Flyout_Flyout_TemplatedParent
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats
    • TextBlock_Attributed_text_Simple_Uno_UI_Samples_Content_UITests_TextBlockControl_Attributed_text_Simple
    • Performance_UITests_Windows_UI_Xaml_Performance_Performance_1000ButtonsContinuousRendering_UITests_Windows_UI_Xaml_Performance_Performance_1000ButtonsContinuousRendering
    • GridView_GenericApp_Views_Samples_Shared_Content_UITests_GridViewGrouped_GenericApp_Views_Samples_Shared_Content_UITests_GridViewGrouped
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • Brushes_ImageBrushStretch_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushStretch
    • ListView_ListView_KeyboardInterception_UITests_Windows_UI_Xaml_Controls_ListView_ListView_KeyboardInterception
    • Brushes_Uno_UI_Samples_Samples_Shared_Content_UITests_ImageBrushInList_Uno_UI_Samples_Samples_Shared_Content_UITests_ImageBrushInList
    • Brushes_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList
    • ContentControl_ContentControl_SelectorInheritance_Uno_UI_Samples_Content_UITests_ContentControlTestsControl_ContentControl_SelectorInheritance
    • Brushes_PathImageBrushfill_Uno_UI_Samples_UITests_ImageBrushTestControl_PathImageBrushfill
    • Grid_Grid_DataBound_ColumnRow_Definitions_Uno_UI_Samples_Content_UITests_GridTestsControl_Grid_DataBound_ColumnRow_Definitions
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Vertical_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Vertical
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl
  • skia-linux-screenshots: 66 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • Buttons.png
    • ClipboardTests.png
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • DisplayInformation.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ImageBrushLocalAsset.png-dark
    • ImageBrushLocalAsset.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
  • skia-windows-screenshots: 454 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Attributed_text_FontSize_Changing.png
    • AutoSizedPathCentered.png
    • CenteredGridinGridwithtwofixedsizechildren.png-dark
    • CenteredGridinGridwithtwofixedsizechildren.png
    • DoubleAnimation_Cumulative.png-dark
    • DoubleAnimation_Cumulative.png
    • DoubleAnimation_Opacity_TextBlock.png-dark
    • DoubleAnimation_Opacity_TextBlock.png
    • FixedWidth.png-dark
    • FixedWidth.png
    • Gamepad_Enumeration.png-dark
    • Grid_in_GridClipping.png-dark
    • Grid_in_GridClipping.png
    • Grid_in_StackPanel.png-dark
    • Grid_in_StackPanel.png
    • HardwareBackButton.png-dark
    • HardwareBackButton.png
    • AppBarButtonTest.png-dark
    • AppBarToggleButtonTest.png-dark
    • Attributed_text_Simple.png
  • wasm: 46 changed over 1056

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • UITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_Weird_Measure
    • UITests.Windows_UI_Xaml.FocusTests.Focus_FocusVisual_Properties
    • UITests.Windows_UI_Xaml_Controls.CommandBar.CommandBar_Native_With_TextBox
    • UITests.Windows_UI_Xaml_Controls.Repeater.ItemsRepeater_Nested
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewLegacy
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_ItemContainerStyleSelector
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • UITests.Shared.Windows_UI_Xaml_Controls.AutoSuggestBoxTests.AutoSuggestBoxChosenSuggestion
    • UITests.Shared.Windows_UI_Xaml_Controls.MenuFlyoutTests.MenuFlyoutItem_Click
    • UITests.Windows_UI_Xaml_Controls.ListView.ListViewItem_Click_Focus
    • UITests.Windows_UI_Xaml_Controls.ListView.ListViewItem_IsEnabled
    • Uno.UI.Samples.Content.UITests.CommandBar.CommandBar_Padding
    • UITests.Uno_Web.Http.CookieManagerTests
    • Uno.UI.Samples.Content.UITests.GridTestsControl.Grid_with_UserControlMargin
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_ItemTemplateSelector_And_ItemContainerStyleSelector
    • UITests.Windows_UI_Xaml_Media.GradientBrushTests.GradientsPage
    • Uno.UI.Samples.Content.UITests.FocusTests.FocusManagerTest
    • UITests.Shared.Windows_UI_Xaml_Controls.ContentDialogTests.ContentDialog_Simple
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_IsSelected
  • wasm-automated-net10.0-WinUI-Benchmarks-automated: 0 changed over 1

  • wasm-automated-net10.0-WinUI-Default-automated: 13 changed over 877

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Default_StrokeThickness_MyEllipse
    • Default_StrokeThickness_MyPath
    • When_ExtendedSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • TestProgressRing_InitialState_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features
    • Default_StrokeThickness_MyPolygon
    • When_Theme_Changed_No_Crash_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming
    • Default_StrokeThickness_MyPolyline
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • When_MultipleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Default_StrokeThickness_MyLine
  • wasm-automated-net10.0-WinUI-RuntimeTests-0: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-1: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-2: 0 changed over 1

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 176225 has failed on Uno.UI - CI.

@github-actions github-actions Bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Sep 17, 2025
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 176316 has failed on Uno.UI - CI.

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch from ee099ff to 9e166f4 Compare September 17, 2025 16:36
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch from 9e166f4 to 86f966c Compare September 17, 2025 18:44
@jonpryor
jonpryor marked this pull request as ready for review September 17, 2025 18:44
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 176359 found UI Test snapshots differences: android-28-net9: 12, android-28-net9-Snap: 31, ios: 3, ios-Snap: 47, skia-linux-screenshots: 56, skia-windows-screenshots: 122, wasm: 57, wasm-automated-net10.0-WinUI-Benchmarks-automated: 0, wasm-automated-net10.0-WinUI-Default-automated: 11, wasm-automated-net10.0-WinUI-RuntimeTests-0: 0, wasm-automated-net10.0-WinUI-RuntimeTests-1: 0, wasm-automated-net10.0-WinUI-RuntimeTests-2: 0

Details
  • android-28-net9: 12 changed over 825

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Detereminate_ProgressRing_Validation25_[#FF0000_#008000_#FF0000_#FF0000]_Progress-Ring-Value-25
    • Detereminate_ProgressRing_Validation50_[#FF0000_#008000_#008000_#FF0000]_Progress-Ring-Value-50
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • When_ExtendedSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • UpDownEnabledTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_Parent_PointerMoved_After_drag_on_non-scrolling_ScrollViewer
    • When_Parent_PointerMoved_After_drag_on_ScrollViewer_-_touch
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
  • android-28-net9-Snap: 31 changed over 1075

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeight_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeight
    • MediaPlayerElement_Mini_player_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Minimal
    • CommandBar_Examples_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Examples
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • NavigationView_MUXControlsTestApp_NavigationViewTopNavOnlyPage_MUXControlsTestApp_NavigationViewTopNavOnlyPage
    • MUX_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage
    • TeachingTip_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage
    • MUX_NumberBox_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • Gesture_Recognizer_Pointer_Events_test_bench_UITests_Shared_Windows_UI_Input_GestureRecognizer_PointersEvents
    • TabView_MUXControlsTestApp_TabViewPage_MUXControlsTestApp_TabViewPage
    • NavigationView_MUXControlsTestApp_NavigationViewRS4Page_MUXControlsTestApp_NavigationViewRS4Page
    • Scrolling_MUXControlsTestApp_ScrollViewWithScrollControllersPage_MUXControlsTestApp_ScrollViewWithScrollControllersPage
    • Transform_Basics_UITests_Shared_Windows_UI_Xaml_Media_Transform_Basics
    • ListView_ListViewSelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • MediaPlayerElement_Using_3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_Extension
    • MediaPlayerElement_Using_mp3_Audio_only_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mp3_Extension
    • MediaPlayerElement_Using_ogg_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Ogg_Extension
    • NavigationView_MUXControlsTestApp_NavigationViewCustomThemeResourcesPage_MUXControlsTestApp_NavigationViewCustomThemeResourcesPage
    • SwipeControl_MUXControlsTestApp_SwipeControlPage2_MUXControlsTestApp_SwipeControlPage2
    • Default_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected
  • ios: 3 changed over 255

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
  • ios-Snap: 47 changed over 992

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ContentControl_ContentControl_Nested_TemplatedParent_Uno_UI_Samples_Content_UITests_ContentControlTestsControl_ContentControl_Nested_TemplatedParent
    • Microsoft_UI_Xaml_Media_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Overlap_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Overlap
    • Brushes_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList
    • ListView_ListView_Aligned_Left_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_Aligned_Left
    • TextBlock_TextBoxSizeChanging_Uno_UI_Samples_Content_UITests_TextBlockControl_TextBoxSizeChanging
    • Brushes_ImageBrushAlignmentXY_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushAlignmentXY
    • Flyouts_UITests_Windows_UI_Xaml_Controls_Flyout_Flyout_TemplatedParent_UITests_Windows_UI_Xaml_Controls_Flyout_Flyout_TemplatedParent
    • Brushes_Uno_UI_Samples_Samples_Shared_Content_UITests_ImageBrushInList_Uno_UI_Samples_Samples_Shared_Content_UITests_ImageBrushInList
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Vertical_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Vertical
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Alignment_SizeOnControl
    • Microsoft_UI_Composition_UITests_Shared_Windows_UI_Composition_SKCanvasElement_Simple_UITests_Shared_Windows_UI_Composition_SKCanvasElement_Simple
    • Popup_MessageDialog_UITests_Shared_Windows_UI_Xaml_Controls_Popup_MessageDialog
    • TabView_MUXControlsTestApp_TabViewPage_MUXControlsTestApp_TabViewPage
    • Icons_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage
    • ItemsRepeater_UITests_Windows_UI_Xaml_Controls_Repeater_ItemsRepeater_Basics_UITests_Windows_UI_Xaml_Controls_Repeater_ItemsRepeater_Basics
    • Scrolling_MUXControlsTestApp_ScrollViewWithRTLFlowDirectionPage_MUXControlsTestApp_ScrollViewWithRTLFlowDirectionPage
    • WebView_UITests_Microsoft_UI_Xaml_Controls_WebView2Tests_WebView2_ExecuteScriptAsync_UITests_Microsoft_UI_Xaml_Controls_WebView2Tests_WebView2_ExecuteScriptAsync
    • WebView_WebView_ChromeClient_Uno_UI_Samples_Content_UITests_WebView_WebView_ChromeClient
  • skia-linux-screenshots: 56 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Buttons.png-dark
    • Buttons.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • Examples.png-dark
    • Examples.png
    • ButtonClippingTestsControl.png-dark
    • DropDownButtonPage.png-dark
    • ImageBrushLocalAsset.png-dark
    • ImageBrushLocalAsset.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
  • skia-windows-screenshots: 122 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DropDownButtonPage.png-dark
    • Border_With_CompositeTransform.png
    • Border_With_Off_Centre_RotateTransform.png-dark
    • DisplayInformation.png-dark
    • ElevatedView_BorderThickness.png-dark
    • ElevatedView_BorderThickness.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • Basics_Automated.png-dark
    • Border_With_CompositeTransform.png-dark
    • Border_With_ScaleTransform.png-dark
    • Border_With_ScaleTransform.png
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Basics.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Basics.png
    • Border_With_Off_Centre_RotateTransform.png
  • wasm: 57 changed over 1056

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewHeaderFooter_ImplicitlyBinded
    • UITests.Shared.Windows_UI_Xaml_Controls.AutoSuggestBoxTests.AutoSuggestBoxChosenSuggestion
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_Corners
    • UITests.Shared.Windows_UI_Xaml_Controls.ComboBox.ComboBox_DropDownPlacement
    • UITests.Windows_UI_Xaml_Controls.CommandBar.CommandBar_Native_With_TextBox
    • UITests.Windows_UI_Xaml_Controls.Repeater.ItemsRepeater_Nested
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Expandable_Item
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Expandable_Item_Large
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_IsSelected
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_TextBox
    • UITests.Microsoft_UI_Xaml_Controls.InfoBadgeTests.InfoBadgePage
    • UITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_ChangeView
    • UITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_DataContext_Propagation
    • UITests.Shared.Windows_UI_Xaml_Media_Animation.SetTargetProperty
    • UITests.Windows_UI_Xaml.DragAndDrop.DragDrop_TreeView
    • Uno.UI.Samples.Content.UITests.ButtonTestsControl.CheckBox_Button
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_ItemTemplateSelector_And_ItemContainerStyleSelector
    • Uno.UI.Samples.Content.UITests.GridTestsControl.Grid_with_UserControlMargin
    • SamplesApp.Windows_UI_Xaml.Clipping.DoubleAnimationClipping
  • wasm-automated-net10.0-WinUI-Benchmarks-automated: 0 changed over 1

  • wasm-automated-net10.0-WinUI-Default-automated: 11 changed over 877

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Default_StrokeThickness_MyEllipse
    • Default_StrokeThickness_MyPolygon
    • When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Default_StrokeThickness_MyPolyline
    • Default_StrokeThickness_MyLine
    • Default_StrokeThickness_MyRect
    • TestProgressRing_InitialState_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features
    • Default_StrokeThickness_MyPath
    • When_Theme_Changed_No_Crash_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
  • wasm-automated-net10.0-WinUI-RuntimeTests-0: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-1: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-2: 0 changed over 1

Context: https://github.com/dotnet/core/blob/4c489a6ae54f71c30c1d21f2fe0ebb3489482e92/release-notes/10.0/preview/rc1/dotnetmaui.md#experimental-coreclr
Context: dotnet/android#10463
Context: dotnet/runtime#119821

.NET 10 RC1 adds:

> **(Experimental) CoreCLR**
>
> Enables Android apps to run on the CoreCLR runtime (instead of Mono).
> To use it [set the `$(UseMonoRuntime)` MSBuild property to `false`].

As building `SamplesApp.Skia.netcoremobile.csproj` with CoreCLR can
take a significant amount of time and disk space, we've decided to
introduce a new `Tests - Android+CoreCLR Skia` stage to build and
run these unit tests within an Android+CoreCLR environment.

To help reduce disk usage, after building the `.apk` we delete the
`obj` directory.

Update `src/SamplesApp/SamplesApp.Skia.netcoremobile` so that
`$(ApplicationId)` can be overridden via the new `$(SkiaApplicationId)`
MSBuild property.  This allows CoreCLR builds to have distinct package
names vs. default (MonoVM) builds, and allows them to be installed
side-by-side (disk space pemitting).

Additionally, crypto is not initialized when using CoreCLR under
.NET 10 RC1, which resembles dotnet/android#10463.  Add a call to
`System.loadLibrary("System.Security.Cryptography.Native.Android")`
to load and initialize Crypto support.

Update `android-run-skia-runtime-tests.sh` so that `UNO_UITEST_APP_ID`
can be overridden.  This allows `uno.platform.samplesapp.skia.coreclr`
to be launched.

Finally, the behavior around storing `int.MaxValue` within a `float`
differs between MonoVM and CoreCLR; see dotnet/runtime#119821.
Update `AndroidSkiaNativeElementHostingExtension.MeasureNativeElement()`
to use [`Android.Views.View.MeasureSpec.MakeMeasureSpec()`][0] instead
of `(int)availablePhysical.Height`, as `.Height` will hold a
`float` containing `int.MaxValue` if/when `availableSize.Height` is
Infinite, which triggers differing behavior between MonoVM & CoreCLR.
Using `MakeMeasureSpec()` fixes this inconsistency.

[0]:https://developer.android.com/reference/android/view/View.MeasureSpec#makeMeasureSpec(int,%20int)
@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch from 86f966c to 41a5796 Compare September 17, 2025 22:07
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 176380 has failed on Uno.UI - CI.

@jeromelaban jeromelaban left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 176380 found UI Test snapshots differences: android-28-net9: 17, android-28-net9-Snap: 31, ios: 5, ios-Snap: 46, skia-linux-screenshots: 77, skia-windows-screenshots: 74, wasm: 54, wasm-automated-net10.0-WinUI-Benchmarks-automated: 0, wasm-automated-net10.0-WinUI-Default-automated: 11, wasm-automated-net10.0-WinUI-RuntimeTests-0: 0, wasm-automated-net10.0-WinUI-RuntimeTests-1: 0, wasm-automated-net10.0-WinUI-RuntimeTests-2: 0

Details
  • android-28-net9: 17 changed over 825

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • When_NoSelection_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • Detereminate_ProgressRing_Validation50_[#FF0000_#008000_#008000_#FF0000]_Progress-Ring-Value-50
    • Detereminate_ProgressRing_Validation75_[#FF0000_#008000_#008000_#008000]_Progress-Ring-Value-75
    • NativeCommandBar_Size_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Dynamic
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
    • When_ExtendedSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • When_Parent_PointerMoved_After_drag_on_non-scrolling_ScrollViewer
    • When_Parent_PointerMoved_After_drag_on_ScrollViewer_-_touch
    • Detereminate_ProgressRing_Validation25_[#FF0000_#008000_#FF0000_#FF0000]_Progress-Ring-Value-25
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • UpDownEnabledTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • ListView_ListViewWithHeader_InitializesTest_SamplesApp_Windows_UI_Xaml_Controls_ListView_HorizontalListViewGrouped
    • When_MultipleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
  • android-28-net9-Snap: 31 changed over 1075

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • NavigationView_MUXControlsTestApp_NavigationViewTopNavOnlyPage_MUXControlsTestApp_NavigationViewTopNavOnlyPage
    • CommandBar_Examples_Uno_UI_Samples_Content_UITests_CommandBar_CommandBar_Examples
    • NavigationView_MUXControlsTestApp_NavigationViewRS4Page_MUXControlsTestApp_NavigationViewRS4Page
    • Gesture_Recognizer_Pointer_Events_test_bench_UITests_Shared_Windows_UI_Input_GestureRecognizer_PointersEvents
    • TabView_MUXControlsTestApp_TabViewPage_MUXControlsTestApp_TabViewPage
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_Icons_UITests_Windows_UI_Xaml_Controls_ImageTests_SvgImageSource_Icons
    • MUX_NumberBox_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage
    • RatingControl_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage
    • TeachingTip_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage_UITests_Microsoft_UI_Xaml_Controls_TeachingTipTests_TeachingTipPage
    • GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeight_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeight
    • Pickers_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming
    • Scrolling_MUXControlsTestApp_ScrollViewDynamicPage_MUXControlsTestApp_ScrollViewDynamicPage
    • Scrolling_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage_MUXControlsTestApp_ScrollViewKeyboardAndGamepadNavigationPage
    • MediaPlayerElement_Mini_player_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Minimal
    • SwipeControl_MUXControlsTestApp_SwipeControlPage2_MUXControlsTestApp_SwipeControlPage2
    • TextBlock_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_Layout_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_Layout
    • Transform_Basics_UITests_Shared_Windows_UI_Xaml_Media_Transform_Basics
    • ListView_HorizontalListView_Padding_SamplesApp_Windows_UI_Xaml_Controls_ListView_HorizontalListView_Padding
    • MUX_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage_UITests_Shared_Microsoft_UI_Xaml_Controls_TreeViewTests_TreeViewPage
  • ios: 5 changed over 255

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • TextBox_UpdatedBinding_On_OneWay_Mode_UITests_Windows_UI_Xaml_Controls_TextBox_TextBox_Bindings
    • Check_ListView_Swallows_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure
    • ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220
  • ios-Snap: 46 changed over 992

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Brushes_PathImageBrushfill_Uno_UI_Samples_UITests_ImageBrushTestControl_PathImageBrushfill
    • Buttons_Custom_Button_With_ContentTemplate_Uno_UI_Samples_Content_UITests_ButtonTestsControl_Custom_Button_With_ContentTemplate
    • ListView_ListView_Aligned_Left_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_Aligned_Left
    • Microsoft_UI_Xaml_Media_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Overlap_UITests_Windows_UI_Xaml_Media_ThemeShadowTests_ThemeShadow_Overlap
    • Brushes_ImageBrushStretch2_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushStretch2
    • ContentControl_ContentControl_Nested_TemplatedParent_Uno_UI_Samples_Content_UITests_ContentControlTestsControl_ContentControl_Nested_TemplatedParent
    • Image_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats_UITests_Windows_UI_Xaml_Controls_ImageTests_Image_Formats
    • SwipeControl_MUXControlsTestApp_SwipeControlClearPage_MUXControlsTestApp_SwipeControlClearPage
    • Brushes_ImageBrushLocalAsset_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushLocalAsset
    • Image_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal_UITests_Shared_Windows_UI_Xaml_Controls_ImageTests_Image_Stretch_Algmnt_Inf_Horizontal
    • Pickers_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming
    • Default_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_ObservableCollection_Unused_Space_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_ObservableCollection_Unused_Space
    • Default_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected
    • WebView_WebView2_JavascriptInvoke_SamplesApp_Microsoft_UI_Xaml_Controls_WebView2Tests_WebView2_JavascriptInvoke
    • WebView_WebView_ChromeClient_Uno_UI_Samples_Content_UITests_WebView_WebView_ChromeClient
    • WebView_WebView_JavascriptInvoke_Uno_UI_Samples_Content_UITests_WebView_WebView_JavascriptInvoke
    • Windows_System_Display_DisplayRequest_UITests_Shared_Windows_System_Display_DisplayRequest
    • ColorPicker_ColorPickerSample_UITests_Microsoft_UI_Xaml_Controls_ColorPickerTests_ColorPickerSample
    • MediaPlayerElement_Sources_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Sources
    • TabView_MUXControlsTestApp_TabViewPage_MUXControlsTestApp_TabViewPage
  • skia-linux-screenshots: 77 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • DisplayInformation.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • ButtonClippingTestsControl.png-dark
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ExpanderColorValidationPage.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Buttons.png
    • ImageBrushAlignmentXY2.png-dark
    • ImageBrushAlignmentXY2.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ImageBrushLocalAsset.png-dark
  • skia-windows-screenshots: 74 changed over 2292

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ElevatedView_BorderThickness.png-dark
    • ElevatedView_BorderThickness.png
    • Focus_FocusVisual_Properties.png-dark
    • FileOpenPickerTests.png-dark
    • FileOpenPickerTests.png
    • Gamepad_CurrentReading.png-dark
    • Buttons.png-dark
    • CalendarView_Theming.png-dark
    • Examples.png-dark
    • Examples.png
    • DropDownButtonPage.png-dark
    • Gamepad_Enumeration.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • FileOpenPicker_Bitmap.png-dark
    • FileOpenPicker_Bitmap.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • Image_Margin_Large.png-dark
    • Image_Margin_Large.png
  • wasm: 54 changed over 1056

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Image
    • UITests.Shared.Windows_UI_Xaml_Controls.AutoSuggestBoxTests.AutoSuggestBoxChosenSuggestion
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • UITests.Shared.Windows_UI_Xaml_Controls.CommandBar.CommandBar_Xaml_Automated
    • UITests.Shared.Windows_UI_Xaml_Controls.ContentDialogTests.ContentDialog_Closing
    • UITests.Windows_UI_Xaml_Controls.Repeater.ItemsRepeater_Nested
    • Uno.UI.Samples.Content.UITests.ButtonTestsControl.AppBar_KeyBoard
    • Uno.UI.Samples.Content.UITests.ButtonTestsControl.Buttons
    • UITests.Shared.Windows_UI_Xaml_Controls.ContentDialogTests.ContentDialog_Simple
    • UITests.Windows_UI_Xaml_Controls.ListView.ListView_DisplayMemberPath
    • MUXControlsTestApp.SwipeControlPage2
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListView_Expandable_Item_Large
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Shared.Windows_UI_Xaml_Controls.ComboBox.ComboBox_SelectedIndex
    • UITests.Shared.Windows_UI_Xaml_Controls.ListView.ListView_ObservableCollection_Unused_Space
    • UITests.Windows_UI_Xaml.FocusTests.Focus_FocusVisual_Properties
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Shared.Windows_UI_Xaml_Controls.Button.Button_Events
    • UITests.Shared.Windows_UI_Xaml_Controls.MenuFlyoutTests.MenuFlyoutItem_Click
  • wasm-automated-net10.0-WinUI-Benchmarks-automated: 0 changed over 1

  • wasm-automated-net10.0-WinUI-Default-automated: 11 changed over 877

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Default_StrokeThickness_MyLine
    • Default_StrokeThickness_MyPolyline
    • Default_StrokeThickness_MyEllipse
    • Default_StrokeThickness_MyPath
    • TestProgressRing_InitialState_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features
    • Default_StrokeThickness_MyPolygon
    • SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage
    • When_SingleSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers
    • When_Theme_Changed_No_Crash_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming
    • ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems
  • wasm-automated-net10.0-WinUI-RuntimeTests-0: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-1: 0 changed over 1

  • wasm-automated-net10.0-WinUI-RuntimeTests-2: 0 changed over 1

@jonpryor
jonpryor merged commit 1abb1f8 into master Sep 18, 2025
@jonpryor
jonpryor deleted the dev/jonpryor/jonp-add-android+coreclr-skia-sample-stage branch September 18, 2025 02:28
jonpryor added a commit that referenced this pull request Oct 20, 2025
Context: 41a5796
Context: #21477 (comment)
Context: https://dev.azure.com/xamarin/public/_artifacts/feed/SkiaSharp/NuGet/_SymbolsPreview/overview/0.0.0-branch.release.3.119.2-preview.1.2266

After CoreCLR tests were merged (41a5796), we started seeing
occasional flakiness on CI, in which `SamplesApp.Skia.netcoremobile`
would *crash* within SkiaSharp:

	F DEBUG   : Cause: null pointer dereference
	F DEBUG   :     rax 00000000000001a9  rbx 00007259ee698820  rcx 0000000000000000  rdx 0000000000000275
	F DEBUG   :     r8  4d1f000000050005  r9  0000000000000000  r10 000072592e679b24  r11 0000000000000001
	F DEBUG   :     r12 0000000000000330  r13 0000000000000033  r14 0000725a3e6f7670  r15 000072170df19fd8
	F DEBUG   :     rdi 0000000000000330  rsi 000072170df19fd8
	F DEBUG   :     rbp 0000000000000000  rsp 000072170df19f30  rip 00007217123b06b7
	F DEBUG   : 7 total frames
	F DEBUG   : backtrace:
	F DEBUG   :       #00 pc 00000000003056b7  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #1 pc 00000000003052be  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #2 pc 00000000002e4b64  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #3 pc 0000000000274884  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #4 pc 000000000027469d  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #5 pc 000000000024f28f  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so (sk_canvas_draw_picture+95)
	F DEBUG   :       #6 pc 000000000010897e  /memfd:doublemapper (deleted) (offset 0x3181000)

@jonpryor suspects that this is because the GC is collecting
*something*, which causes whatever SkiaSharp is attempting to use to
be `null`.  The question is, *what* is SkiaSharp attempting to use
that triggers the SIGSEGV?

Answering this requires debug symbols for SkiaSharp, which did not
exist.

Enter [SkiaSharp 3.119.2-preview.1][0], which *has* symbols, though
it takes a bit of work to obtain them:

 1. Go to <https://dev.azure.com/xamarin/public/_artifacts/feed/SkiaSharp/NuGet/_SymbolsPreview/overview/0.0.0-branch.release.3.119.2-preview.1.2266>
 2. Click **↓ Download**
 3. `unzip _SymbolsPreview.0.0.0-branch.release.3.119.2-preview.1.2266.nupkg`
 4. `unzip -d _t tools/SkiaSharp.NativeAssets.Android.3.119.2-preview.1.symbols.nupkg`

Then e.g. `_t/runtimes/android-x64/native/libSkiaSharp.so.dbg`
contains debug symbols for `libSkiaSharp.so`.

Bump `$(SkiaSharpVersion)` to 3.119.2-preview.1, so that when
`SamplesApp.Skia.netcoremobile` crashes in the future, we can better
investigate the native side of the crash.

[0]: https://www.nuget.org/packages/SkiaSharp/3.119.2-preview.1
jonpryor added a commit that referenced this pull request Oct 21, 2025
Context: 41a5796
Context: #21477 (comment)
Context: https://dev.azure.com/xamarin/public/_artifacts/feed/SkiaSharp/NuGet/_SymbolsPreview/overview/0.0.0-branch.release.3.119.2-preview.1.2266

After CoreCLR tests were merged (41a5796), we started seeing
occasional flakiness on CI, in which `SamplesApp.Skia.netcoremobile`
would *crash* within SkiaSharp:

	F DEBUG   : Cause: null pointer dereference
	F DEBUG   :     rax 00000000000001a9  rbx 00007259ee698820  rcx 0000000000000000  rdx 0000000000000275
	F DEBUG   :     r8  4d1f000000050005  r9  0000000000000000  r10 000072592e679b24  r11 0000000000000001
	F DEBUG   :     r12 0000000000000330  r13 0000000000000033  r14 0000725a3e6f7670  r15 000072170df19fd8
	F DEBUG   :     rdi 0000000000000330  rsi 000072170df19fd8
	F DEBUG   :     rbp 0000000000000000  rsp 000072170df19f30  rip 00007217123b06b7
	F DEBUG   : 7 total frames
	F DEBUG   : backtrace:
	F DEBUG   :       #00 pc 00000000003056b7  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #1 pc 00000000003052be  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #2 pc 00000000002e4b64  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #3 pc 0000000000274884  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #4 pc 000000000027469d  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so
	F DEBUG   :       #5 pc 000000000024f28f  /data/app/~~MTMdmfvAFJoDhk7yNyJTzA==/uno.platform.samplesapp.skia.coreclr-qeZLZ4L2cypBk9-ouYLb1Q==/lib/x86_64/libSkiaSharp.so (sk_canvas_draw_picture+95)
	F DEBUG   :       #6 pc 000000000010897e  /memfd:doublemapper (deleted) (offset 0x3181000)

@jonpryor suspects that this is because the GC is collecting
*something*, which causes whatever SkiaSharp is attempting to use to
be `null`.  The question is, *what* is SkiaSharp attempting to use
that triggers the SIGSEGV?

Answering this requires debug symbols for SkiaSharp, which did not
exist.

Enter [SkiaSharp 3.119.2-preview.1][0], which *has* symbols, though
it takes a bit of work to obtain them:

 1. Go to <https://dev.azure.com/xamarin/public/_artifacts/feed/SkiaSharp/NuGet/_SymbolsPreview/overview/0.0.0-branch.release.3.119.2-preview.1.2266>
 2. Click **↓ Download**
 3. `unzip _SymbolsPreview.0.0.0-branch.release.3.119.2-preview.1.2266.nupkg`
 4. `unzip -d _t tools/SkiaSharp.NativeAssets.Android.3.119.2-preview.1.symbols.nupkg`

Then e.g. `_t/runtimes/android-x64/native/libSkiaSharp.so.dbg`
contains debug symbols for `libSkiaSharp.so`.

Update `.azure-devops-tests-android-coreclr-skia-build.yml` and
`.azure-devops-tests-android-nativeaot-skia-build.yml` to override
the `$(SkiaSharpVersion)` MSBuild property to 3.119.2-preview.1 so
that the CoreCLR and NativeAOT builds of SamplesApp.Skia.netcoremobile
are built using SkiaSharp 3.119.2-preview.1, so that when
`SamplesApp.Skia.netcoremobile` crashes in the future, we can better
investigate the native side of the crash.

[0]: https://www.nuget.org/packages/SkiaSharp/3.119.2-preview.1
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants