Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[browser][MT] System.Reflection.Tests - Assertion: sgen-scan-object.h:93 #100932

Closed
pavelsavara opened this issue Apr 11, 2024 · 2 comments
Closed
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

Log

[15:17:53] fail: [0x053b0030-long 15:17:53.756] [MONO] * Assertion: should not be reached at /__w/1/s/src/mono/mono/sgen/sgen-scan-object.h:93
                 
                 Error
                     at cu (http://127.0.0.1:33745/_framework/dotnet.runtime.js:3:201010)
                     at wasm_trace_logger (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[199]:0x14ac1)
                     at eglib_log_adapter (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[693]:0x4bce0)
                     at monoeg_g_logv_nofree (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[615]:0x4a0f1)
                     at monoeg_assertion_message (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[619]:0x4a212)
                     at mono_assertion_message_unreachable (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[622]:0x4a27b)
                     at drain_gray_stack (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[1042]:0x5b7a6)
                     at finish_gray_stack (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[958]:0x572a4)
                     at major_do_collection (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[932]:0x552e7)
                     at sgen_perform_collection (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[928]:0x54431)
                     at sgen_gc_collect (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[945]:0x56638)
                     at mono_gc_collect (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[3189]:0xf1da6)
                     at ves_icall_System_GC_InternalCollect (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[3118]:0xee4a0)
                     at do_icall (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[338]:0x28d3e)
                     at do_icall_wrapper (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[267]:0x2648f)
                     at mono_interp_exec_method (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[258]:0x18d33)
                     at interp_runtime_invoke (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[297]:0x27026)
                     at mono_jit_runtime_invoke (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[3349]:0xfd853)
                     at do_runtime_invoke (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[2629]:0xd00d9)
                     at mono_runtime_invoke_checked (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[2628]:0xd0069)
                     at ves_icall_InternalInvoke_raw (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[1985]:0xaaa51)
                     at do_icall (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[338]:0x28de6)
                     at do_icall_wrapper (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[267]:0x2648f)
                     at mono_interp_exec_method (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[258]:0x18d33)
                     at interp_runtime_invoke (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[297]:0x27026)
                     at mono_jit_runtime_invoke (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[3349]:0xfd853)
                     at do_runtime_invoke (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[2629]:0xd00d9)
                     at mono_runtime_invoke_checked (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[2628]:0xd0069)
                     at start_wrapper (http://127.0.0.1:33745/_framework/dotnet.native.wasm:wasm-function[2777]:0xd7282)
                     at Object.invokeEntryPoint (http://127.0.0.1:33745/_framework/dotnet.native.js:8:69009)
                     at handleMessage (http://127.0.0.1:33745/_framework/dotnet.native.worker.js:1:2306)
[15:17:53] fail: 
[15:17:53] fail: ".NET Long Running Task" tid=0x53b0030 this=0x231fcb8 , thread handle : 0x48a9c38, state : not waiting
[15:17:53] fail:   at <unknown> <0xffffffff>
[15:17:53] fail:   at (wrapper managed-to-native) System.GC.InternalCollect (int) [0x00000] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.GC.Collect () [0x00000] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.Reflection.Tests.FieldInfoTests.ClassInitializerCalledOnceOnException () [0x00009] in <7bfa945c74be4740968b3f3666d590c8>:0
[15:17:53] fail:   at (wrapper runtime-invoke) object.runtime_invoke_direct_void__this__ (object,intptr,intptr,intptr) [0x0006a] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at <unknown> <0x00000>
[15:17:53] fail:   at <unknown> <0xffffffff>
[15:17:53] fail:   at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke (object,intptr*,System.Exception&) [0x0000c] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method (object,intptr*) [0x00000] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs (object,System.Reflection.BindingFlags) [0x00024] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.Reflection.RuntimeMethodInfo.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0005c] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at Xunit.Sdk.TestInvoker`1<Xunit.Sdk.IXunitTestCase>.CallTestMethod (object) [0x00000] in <db5648acc12e4b9da4b8c0adf0ec56ab>:0
[15:17:53] fail:   at Xunit.Sdk.TestInvoker`1/<>c__DisplayClass48_0/<<InvokeTestMethodAsync>b__1>d<Xunit.Sdk.IXunitTestCase>.MoveNext () [0x00125] in <db5648acc12e4b9da4b8c0adf0ec56ab>:0
[15:17:53] fail:   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Xunit.Sdk.TestInvoker`1/<>c__DisplayClass48_0/<<InvokeTestMethodAsync>b__1>d<Xunit.Sdk.IXunitTestCase>> (Xunit.Sdk.TestInvoker`1/<>c__DisplayClass48_0/<<InvokeTestMethodAsync>b__1>d<Xunit.Sdk.IXunitTestCase>&) [0x00028] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xunit.Sdk.TestInvoker`1/<>c__DisplayClass48_0/<<InvokeTestMethodAsync>b__1>d<Xunit.Sdk.IXunitTestCase>> (Xunit.Sdk.TestInvoker`1/<>c__DisplayClass48_0/<<InvokeTestMethodAsync>b__1>d<Xunit.Sdk.IXunitTestCase>&) [0x00000] in <02334207e98e418b8024fce5e02e74f1>:0
[15:17:53] fail:   at Xunit.Sdk.TestInvoker`1/<>c__DisplayClass48_0<Xunit.Sdk.IXunitTestCase>.<InvokeTestMethodAsync>b__1 () [0x0001c] in <db5648acc12e4b9da4b8c0adf0ec56ab>:0
[15:17:53] fail:   at Xunit.Sdk.ExecutionTimer/<AggregateAsync>d__4.MoveNext () [0x00020] in <db5648acc12e4b9da4b8c0adf0ec56ab>:0

Many more in #99888

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm labels Apr 11, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Apr 11, 2024
@pavelsavara pavelsavara self-assigned this Apr 11, 2024
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@BrzVlad
Copy link
Member

BrzVlad commented May 9, 2024

@pavelsavara Note that I re-enabled this suite in #101478. Let's keep an eye open for any changes in gc crash frequency on WASM MT.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

2 participants