Skip to content

Running device tests for CoreCLR failing on maui #10314

@rmarinho

Description

@rmarinho

Android framework version

net10.0-android (Preview)

Affected platform version

36.0.0-ci.main.206

Description

We are enabling some test runs for CoreCLR on this pr dotnet/maui#30686 , we test on the following api levels 23 and 33, and seems we are seeing some crashes on API23 test runs.

https://dev.azure.com/xamarin/public/_build/results?buildId=146821&view=results

Steps to Reproduce

Run test run on CI for device tests on the pr indicated above.
Failure logs in attach

test-results.zip
adb-logcat-com.microsoft.maui.essentials.devicetests-com.microsoft.maui.essentials.devicetests.TestInstrumentation.log

Did you find any workaround?

No response

Relevant log output

-------- beginning of crash
07-21 15:25:22.507  4280  4355 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xb8 in tid 4355 (Thread-234)
07-21 15:25:22.539  2724  3566 W art     : Long monitor contention event with owner method=android.content.IContentProvider android.app.ActivityThread.acquireExistingProvider(android.content.Context, java.lang.String, int, boolean) from ActivityThread.java:4864 waiters=2 for 111ms
07-21 15:25:22.562  4280  4355 F DOTNET  : Aborting process.
07-21 15:25:22.607  2711  3342 I ChromeSync: [Sync,SyncIntentOperation] Handling the intent: Intent { act=com.google.android.gms.phenotype.COMMITTED flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.chimera.GmsIntentOperationService (has extras) }.
07-21 15:25:22.609  1892  3823 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
07-21 15:25:22.611  2711  4219 I MdiSyncModule: flag handling is skipping irrelevant intent.
07-21 15:25:22.612  4280  4359 W art     : Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[16,tid=4359,Native,Thread*=0x7f3c0970ac00,peer=0x12c91ca0,"Thread-235"]
07-21 15:25:22.612  4280  4359 F art     : art/runtime/thread.cc:1223] Native thread exited without calling DetachCurrentThread: Thread[16,tid=4359,Native,Thread*=0x7f3c0970ac00,peer=0x12c91ca0,"Thread-235"]
07-21 15:25:22.613  1610  1610 I SELinux : SELinux: Loaded file_contexts contexts from /file_contexts.
07-21 15:25:22.613  2711  3914 W ModuleInitIntentOp: Dropping unexpected action com.google.android.gms.phenotype.COMMITTED
07-21 15:25:22.620  1610  1610 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-21 15:25:22.620  1610  1610 F DEBUG   : Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:6.0/MASTER/6695544:userdebug/test-keys'
07-21 15:25:22.620  1610  1610 F DEBUG   : Revision: '0'
07-21 15:25:22.620  1610  1610 F DEBUG   : ABI: 'x86_64'
07-21 15:25:22.620  1610  1610 F DEBUG   : pid: 4280, tid: 4355, name: Thread-234  >>> com.microsoft.maui.graphics.devicetests <<<
07-21 15:25:22.621  1610  1610 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb8
07-21 15:25:22.623  4360  4360 W System  : ClassLoader referenced unknown path: /system/priv-app/CalendarProvider/lib/x86_64
07-21 15:25:22.624  1610  1610 F DEBUG   : Abort message: 'art/runtime/thread.cc:1223] Native thread exited without calling DetachCurrentThread: Thread[15,tid=4355,Native,Thread*=0x7f3c09434600,peer=0x12c89580,"Thread-234"]'
07-21 15:25:22.624  1610  1610 F DEBUG   :     rax 00007f3c0873ee09  rbx 0000000000000000  rcx 0000000000000000  rdx 00007f3c0873ee1f
07-21 15:25:22.624  1610  1610 F DEBUG   :     rsi 0000000000000000  rdi 00007f3c0873ee09
07-21 15:25:22.624  1610  1610 F DEBUG   :     r8  0000000000000000  r9  0000000000000000  r10 0000000000000004  r11 2000000000000000
07-21 15:25:22.624  1610  1610 F DEBUG   :     r12 00007f3c0873edc8  r13 0000000000000000  r14 00007f3c0873f170  r15 00007f3c21f85980
07-21 15:25:22.624  1610  1610 F DEBUG   :     cs  0000000000000033  ss  000000000000002b
07-21 15:25:22.624  1610  1610 F DEBUG   :     rip 00007f3c21d86ff7  rbp 00007f3c0873edc0  rsp 00007f3c0873ed10  eflags 0000000000010246

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions