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

[wasm] V8/linux - assertion src/mono/mono/metadata/class-accessors.c:92 in System.Linq.Tests #64774

Closed
Tracked by #65464
radical opened this issue Feb 3, 2022 · 3 comments
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono disabled-test The test is disabled in source code against the issue untriaged New issue has not been triaged by the area owner
Milestone

Comments

@radical
Copy link
Member

radical commented Feb 3, 2022

Hit on #64759 .

Note that this was on a EAT build, but I can't confirm whether it passes for a regular one or not, as runtime-extra-platforms only ran EAT.

Build, and Log

* Assertion: should not be reached at /__w/1/s/src/mono/mono/metadata/class-accessors.c:92


==== JS stack trace =========================================

Security context: 0x32f30820dca9 <JSObject>#0#
    0: builtin exit frame: trace(this=0x32f308203701 <console map = 0x32f308240919>#1#,0x32f30850fd05 <String[91]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/metadata/class-accessors.c:92\n">,0x32f308203701 <console map = 0x32f308240919>#1#)

    1: mono_wasm_trace_logger [0x32f3084181cd] [./dotnet.js:3] [bytecode=0x32f308221111 offset=153](this=0x32f3084072d9 <Object map = 0x32f3082469f9>#2#,0,20652,86931008,4,0)
    2: _mono_wasm_trace_logger [0x32f3084085bd] [./dotnet.js:12] [bytecode=0x32f308221019 offset=31](this=0x32f308401f7d <JSGlobal Object>#3#)
    3: arguments adaptor frame: 5->0
    4: WasmToJsFrame [pc: 0x180936bba75b]
    5: WASM [0096ea96], function #112 (''), pc=0x18093710665f (+0x3f), pos=38820 (+11)
    6: WASM [0096ea96], function #2507 (''), pc=0x180936fbce23 (+0xa3), pos=667134 (+39)
    7: WASM [0096ea96], function #8423 (''), pc=0x180936cd1c18 (+0xf8), pos=1801077 (+97)
    8: WASM [0096ea96], function #8426 (''), pc=0x180936cd1907 (+0x47), pos=1801220 (+31)
    9: WASM [0096ea96], function #8429 (''), pc=0x180936cd171b (+0x3b), pos=1801325 (+32)
   10: WASM [0096ea96], function #715 (''), pc=0x1809370b6882 (+0x122), pos=267719 (+160)
   11: WASM [0096ea96], function #654 (''), pc=0x1809370c76c6 (+0x106), pos=242817 (+110)
   12: WASM [0096ea96], function #653 (''), pc=0x1809370c7b6d (+0x10d), pos=242627 (+114)
   13: WASM [0096ea96], function #651 (''), pc=0x1809370c7de8 (+0x48), pos=242473 (+11)
   14: WASM [0096ea96], function #346 (''), pc=0x180936c828af (+0x5af), pos=154645 (+613)
   15: WASM [0096ea96], function #328 (''), pc=0x180936bdf206 (+0x60e6), pos=128681 (+8472)
   16: WASM [0096ea96], function #380 (''), pc=0x180936bfd7fe (+0x11be), pos=166274 (+2125)
   17: WASM [0096ea96], function #224 (''), pc=0x1809370fa3dc (+0x9c), pos=108710 (+51)
   18: WASM [0096ea96], function #170 (''), pc=0x180936bcb090 (+0xee90), pos=101358 (+52882)
   19: WASM [0096ea96], function #169 (''), pc=0x1809370ffbf3 (+0x1f3), pos=48414 (+231)
   20: WASM [0096ea96], function #7733 (''), pc=0x180936d26542 (+0x1162), pos=1666470 (+43)
   21: WASM [0096ea96], function #1901 (''), pc=0x18093700feab (+0x1eb), pos=540711 (+110)
   22: WASM [0096ea96], function #1899 (''), pc=0x180937010178 (+0x38), pos=540569 (+39)
   23: WASM [0096ea96], function #1262 (''), pc=0x18093706848a (+0x11ea), pos=414424 (+1945)
   24: WASM [0096ea96], function #259 (''), pc=0x1809370f745c (+0x53c), pos=112424 (+253)
   25: WASM [0096ea96], function #230 (''), pc=0x1809370f9746 (+0x106), pos=109930 (+272)
   26: WASM [0096ea96], function #170 (''), pc=0x180936bcaee9 (+0xece9), pos=52842 (+4366)
   27: WASM [0096ea96], function #169 (''), pc=0x180936bb01fb (+0x27b), pos=48414 (+231)
   28: WASM [0096ea96], function #7733 (''), pc=0x180936729758 (+0xf8), pos=1666470 (+43)
   29: WASM [0096ea96], function #1901 (''), pc=0x180936a94374 (+0x234), pos=540711 (+110)
   30: WASM [0096ea96], function #1905 (''), pc=0x180936a92eb5 (+0x95), pos=542350 (+37)
   31: WASM [0096ea96], function #119 ('mono_wasm_invoke_method'), pc=0x180936bb77e5 (+0x125), pos=39275 (+101)
   32: JsToWasmFrame [pc: 0x32f300082511]
   33: /* anonymous */ [0x32f3082c5c19] [./dotnet.js:12] [bytecode=0x32f3082f1f65 offset=43](this=0x32f308401f7d <JSGlobal Object>#3#)
   34: arguments adaptor frame: 4->0
   35: /* anonymous */ [0x32f30823af25] [./dotnet.js:3] [bytecode=0x32f3082daef1 offset=117](this=0x32f308416b65 <Object map = 0x32f308243349>#4#)
   36: arguments adaptor frame: 4->0
   37: _call_method_with_converted_args(aka _call_method_with_converted_args) [0x32f308418ba9] [./dotnet.js:3] [bytecode=0x32f3082f1cb1 offset=51](this=0x32f30804030d <undefined>,22845976,0,0x32f30844fac9 <Object map = 0x32f308252fa1>#5#,0x32f308040171 <null>,34518512,0x32f3080403e5 <true>,0x32f30804030d <undefined>)
   38: call_method(aka call_method) [0x32f308418b29] [./dotnet.js:3] [bytecode=0x32f3082ef69d offset=214](this=0x32f30804030d <undefined>,22845976,0,0x32f308210125 <String[1]: #m>,0x32f30818a95d <JSArray[1]>#6#)
   39: /* anonymous */(aka /* anonymous */) [0x32f30818a96d] [./dotnet.js:3] [bytecode=0x32f3082edd21 offset=148](this=0x32f30804030d <undefined>)
   40: arguments adaptor frame: 1->0
   41: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0x32f3084167ad] [./dotnet.js:3] [bytecode=0x32f3082ed90d offset=27](this=0x32f30804030d <undefined>,0x32f30841f055 <String[18]: "WasmTestRunner.dll">,0x32f30818a989 <JSArray[1]>#7#,0x32f308210125 <String[1]: #m>)
   42: mono_run_main [0x32f30841650d] [./dotnet.js:3] [bytecode=0x32f3082ed1bd offset=53](this=0x32f308415c8d <Object map = 0x32f30824abe9>#8#,0x32f30841f055 <String[18]: "WasmTestRunner.dll">,0x32f3081820f1 <JSArray[7]>#9#)
   43: init [0x32f3084170a5] [test-main.js:214] [bytecode=0x32f3082ecd3d offset=712](this=0x32f308407259 <Object map = 0x32f308252911>#10#,0x32f30818a9f1 <Object map = 0x32f308252871>#11#)
   44: onDotnetReady [0x32f308420879] [test-main.js:153] [bytecode=0x32f3082ec731 offset=199](this=0x32f308401b25 <Object map = 0x32f30824f419>#12#)
   45: finalize_startup(aka finalize_startup) [0x32f308418fa9] [./dotnet.js:3] [bytecode=0x32f3082e2cc5 offset=512](this=0x32f30804030d <undefined>,0x32f308401ae9 <Object map = 0x32f30824d7f9>#13#)
   46: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0x32f308401b05] [./dotnet.js:3] [bytecode=0x32f3082da041 offset=67](this=0x32f30804030d <undefined>)
   47: arguments adaptor frame: 1->0
   48: callRuntimeCallbacks [0x32f308401b35] [./dotnet.js:12] [bytecode=0x32f3082d6d3d offset=32](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f308401f6d <JSArray[0]>#14#)
   49: postRun [0x32f308401f9d] [./dotnet.js:12] [bytecode=0x32f3082d9ec5 offset=110](this=0x32f308401f7d <JSGlobal Object>#3#)
   50: doRun [0x32f3084209b9] [./dotnet.js:12] [bytecode=0x32f3082d6ef9 offset=91](this=0x32f308401f7d <JSGlobal Object>#3#)
   51: run [0x32f308401fbd] [./dotnet.js:12] [bytecode=0x32f3082c7641 offset=117](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f308401fdd <Arguments map = 0x32f308241d19>#15#)
   52: arguments adaptor frame: 0->1
   53: runCaller [0x32f308401ff1] [./dotnet.js:12] [bytecode=0x32f3082d6b0d offset=13](this=0x32f308401f7d <JSGlobal Object>#3#)
   54: removeRunDependency [0x32f308402011] [./dotnet.js:12] [bytecode=0x32f3082d148d offset=76](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f3082c4f2d <String[16]: #wasm-instantiate>)
   55: receiveInstance [0x32f308402031] [./dotnet.js:12] [bytecode=0x32f3082d6809 offset=118](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f3082d375d <Instance map = 0x32f308244a69>#16#,0x32f30804030d <undefined>)
   56: arguments adaptor frame: 1->2
   57: receiveInstantiationResult [0x32f308402071] [./dotnet.js:12] [bytecode=0x32f3082d676d offset=10](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f308420a09 <Object map = 0x32f30824eab9>#17#)
   58: StubFrame [pc: 0x5602041bcef8]
   59: StubFrame [pc: 0x560204128f24]
   60: EntryFrame [pc: 0x5602041068f8]
=====================

* Assertion: should not be reached at /__w/1/s/src/mono/mono/metadata/class-accessors.c:92

Process v8 exited with 1
@radical radical added the arch-wasm WebAssembly architecture label Feb 3, 2022
@ghost
Copy link

ghost commented Feb 3, 2022

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

Issue Details

Hit on #64759 .

Note that this was on a EAT build, but I can't confirm whether it passes for a regular one or not, as runtime-extra-platforms only ran EAT.

Build, and Log

* Assertion: should not be reached at /__w/1/s/src/mono/mono/metadata/class-accessors.c:92


==== JS stack trace =========================================

Security context: 0x32f30820dca9 <JSObject>#0#
    0: builtin exit frame: trace(this=0x32f308203701 <console map = 0x32f308240919>#1#,0x32f30850fd05 <String[91]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/metadata/class-accessors.c:92\n">,0x32f308203701 <console map = 0x32f308240919>#1#)

    1: mono_wasm_trace_logger [0x32f3084181cd] [./dotnet.js:3] [bytecode=0x32f308221111 offset=153](this=0x32f3084072d9 <Object map = 0x32f3082469f9>#2#,0,20652,86931008,4,0)
    2: _mono_wasm_trace_logger [0x32f3084085bd] [./dotnet.js:12] [bytecode=0x32f308221019 offset=31](this=0x32f308401f7d <JSGlobal Object>#3#)
    3: arguments adaptor frame: 5->0
    4: WasmToJsFrame [pc: 0x180936bba75b]
    5: WASM [0096ea96], function #112 (''), pc=0x18093710665f (+0x3f), pos=38820 (+11)
    6: WASM [0096ea96], function #2507 (''), pc=0x180936fbce23 (+0xa3), pos=667134 (+39)
    7: WASM [0096ea96], function #8423 (''), pc=0x180936cd1c18 (+0xf8), pos=1801077 (+97)
    8: WASM [0096ea96], function #8426 (''), pc=0x180936cd1907 (+0x47), pos=1801220 (+31)
    9: WASM [0096ea96], function #8429 (''), pc=0x180936cd171b (+0x3b), pos=1801325 (+32)
   10: WASM [0096ea96], function #715 (''), pc=0x1809370b6882 (+0x122), pos=267719 (+160)
   11: WASM [0096ea96], function #654 (''), pc=0x1809370c76c6 (+0x106), pos=242817 (+110)
   12: WASM [0096ea96], function #653 (''), pc=0x1809370c7b6d (+0x10d), pos=242627 (+114)
   13: WASM [0096ea96], function #651 (''), pc=0x1809370c7de8 (+0x48), pos=242473 (+11)
   14: WASM [0096ea96], function #346 (''), pc=0x180936c828af (+0x5af), pos=154645 (+613)
   15: WASM [0096ea96], function #328 (''), pc=0x180936bdf206 (+0x60e6), pos=128681 (+8472)
   16: WASM [0096ea96], function #380 (''), pc=0x180936bfd7fe (+0x11be), pos=166274 (+2125)
   17: WASM [0096ea96], function #224 (''), pc=0x1809370fa3dc (+0x9c), pos=108710 (+51)
   18: WASM [0096ea96], function #170 (''), pc=0x180936bcb090 (+0xee90), pos=101358 (+52882)
   19: WASM [0096ea96], function #169 (''), pc=0x1809370ffbf3 (+0x1f3), pos=48414 (+231)
   20: WASM [0096ea96], function #7733 (''), pc=0x180936d26542 (+0x1162), pos=1666470 (+43)
   21: WASM [0096ea96], function #1901 (''), pc=0x18093700feab (+0x1eb), pos=540711 (+110)
   22: WASM [0096ea96], function #1899 (''), pc=0x180937010178 (+0x38), pos=540569 (+39)
   23: WASM [0096ea96], function #1262 (''), pc=0x18093706848a (+0x11ea), pos=414424 (+1945)
   24: WASM [0096ea96], function #259 (''), pc=0x1809370f745c (+0x53c), pos=112424 (+253)
   25: WASM [0096ea96], function #230 (''), pc=0x1809370f9746 (+0x106), pos=109930 (+272)
   26: WASM [0096ea96], function #170 (''), pc=0x180936bcaee9 (+0xece9), pos=52842 (+4366)
   27: WASM [0096ea96], function #169 (''), pc=0x180936bb01fb (+0x27b), pos=48414 (+231)
   28: WASM [0096ea96], function #7733 (''), pc=0x180936729758 (+0xf8), pos=1666470 (+43)
   29: WASM [0096ea96], function #1901 (''), pc=0x180936a94374 (+0x234), pos=540711 (+110)
   30: WASM [0096ea96], function #1905 (''), pc=0x180936a92eb5 (+0x95), pos=542350 (+37)
   31: WASM [0096ea96], function #119 ('mono_wasm_invoke_method'), pc=0x180936bb77e5 (+0x125), pos=39275 (+101)
   32: JsToWasmFrame [pc: 0x32f300082511]
   33: /* anonymous */ [0x32f3082c5c19] [./dotnet.js:12] [bytecode=0x32f3082f1f65 offset=43](this=0x32f308401f7d <JSGlobal Object>#3#)
   34: arguments adaptor frame: 4->0
   35: /* anonymous */ [0x32f30823af25] [./dotnet.js:3] [bytecode=0x32f3082daef1 offset=117](this=0x32f308416b65 <Object map = 0x32f308243349>#4#)
   36: arguments adaptor frame: 4->0
   37: _call_method_with_converted_args(aka _call_method_with_converted_args) [0x32f308418ba9] [./dotnet.js:3] [bytecode=0x32f3082f1cb1 offset=51](this=0x32f30804030d <undefined>,22845976,0,0x32f30844fac9 <Object map = 0x32f308252fa1>#5#,0x32f308040171 <null>,34518512,0x32f3080403e5 <true>,0x32f30804030d <undefined>)
   38: call_method(aka call_method) [0x32f308418b29] [./dotnet.js:3] [bytecode=0x32f3082ef69d offset=214](this=0x32f30804030d <undefined>,22845976,0,0x32f308210125 <String[1]: #m>,0x32f30818a95d <JSArray[1]>#6#)
   39: /* anonymous */(aka /* anonymous */) [0x32f30818a96d] [./dotnet.js:3] [bytecode=0x32f3082edd21 offset=148](this=0x32f30804030d <undefined>)
   40: arguments adaptor frame: 1->0
   41: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0x32f3084167ad] [./dotnet.js:3] [bytecode=0x32f3082ed90d offset=27](this=0x32f30804030d <undefined>,0x32f30841f055 <String[18]: "WasmTestRunner.dll">,0x32f30818a989 <JSArray[1]>#7#,0x32f308210125 <String[1]: #m>)
   42: mono_run_main [0x32f30841650d] [./dotnet.js:3] [bytecode=0x32f3082ed1bd offset=53](this=0x32f308415c8d <Object map = 0x32f30824abe9>#8#,0x32f30841f055 <String[18]: "WasmTestRunner.dll">,0x32f3081820f1 <JSArray[7]>#9#)
   43: init [0x32f3084170a5] [test-main.js:214] [bytecode=0x32f3082ecd3d offset=712](this=0x32f308407259 <Object map = 0x32f308252911>#10#,0x32f30818a9f1 <Object map = 0x32f308252871>#11#)
   44: onDotnetReady [0x32f308420879] [test-main.js:153] [bytecode=0x32f3082ec731 offset=199](this=0x32f308401b25 <Object map = 0x32f30824f419>#12#)
   45: finalize_startup(aka finalize_startup) [0x32f308418fa9] [./dotnet.js:3] [bytecode=0x32f3082e2cc5 offset=512](this=0x32f30804030d <undefined>,0x32f308401ae9 <Object map = 0x32f30824d7f9>#13#)
   46: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0x32f308401b05] [./dotnet.js:3] [bytecode=0x32f3082da041 offset=67](this=0x32f30804030d <undefined>)
   47: arguments adaptor frame: 1->0
   48: callRuntimeCallbacks [0x32f308401b35] [./dotnet.js:12] [bytecode=0x32f3082d6d3d offset=32](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f308401f6d <JSArray[0]>#14#)
   49: postRun [0x32f308401f9d] [./dotnet.js:12] [bytecode=0x32f3082d9ec5 offset=110](this=0x32f308401f7d <JSGlobal Object>#3#)
   50: doRun [0x32f3084209b9] [./dotnet.js:12] [bytecode=0x32f3082d6ef9 offset=91](this=0x32f308401f7d <JSGlobal Object>#3#)
   51: run [0x32f308401fbd] [./dotnet.js:12] [bytecode=0x32f3082c7641 offset=117](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f308401fdd <Arguments map = 0x32f308241d19>#15#)
   52: arguments adaptor frame: 0->1
   53: runCaller [0x32f308401ff1] [./dotnet.js:12] [bytecode=0x32f3082d6b0d offset=13](this=0x32f308401f7d <JSGlobal Object>#3#)
   54: removeRunDependency [0x32f308402011] [./dotnet.js:12] [bytecode=0x32f3082d148d offset=76](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f3082c4f2d <String[16]: #wasm-instantiate>)
   55: receiveInstance [0x32f308402031] [./dotnet.js:12] [bytecode=0x32f3082d6809 offset=118](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f3082d375d <Instance map = 0x32f308244a69>#16#,0x32f30804030d <undefined>)
   56: arguments adaptor frame: 1->2
   57: receiveInstantiationResult [0x32f308402071] [./dotnet.js:12] [bytecode=0x32f3082d676d offset=10](this=0x32f308401f7d <JSGlobal Object>#3#,0x32f308420a09 <Object map = 0x32f30824eab9>#17#)
   58: StubFrame [pc: 0x5602041bcef8]
   59: StubFrame [pc: 0x560204128f24]
   60: EntryFrame [pc: 0x5602041068f8]
=====================

* Assertion: should not be reached at /__w/1/s/src/mono/mono/metadata/class-accessors.c:92

Process v8 exited with 1
Author: radical
Assignees: -
Labels:

arch-wasm

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Feb 3, 2022
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@lewing lewing added this to the 7.0.0 milestone Feb 3, 2022
radical added a commit to radical/runtime that referenced this issue Feb 4, 2022
System.Linq.Tests: dotnet#64774
System.Text.Json.Tests: dotnet#64775
radical added a commit that referenced this issue Feb 4, 2022
* [wasm][aot] Disable failing tests

`Microsoft.Extensions.HostFactoryResolver.Tests`: #64724
`Microsoft.Extensions.Logging.Tests`: #64725

* [wasm][aot] Disable `System.Text.Json.SourceGeneration.Roslyn3.11.Unit.Tests`

.. on linux.

Fixes #64762 .
Real issue being tracked in #61339

* disable failing nodejs samples

* [wasm] Disable more failing tests

System.Linq.Tests: #64774
System.Text.Json.Tests: #64775

* Disable System.Text.RegularExpressions.Tests due to issue#64769
@radical radical added the disabled-test The test is disabled in source code against the issue label Feb 4, 2022
radical added a commit to radekdoulik/runtime that referenced this issue Feb 17, 2022
System.Linq.Tests.csproj: dotnet#64774

System.Text.Json.Tests.csproj: dotnet#64775

System.Text.RegularExpressions.Tests.csproj: dotnet#64769

System.Threading.Channels.Tests.csproj: dotnet#65012

System.Collections.Immutable.Tests.csproj: dotnet#65335
@radical
Copy link
Member Author

radical commented Feb 18, 2022

This started with the 2.0.34 bump, which has been rolled back now.

@radical radical closed this as completed Feb 18, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono disabled-test The test is disabled in source code against the issue untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants