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] Interpreter assertion in JIT/Methodical/NaN/r4NaNconv_il_r/r4NaNconv_il_r.sh- src/mono/mono/mini/interp/transform.c:5917 #65681

Closed
radical opened this issue Feb 21, 2022 · 4 comments · Fixed by #65697
Labels
arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner

Comments

@radical
Copy link
Member

radical commented Feb 21, 2022

Hit on #65628 though the runtime tests are not using the randomized test orderer.

Build, and log.

It was hit on a rolling build too.

    JIT/Methodical/NaN/r4NaNconv_il_r/r4NaNconv_il_r.sh [FAIL]
      
      ==== JS stack trace =========================================
      
      Security context: 0x0e660820dca9 <JSObject>#0#
          0: builtin exit frame: trace(this=0x0e6608203701 <console map = 0xe6608240919>#1#,0x0e66080848a9 <String[90]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/transform.c:5917\n">,0x0e6608203701 <console map = 0xe6608240919>#1#)
      
          1: mono_wasm_trace_logger [0xe6608418e21] [./dotnet.js:3] [bytecode=0xe6608460f69 offset=153](this=0x0e6608407649 <Object map = 0xe6608246a21>#2#,0,20624,42049704,4,0)
          2: _mono_wasm_trace_logger [0xe660840894d] [./dotnet.js:13] [bytecode=0xe6608460e71 offset=31](this=0x0e6608401f55 <JSGlobal Object>#3#)
          3: arguments adaptor frame: 5->0
          4: WasmToJsFrame [pc: 0x176ddf286dfb]
          5: WASM [00974e86], function #118 (''), pc=0x176ddf284873 (+0x53), pos=38761 (+11)
          6: WASM [00974e86], function #2515 (''), pc=0x176ddf0ffc5b (+0xdb), pos=668787 (+39)
          7: WASM [00974e86], function #8431 (''), pc=0x176dded8df3f (+0x17f), pos=1806863 (+97)
          8: WASM [00974e86], function #8434 (''), pc=0x176dded8dbc6 (+0x66), pos=1807006 (+31)
          9: WASM [00974e86], function #8437 (''), pc=0x176dded8d9cd (+0x6d), pos=1807111 (+32)
         10: WASM [00974e86], function #335 (''), pc=0x176ddf2b52c4 (+0xf984), pos=136513 (+15984)
         11: WASM [00974e86], function #387 (''), pc=0x176ddec86ec2 (+0x16a2), pos=166652 (+2128)
         12: WASM [00974e86], function #231 (''), pc=0x176ddf275bee (+0xae), pos=109024 (+51)
         13: WASM [00974e86], function #177 (''), pc=0x176ddf2977c3 (+0xef23), pos=101528 (+53017)
         14: WASM [00974e86], function #176 (''), pc=0x176ddf27c7d1 (+0x291), pos=48437 (+252)
         15: WASM [00974e86], function #7744 (''), pc=0x176ddedf1e98 (+0xf8), pos=1671889 (+43)
         16: WASM [00974e86], function #1909 (''), pc=0x176ddf1600f4 (+0x234), pos=542312 (+110)
         17: WASM [00974e86], function #1913 (''), pc=0x176ddf15ec55 (+0x95), pos=543957 (+37)
         18: WASM [00974e86], function #125 ('mono_wasm_invoke_method'), pc=0x176ddf283ec5 (+0x125), pos=39216 (+101)
         19: JsToWasmFrame [pc: 0xe6600082511]
         20: /* anonymous */ [0xe66082ceecd] [./dotnet.js:13] [bytecode=0xe660845ffbd offset=43](this=0x0e6608401f55 <JSGlobal Object>#3#)
         21: arguments adaptor frame: 4->0
         22: /* anonymous */ [0xe66082c4279] [./dotnet.js:3] [bytecode=0xe66082dc509 offset=117](this=0x0e66084176a1 <Object map = 0xe6608243349>#4#)
         23: arguments adaptor frame: 4->0
         24: _call_method_with_converted_args(aka _call_method_with_converted_args) [0xe66084197fd] [./dotnet.js:3] [bytecode=0xe660845fd09 offset=51](this=0x0e660804030d <undefined>,41276688,0,0x0e660844bb21 <Object map = 0xe66082544e1>#5#,0x0e6608040171 <null>,41282264,0x0e66080403e5 <true>,0x0e660804030d <undefined>)
         25: call_method(aka call_method) [0xe660841977d] [./dotnet.js:3] [bytecode=0xe660845d605 offset=214](this=0x0e660804030d <undefined>,41276688,0,0x0e6608210185 <String[1]: #m>,0x0e660818afc1 <JSArray[1]>#6#)
         26: /* anonymous */(aka /* anonymous */) [0xe660818bcb5] [./dotnet.js:3] [bytecode=0xe660845c5a1 offset=148](this=0x0e660804030d <undefined>)
         27: arguments adaptor frame: 1->0
         28: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0xe66084172e9] [./dotnet.js:3] [bytecode=0xe660845c1ad offset=27](this=0x0e660804030d <undefined>,0x0e6608420249 <String[18]: "r4NaNconv_il_r.dll">,0x0e660818c8b5 <JSArray[1]>#7#,0x0e6608210185 <String[1]: #m>)
         29: mono_run_main [0xe66084170b5] [./dotnet.js:3] [bytecode=0xe660845ba49 offset=55](this=0x0e66084167c9 <Object map = 0xe660824c151>#8#,0x0e6608420249 <String[18]: "r4NaNconv_il_r.dll">,0x0e660818cfed <JSArray[0]>#9#)
         30: init [0xe6608417be1] [test-main.js:218] [bytecode=0xe660845b5b5 offset=712](this=0x0e66084075c9 <Object map = 0xe6608253e51>#10#,0x0e660818bf1d <Object map = 0xe6608253db1>#11#)
         31: onDotnetReady [0xe6608421955] [test-main.js:157] [bytecode=0xe660845ac95 offset=199](this=0x0e6608401b1d <Object map = 0xe6608250981>#12#)
         32: finalize_startup(aka finalize_startup) [0xe6608419bfd] [./dotnet.js:3] [bytecode=0xe660845227d offset=512](this=0x0e660804030d <undefined>,0x0e6608401ae1 <Object map = 0xe660824ee79>#13#)
         33: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0xe6608401afd] [./dotnet.js:3] [bytecode=0xe66082db591 offset=67](this=0x0e660804030d <undefined>)
         34: arguments adaptor frame: 1->0
         35: callRuntimeCallbacks [0xe6608401b2d] [./dotnet.js:13] [bytecode=0xe66082d7fd1 offset=32](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e6608401f45 <JSArray[0]>#14#)
         36: postRun [0xe6608401f75] [./dotnet.js:13] [bytecode=0xe66082db415 offset=110](this=0x0e6608401f55 <JSGlobal Object>#3#)
         37: doRun [0xe6608421aad] [./dotnet.js:13] [bytecode=0xe66082d81a1 offset=91](this=0x0e6608401f55 <JSGlobal Object>#3#)
         38: run [0xe6608401f95] [./dotnet.js:13] [bytecode=0xe66082d090d offset=117](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e6608401fb5 <Arguments map = 0xe6608241d19>#15#)
         39: arguments adaptor frame: 0->1
         40: runCaller [0xe6608401fc9] [./dotnet.js:13] [bytecode=0xe66082d7d9d offset=11](this=0x0e6608401f55 <JSGlobal Object>#3#)
         41: removeRunDependency [0xe6608401fe9] [./dotnet.js:13] [bytecode=0xe66082d272d offset=76](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e66082ce2e5 <String[16]: #wasm-instantiate>)
         42: receiveInstance [0xe6608402009] [./dotnet.js:13] [bytecode=0xe66082d7a99 offset=118](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e66082d4a05 <Instance map = 0xe6608244a69>#16#,0x0e660804030d <undefined>)
         43: arguments adaptor frame: 1->2
         44: receiveInstantiationResult [0xe6608402049] [./dotnet.js:13] [bytecode=0xe66082d79fd offset=10](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e6608421afd <Object map = 0xe6608250139>#17#)
         45: StubFrame [pc: 0x55b0f55adef8]
         46: StubFrame [pc: 0x55b0f5519f24]
         47: EntryFrame [pc: 0x55b0f54f78f8]

And JIT/Methodical/NaN/r4NaNconv_il_d/r4NaNconv_il_d.sh:

    JIT/Methodical/NaN/r4NaNconv_il_d/r4NaNconv_il_d.sh [FAIL]
      
      ==== JS stack trace =========================================
      
      Security context: 0x29200820dca9 <JSObject>#0#
          0: builtin exit frame: trace(this=0x292008203701 <console map = 0x292008240919>#1#,0x2920080af9b5 <String[90]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/transform.c:5917\n">,0x292008203701 <console map = 0x292008240919>#1#)
      
          1: mono_wasm_trace_logger [0x292008418e21] [./dotnet.js:3] [bytecode=0x292008460599 offset=153](this=0x292008407649 <Object map = 0x292008246a21>#2#,0,20624,42049704,4,0)
          2: _mono_wasm_trace_logger [0x29200840894d] [./dotnet.js:13] [bytecode=0x2920084604a1 offset=31](this=0x292008401f55 <JSGlobal Object>#3#)
          3: arguments adaptor frame: 5->0
          4: WasmToJsFrame [pc: 0x388a69b3adfb]
          5: WASM [00974e86], function #118 (''), pc=0x388a69b38873 (+0x53), pos=38761 (+11)
          6: WASM [00974e86], function #2515 (''), pc=0x388a699b3c5b (+0xdb), pos=668787 (+39)
          7: WASM [00974e86], function #8431 (''), pc=0x388a69641f3f (+0x17f), pos=1806863 (+97)
          8: WASM [00974e86], function #8434 (''), pc=0x388a69641bc6 (+0x66), pos=1807006 (+31)
          9: WASM [00974e86], function #8437 (''), pc=0x388a696419cd (+0x6d), pos=1807111 (+32)
         10: WASM [00974e86], function #335 (''), pc=0x388a69b692c4 (+0xf984), pos=136513 (+15984)
         11: WASM [00974e86], function #387 (''), pc=0x388a69b7df8e (+0x11ae), pos=166652 (+2128)
         12: WASM [00974e86], function #231 (''), pc=0x388a69b29bee (+0xae), pos=109024 (+51)
         13: WASM [00974e86], function #177 (''), pc=0x388a69b4b7c3 (+0xef23), pos=101528 (+53017)
         14: WASM [00974e86], function #176 (''), pc=0x388a69b307d1 (+0x291), pos=48437 (+252)
         15: WASM [00974e86], function #7744 (''), pc=0x388a696a5e98 (+0xf8), pos=1671889 (+43)
         16: WASM [00974e86], function #1909 (''), pc=0x388a69a140f4 (+0x234), pos=542312 (+110)
         17: WASM [00974e86], function #1913 (''), pc=0x388a69a12c55 (+0x95), pos=543957 (+37)
         18: WASM [00974e86], function #125 ('mono_wasm_invoke_method'), pc=0x388a69b37ec5 (+0x125), pos=39216 (+101)
         19: JsToWasmFrame [pc: 0x292000082511]
         20: /* anonymous */ [0x2920082ceecd] [./dotnet.js:13] [bytecode=0x29200845c9f5 offset=43](this=0x292008401f55 <JSGlobal Object>#3#)
         21: arguments adaptor frame: 4->0
         22: /* anonymous */ [0x2920082c4279] [./dotnet.js:3] [bytecode=0x2920082dc509 offset=117](this=0x2920084176a1 <Object map = 0x292008243349>#4#)
         23: arguments adaptor frame: 4->0
         24: _call_method_with_converted_args(aka _call_method_with_converted_args) [0x2920084197fd] [./dotnet.js:3] [bytecode=0x29200845c741 offset=51](this=0x29200804030d <undefined>,41276688,0,0x29200808455d <Object map = 0x292008254491>#5#,0x292008040171 <null>,41282264,0x2920080403e5 <true>,0x29200804030d <undefined>)
         25: call_method(aka call_method) [0x29200841977d] [./dotnet.js:3] [bytecode=0x29200845a03d offset=214](this=0x29200804030d <undefined>,41276688,0,0x292008210185 <String[1]: #m>,0x292008080175 <JSArray[1]>#6#)
         26: /* anonymous */(aka /* anonymous */) [0x292008080185] [./dotnet.js:3] [bytecode=0x292008458fd9 offset=148](this=0x29200804030d <undefined>)
         27: arguments adaptor frame: 1->0
         28: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0x2920084172e9] [./dotnet.js:3] [bytecode=0x292008458be5 offset=27](this=0x29200804030d <undefined>,0x292008420249 <String[18]: "r4NaNconv_il_d.dll">,0x2920080801a1 <JSArray[1]>#7#,0x292008210185 <String[1]: #m>)
         29: mono_run_main [0x29200841714d] [./dotnet.js:3] [bytecode=0x292008458481 offset=55](this=0x2920084167c9 <Object map = 0x29200824c151>#8#,0x292008420249 <String[18]: "r4NaNconv_il_d.dll">,0x292008080121 <JSArray[0]>#9#)
         30: init [0x292008417be1] [test-main.js:218] [bytecode=0x292008457fed offset=712](this=0x2920084075c9 <Object map = 0x292008253e01>#10#,0x292008080209 <Object map = 0x292008253d61>#11#)
         31: onDotnetReady [0x292008421955] [test-main.js:157] [bytecode=0x2920084576cd offset=199](this=0x292008401b1d <Object map = 0x292008250981>#12#)
         32: finalize_startup(aka finalize_startup) [0x292008419bfd] [./dotnet.js:3] [bytecode=0x292008452f61 offset=512](this=0x29200804030d <undefined>,0x292008401ae1 <Object map = 0x29200824ee79>#13#)
         33: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0x292008401afd] [./dotnet.js:3] [bytecode=0x2920082db591 offset=67](this=0x29200804030d <undefined>)
         34: arguments adaptor frame: 1->0
         35: callRuntimeCallbacks [0x292008401b2d] [./dotnet.js:13] [bytecode=0x2920082d7fd1 offset=32](this=0x292008401f55 <JSGlobal Object>#3#,0x292008401f45 <JSArray[0]>#14#)
         36: postRun [0x292008401f75] [./dotnet.js:13] [bytecode=0x2920082db415 offset=110](this=0x292008401f55 <JSGlobal Object>#3#)
         37: doRun [0x292008421aad] [./dotnet.js:13] [bytecode=0x2920082d81a1 offset=91](this=0x292008401f55 <JSGlobal Object>#3#)
         38: run [0x292008401f95] [./dotnet.js:13] [bytecode=0x2920082d090d offset=117](this=0x292008401f55 <JSGlobal Object>#3#,0x292008401fb5 <Arguments map = 0x292008241d19>#15#)
         39: arguments adaptor frame: 0->1
         40: runCaller [0x292008401fc9] [./dotnet.js:13] [bytecode=0x2920082d7d9d offset=11](this=0x292008401f55 <JSGlobal Object>#3#)
         41: removeRunDependency [0x292008401fe9] [./dotnet.js:13] [bytecode=0x2920082d272d offset=76](this=0x292008401f55 <JSGlobal Object>#3#,0x2920082ce2e5 <String[16]: #wasm-instantiate>)
         42: receiveInstance [0x292008402009] [./dotnet.js:13] [bytecode=0x2920082d7a99 offset=118](this=0x292008401f55 <JSGlobal Object>#3#,0x2920082d4a05 <Instance map = 0x292008244a69>#16#,0x29200804030d <undefined>)
         43: arguments adaptor frame: 1->2
         44: receiveInstantiationResult [0x292008402049] [./dotnet.js:13] [bytecode=0x2920082d79fd offset=10](this=0x292008401f55 <JSGlobal Object>#3#,0x292008421afd <Object map = 0x292008250139>#17#)
         45: StubFrame [pc: 0x55a345213ef8]
         46: StubFrame [pc: 0x55a34517ff24]
         47: EntryFrame [pc: 0x55a34515d8f8]
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Feb 21, 2022
@ghost
Copy link

ghost commented Feb 21, 2022

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

Issue Details

Hit on #65628 .

Build, and log.

It was hit on a rolling build too.

    JIT/Methodical/NaN/r4NaNconv_il_r/r4NaNconv_il_r.sh [FAIL]
      
      ==== JS stack trace =========================================
      
      Security context: 0x0e660820dca9 <JSObject>#0#
          0: builtin exit frame: trace(this=0x0e6608203701 <console map = 0xe6608240919>#1#,0x0e66080848a9 <String[90]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/transform.c:5917\n">,0x0e6608203701 <console map = 0xe6608240919>#1#)
      
          1: mono_wasm_trace_logger [0xe6608418e21] [./dotnet.js:3] [bytecode=0xe6608460f69 offset=153](this=0x0e6608407649 <Object map = 0xe6608246a21>#2#,0,20624,42049704,4,0)
          2: _mono_wasm_trace_logger [0xe660840894d] [./dotnet.js:13] [bytecode=0xe6608460e71 offset=31](this=0x0e6608401f55 <JSGlobal Object>#3#)
          3: arguments adaptor frame: 5->0
          4: WasmToJsFrame [pc: 0x176ddf286dfb]
          5: WASM [00974e86], function #118 (''), pc=0x176ddf284873 (+0x53), pos=38761 (+11)
          6: WASM [00974e86], function #2515 (''), pc=0x176ddf0ffc5b (+0xdb), pos=668787 (+39)
          7: WASM [00974e86], function #8431 (''), pc=0x176dded8df3f (+0x17f), pos=1806863 (+97)
          8: WASM [00974e86], function #8434 (''), pc=0x176dded8dbc6 (+0x66), pos=1807006 (+31)
          9: WASM [00974e86], function #8437 (''), pc=0x176dded8d9cd (+0x6d), pos=1807111 (+32)
         10: WASM [00974e86], function #335 (''), pc=0x176ddf2b52c4 (+0xf984), pos=136513 (+15984)
         11: WASM [00974e86], function #387 (''), pc=0x176ddec86ec2 (+0x16a2), pos=166652 (+2128)
         12: WASM [00974e86], function #231 (''), pc=0x176ddf275bee (+0xae), pos=109024 (+51)
         13: WASM [00974e86], function #177 (''), pc=0x176ddf2977c3 (+0xef23), pos=101528 (+53017)
         14: WASM [00974e86], function #176 (''), pc=0x176ddf27c7d1 (+0x291), pos=48437 (+252)
         15: WASM [00974e86], function #7744 (''), pc=0x176ddedf1e98 (+0xf8), pos=1671889 (+43)
         16: WASM [00974e86], function #1909 (''), pc=0x176ddf1600f4 (+0x234), pos=542312 (+110)
         17: WASM [00974e86], function #1913 (''), pc=0x176ddf15ec55 (+0x95), pos=543957 (+37)
         18: WASM [00974e86], function #125 ('mono_wasm_invoke_method'), pc=0x176ddf283ec5 (+0x125), pos=39216 (+101)
         19: JsToWasmFrame [pc: 0xe6600082511]
         20: /* anonymous */ [0xe66082ceecd] [./dotnet.js:13] [bytecode=0xe660845ffbd offset=43](this=0x0e6608401f55 <JSGlobal Object>#3#)
         21: arguments adaptor frame: 4->0
         22: /* anonymous */ [0xe66082c4279] [./dotnet.js:3] [bytecode=0xe66082dc509 offset=117](this=0x0e66084176a1 <Object map = 0xe6608243349>#4#)
         23: arguments adaptor frame: 4->0
         24: _call_method_with_converted_args(aka _call_method_with_converted_args) [0xe66084197fd] [./dotnet.js:3] [bytecode=0xe660845fd09 offset=51](this=0x0e660804030d <undefined>,41276688,0,0x0e660844bb21 <Object map = 0xe66082544e1>#5#,0x0e6608040171 <null>,41282264,0x0e66080403e5 <true>,0x0e660804030d <undefined>)
         25: call_method(aka call_method) [0xe660841977d] [./dotnet.js:3] [bytecode=0xe660845d605 offset=214](this=0x0e660804030d <undefined>,41276688,0,0x0e6608210185 <String[1]: #m>,0x0e660818afc1 <JSArray[1]>#6#)
         26: /* anonymous */(aka /* anonymous */) [0xe660818bcb5] [./dotnet.js:3] [bytecode=0xe660845c5a1 offset=148](this=0x0e660804030d <undefined>)
         27: arguments adaptor frame: 1->0
         28: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0xe66084172e9] [./dotnet.js:3] [bytecode=0xe660845c1ad offset=27](this=0x0e660804030d <undefined>,0x0e6608420249 <String[18]: "r4NaNconv_il_r.dll">,0x0e660818c8b5 <JSArray[1]>#7#,0x0e6608210185 <String[1]: #m>)
         29: mono_run_main [0xe66084170b5] [./dotnet.js:3] [bytecode=0xe660845ba49 offset=55](this=0x0e66084167c9 <Object map = 0xe660824c151>#8#,0x0e6608420249 <String[18]: "r4NaNconv_il_r.dll">,0x0e660818cfed <JSArray[0]>#9#)
         30: init [0xe6608417be1] [test-main.js:218] [bytecode=0xe660845b5b5 offset=712](this=0x0e66084075c9 <Object map = 0xe6608253e51>#10#,0x0e660818bf1d <Object map = 0xe6608253db1>#11#)
         31: onDotnetReady [0xe6608421955] [test-main.js:157] [bytecode=0xe660845ac95 offset=199](this=0x0e6608401b1d <Object map = 0xe6608250981>#12#)
         32: finalize_startup(aka finalize_startup) [0xe6608419bfd] [./dotnet.js:3] [bytecode=0xe660845227d offset=512](this=0x0e660804030d <undefined>,0x0e6608401ae1 <Object map = 0xe660824ee79>#13#)
         33: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0xe6608401afd] [./dotnet.js:3] [bytecode=0xe66082db591 offset=67](this=0x0e660804030d <undefined>)
         34: arguments adaptor frame: 1->0
         35: callRuntimeCallbacks [0xe6608401b2d] [./dotnet.js:13] [bytecode=0xe66082d7fd1 offset=32](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e6608401f45 <JSArray[0]>#14#)
         36: postRun [0xe6608401f75] [./dotnet.js:13] [bytecode=0xe66082db415 offset=110](this=0x0e6608401f55 <JSGlobal Object>#3#)
         37: doRun [0xe6608421aad] [./dotnet.js:13] [bytecode=0xe66082d81a1 offset=91](this=0x0e6608401f55 <JSGlobal Object>#3#)
         38: run [0xe6608401f95] [./dotnet.js:13] [bytecode=0xe66082d090d offset=117](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e6608401fb5 <Arguments map = 0xe6608241d19>#15#)
         39: arguments adaptor frame: 0->1
         40: runCaller [0xe6608401fc9] [./dotnet.js:13] [bytecode=0xe66082d7d9d offset=11](this=0x0e6608401f55 <JSGlobal Object>#3#)
         41: removeRunDependency [0xe6608401fe9] [./dotnet.js:13] [bytecode=0xe66082d272d offset=76](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e66082ce2e5 <String[16]: #wasm-instantiate>)
         42: receiveInstance [0xe6608402009] [./dotnet.js:13] [bytecode=0xe66082d7a99 offset=118](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e66082d4a05 <Instance map = 0xe6608244a69>#16#,0x0e660804030d <undefined>)
         43: arguments adaptor frame: 1->2
         44: receiveInstantiationResult [0xe6608402049] [./dotnet.js:13] [bytecode=0xe66082d79fd offset=10](this=0x0e6608401f55 <JSGlobal Object>#3#,0x0e6608421afd <Object map = 0xe6608250139>#17#)
         45: StubFrame [pc: 0x55b0f55adef8]
         46: StubFrame [pc: 0x55b0f5519f24]
         47: EntryFrame [pc: 0x55b0f54f78f8]

And JIT/Methodical/NaN/r4NaNconv_il_d/r4NaNconv_il_d.sh:

    JIT/Methodical/NaN/r4NaNconv_il_d/r4NaNconv_il_d.sh [FAIL]
      
      ==== JS stack trace =========================================
      
      Security context: 0x29200820dca9 <JSObject>#0#
          0: builtin exit frame: trace(this=0x292008203701 <console map = 0x292008240919>#1#,0x2920080af9b5 <String[90]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/transform.c:5917\n">,0x292008203701 <console map = 0x292008240919>#1#)
      
          1: mono_wasm_trace_logger [0x292008418e21] [./dotnet.js:3] [bytecode=0x292008460599 offset=153](this=0x292008407649 <Object map = 0x292008246a21>#2#,0,20624,42049704,4,0)
          2: _mono_wasm_trace_logger [0x29200840894d] [./dotnet.js:13] [bytecode=0x2920084604a1 offset=31](this=0x292008401f55 <JSGlobal Object>#3#)
          3: arguments adaptor frame: 5->0
          4: WasmToJsFrame [pc: 0x388a69b3adfb]
          5: WASM [00974e86], function #118 (''), pc=0x388a69b38873 (+0x53), pos=38761 (+11)
          6: WASM [00974e86], function #2515 (''), pc=0x388a699b3c5b (+0xdb), pos=668787 (+39)
          7: WASM [00974e86], function #8431 (''), pc=0x388a69641f3f (+0x17f), pos=1806863 (+97)
          8: WASM [00974e86], function #8434 (''), pc=0x388a69641bc6 (+0x66), pos=1807006 (+31)
          9: WASM [00974e86], function #8437 (''), pc=0x388a696419cd (+0x6d), pos=1807111 (+32)
         10: WASM [00974e86], function #335 (''), pc=0x388a69b692c4 (+0xf984), pos=136513 (+15984)
         11: WASM [00974e86], function #387 (''), pc=0x388a69b7df8e (+0x11ae), pos=166652 (+2128)
         12: WASM [00974e86], function #231 (''), pc=0x388a69b29bee (+0xae), pos=109024 (+51)
         13: WASM [00974e86], function #177 (''), pc=0x388a69b4b7c3 (+0xef23), pos=101528 (+53017)
         14: WASM [00974e86], function #176 (''), pc=0x388a69b307d1 (+0x291), pos=48437 (+252)
         15: WASM [00974e86], function #7744 (''), pc=0x388a696a5e98 (+0xf8), pos=1671889 (+43)
         16: WASM [00974e86], function #1909 (''), pc=0x388a69a140f4 (+0x234), pos=542312 (+110)
         17: WASM [00974e86], function #1913 (''), pc=0x388a69a12c55 (+0x95), pos=543957 (+37)
         18: WASM [00974e86], function #125 ('mono_wasm_invoke_method'), pc=0x388a69b37ec5 (+0x125), pos=39216 (+101)
         19: JsToWasmFrame [pc: 0x292000082511]
         20: /* anonymous */ [0x2920082ceecd] [./dotnet.js:13] [bytecode=0x29200845c9f5 offset=43](this=0x292008401f55 <JSGlobal Object>#3#)
         21: arguments adaptor frame: 4->0
         22: /* anonymous */ [0x2920082c4279] [./dotnet.js:3] [bytecode=0x2920082dc509 offset=117](this=0x2920084176a1 <Object map = 0x292008243349>#4#)
         23: arguments adaptor frame: 4->0
         24: _call_method_with_converted_args(aka _call_method_with_converted_args) [0x2920084197fd] [./dotnet.js:3] [bytecode=0x29200845c741 offset=51](this=0x29200804030d <undefined>,41276688,0,0x29200808455d <Object map = 0x292008254491>#5#,0x292008040171 <null>,41282264,0x2920080403e5 <true>,0x29200804030d <undefined>)
         25: call_method(aka call_method) [0x29200841977d] [./dotnet.js:3] [bytecode=0x29200845a03d offset=214](this=0x29200804030d <undefined>,41276688,0,0x292008210185 <String[1]: #m>,0x292008080175 <JSArray[1]>#6#)
         26: /* anonymous */(aka /* anonymous */) [0x292008080185] [./dotnet.js:3] [bytecode=0x292008458fd9 offset=148](this=0x29200804030d <undefined>)
         27: arguments adaptor frame: 1->0
         28: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0x2920084172e9] [./dotnet.js:3] [bytecode=0x292008458be5 offset=27](this=0x29200804030d <undefined>,0x292008420249 <String[18]: "r4NaNconv_il_d.dll">,0x2920080801a1 <JSArray[1]>#7#,0x292008210185 <String[1]: #m>)
         29: mono_run_main [0x29200841714d] [./dotnet.js:3] [bytecode=0x292008458481 offset=55](this=0x2920084167c9 <Object map = 0x29200824c151>#8#,0x292008420249 <String[18]: "r4NaNconv_il_d.dll">,0x292008080121 <JSArray[0]>#9#)
         30: init [0x292008417be1] [test-main.js:218] [bytecode=0x292008457fed offset=712](this=0x2920084075c9 <Object map = 0x292008253e01>#10#,0x292008080209 <Object map = 0x292008253d61>#11#)
         31: onDotnetReady [0x292008421955] [test-main.js:157] [bytecode=0x2920084576cd offset=199](this=0x292008401b1d <Object map = 0x292008250981>#12#)
         32: finalize_startup(aka finalize_startup) [0x292008419bfd] [./dotnet.js:3] [bytecode=0x292008452f61 offset=512](this=0x29200804030d <undefined>,0x292008401ae1 <Object map = 0x29200824ee79>#13#)
         33: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0x292008401afd] [./dotnet.js:3] [bytecode=0x2920082db591 offset=67](this=0x29200804030d <undefined>)
         34: arguments adaptor frame: 1->0
         35: callRuntimeCallbacks [0x292008401b2d] [./dotnet.js:13] [bytecode=0x2920082d7fd1 offset=32](this=0x292008401f55 <JSGlobal Object>#3#,0x292008401f45 <JSArray[0]>#14#)
         36: postRun [0x292008401f75] [./dotnet.js:13] [bytecode=0x2920082db415 offset=110](this=0x292008401f55 <JSGlobal Object>#3#)
         37: doRun [0x292008421aad] [./dotnet.js:13] [bytecode=0x2920082d81a1 offset=91](this=0x292008401f55 <JSGlobal Object>#3#)
         38: run [0x292008401f95] [./dotnet.js:13] [bytecode=0x2920082d090d offset=117](this=0x292008401f55 <JSGlobal Object>#3#,0x292008401fb5 <Arguments map = 0x292008241d19>#15#)
         39: arguments adaptor frame: 0->1
         40: runCaller [0x292008401fc9] [./dotnet.js:13] [bytecode=0x2920082d7d9d offset=11](this=0x292008401f55 <JSGlobal Object>#3#)
         41: removeRunDependency [0x292008401fe9] [./dotnet.js:13] [bytecode=0x2920082d272d offset=76](this=0x292008401f55 <JSGlobal Object>#3#,0x2920082ce2e5 <String[16]: #wasm-instantiate>)
         42: receiveInstance [0x292008402009] [./dotnet.js:13] [bytecode=0x2920082d7a99 offset=118](this=0x292008401f55 <JSGlobal Object>#3#,0x2920082d4a05 <Instance map = 0x292008244a69>#16#,0x29200804030d <undefined>)
         43: arguments adaptor frame: 1->2
         44: receiveInstantiationResult [0x292008402049] [./dotnet.js:13] [bytecode=0x2920082d79fd offset=10](this=0x292008401f55 <JSGlobal Object>#3#,0x292008421afd <Object map = 0x292008250139>#17#)
         45: StubFrame [pc: 0x55a345213ef8]
         46: StubFrame [pc: 0x55a34517ff24]
         47: EntryFrame [pc: 0x55a34515d8f8]
Author: radical
Assignees: -
Labels:

arch-wasm, area-Codegen-Interpreter-mono

Milestone: -

@radical
Copy link
Member Author

radical commented Feb 21, 2022

Symbolicated trace:

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

Security context: 0x22a90820dca9 <JSObject>#0#
    0: builtin exit frame: trace(this=0x22a908203701 <console map = 0x22a908240919>#1#,0x22a90832bba5 <String[101]: c"* Assertion: should not be reached at /workspaces/runtime/src/mono/mono/mini/interp/transform.c:5917\n">,0x22a908203701 <console map = 0x22a908240919>#1#)

    1: mono_wasm_trace_logger [0x22a908418e21] [./dotnet.js:3] [bytecode=0x22a90844dc99 offset=153](this=0x22a908407649 <Object map = 0x22a908246a21>#2#,0,20624,42266864,4,0)
    2: _mono_wasm_trace_logger [0x22a90840894d] [./dotnet.js:13] [bytecode=0x22a90844dba1 offset=31](this=0x22a908401f55 <JSGlobal Object>#3#)
    3: arguments adaptor frame: 5->0
    4: WasmToJsFrame [pc: 0x3836176aadfb]
    5: WASM [0097698e], wasm_trace_logger (function #118 ('')), pc=0x3836170c9733 (+0x53), pos=38761 (+11)
    6: WASM [0097698e], eglib_log_adapter (function #2515 ('')), pc=0x383617866e63 (+0xa3), pos=668787 (+39)
    7: WASM [0097698e], monoeg_g_logv_nofree (function #8431 ('')), pc=0x383617931cf8 (+0xf8), pos=1806863 (+97)
    8: WASM [0097698e], monoeg_assertion_message (function #8434 ('')), pc=0x383617930ae7 (+0x47), pos=1807006 (+31)
    9: WASM [0097698e], mono_assertion_message_unreachable (function #8437 ('')), pc=0x38361793037b (+0x3b), pos=1807111 (+32)
   10: WASM [0097698e], generate_code (function #335 ('')), pc=0x383617770f84 (+0xf984), pos=136513 (+15984)
   11: WASM [0097698e], mono_interp_transform_method (function #387 ('')), pc=0x3836176db68e (+0x11ae), pos=166652 (+2128)
   12: WASM [0097698e], do_transform_method (function #231 ('')), pc=0x3836170baaae (+0xae), pos=109024 (+51)
   13: WASM [0097698e], interp_exec_method (function #177 ('')), pc=0x383617826e83 (+0xef23), pos=101528 (+53017)
   14: WASM [0097698e], interp_runtime_invoke (function #176 ('')), pc=0x3836170c1691 (+0x291), pos=48437 (+252)
   15: WASM [0097698e], mono_jit_runtime_invoke (function #7744 ('')), pc=0x3836173afad8 (+0xf8), pos=1671889 (+43)
   16: WASM [0097698e], do_runtime_invoke (function #1909 ('')), pc=0x3836178e80cb (+0x1eb), pos=542312 (+110)
   17: WASM [0097698e], mono_runtime_try_invoke (function #1913 ('')), pc=0x3836178df0a4 (+0xa4), pos=543957 (+37)
   18: WASM [0097698e], function #125 ('mono_wasm_invoke_method'), pc=0x3836170c8d85 (+0x125), pos=39216 (+101)
   19: JsToWasmFrame [pc: 0x22a900082511]
   20: /* anonymous */ [0x22a9082ceecd] [./dotnet.js:13] [bytecode=0x22a90844cea9 offset=43](this=0x22a908401f55 <JSGlobal Object>#3#)
   21: arguments adaptor frame: 4->0
   22: /* anonymous */ [0x22a9082c4279] [./dotnet.js:3] [bytecode=0x22a9082dc509 offset=117](this=0x22a9084176a1 <Object map = 0x22a908243349>#4#)
   23: arguments adaptor frame: 4->0
   24: _call_method_with_converted_args(aka _call_method_with_converted_args) [0x22a9084197fd] [./dotnet.js:3] [bytecode=0x22a90844cbf5 offset=51](this=0x22a90804030d <undefined>,41278192,0,0x22a908300641 <Object map = 0x22a908254621>#5#,0x22a908040171 <null>,41283768,0x22a9080403e5 <true>,0x22a90804030d <undefined>)
   25: call_method(aka call_method) [0x22a90841977d] [./dotnet.js:3] [bytecode=0x22a90844a4f1 offset=214](this=0x22a90804030d <undefined>,41278192,0,0x22a908210185 <String[1]: #m>,0x22a90818bda5 <JSArray[1]>#6#)
   26: /* anonymous */(aka /* anonymous */) [0x22a90818bdb5] [./dotnet.js:3] [bytecode=0x22a90845ec51 offset=148](this=0x22a90804030d <undefined>)
   27: arguments adaptor frame: 1->0
   28: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0x22a9084172e9] [./dotnet.js:3] [bytecode=0x22a90845e85d offset=27](this=0x22a90804030d <undefined>,0x22a908420249 <String[18]: "r4NaNconv_il_r.dll">,0x22a90818bdd1 <JSArray[1]>#7#,0x22a908210185 <String[1]: #m>)
   29: mono_run_main [0x22a908416fe9] [./dotnet.js:3] [bytecode=0x22a90845e0f9 offset=55](this=0x22a9084167c9 <Object map = 0x22a90824c151>#8#,0x22a908420249 <String[18]: "r4NaNconv_il_r.dll">,0x22a9081820f1 <JSArray[0]>#9#)
   30: init [0x22a908417be1] [test-main.js:218] [bytecode=0x22a90845dc65 offset=712](this=0x22a9084075c9 <Object map = 0x22a908253f91>#10#,0x22a90818be39 <Object map = 0x22a908253ef1>#11#)
   31: onDotnetReady [0x22a908421955] [test-main.js:157] [bytecode=0x22a90845d369 offset=199](this=0x22a908401b1d <Object map = 0x22a908250981>#12#)
   32: finalize_startup(aka finalize_startup) [0x22a908419bfd] [./dotnet.js:3] [bytecode=0x22a908454f15 offset=512](this=0x22a90804030d <undefined>,0x22a908401ae1 <Object map = 0x22a90824ee79>#13#)
   33: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0x22a908401afd] [./dotnet.js:3] [bytecode=0x22a9082db591 offset=67](this=0x22a90804030d <undefined>)
   34: arguments adaptor frame: 1->0
   35: callRuntimeCallbacks [0x22a908401b2d] [./dotnet.js:13] [bytecode=0x22a9082d7fd1 offset=32](this=0x22a908401f55 <JSGlobal Object>#3#,0x22a908401f45 <JSArray[0]>#14#)
   36: postRun [0x22a908401f75] [./dotnet.js:13] [bytecode=0x22a9082db415 offset=110](this=0x22a908401f55 <JSGlobal Object>#3#)
   37: doRun [0x22a908421aad] [./dotnet.js:13] [bytecode=0x22a9082d81a1 offset=91](this=0x22a908401f55 <JSGlobal Object>#3#)
   38: run [0x22a908401f95] [./dotnet.js:13] [bytecode=0x22a9082d090d offset=117](this=0x22a908401f55 <JSGlobal Object>#3#,0x22a908401fb5 <Arguments map = 0x22a908241d19>#15#)
   39: arguments adaptor frame: 0->1
   40: runCaller [0x22a908401fc9] [./dotnet.js:13] [bytecode=0x22a9082d7d9d offset=11](this=0x22a908401f55 <JSGlobal Object>#3#)
   41: removeRunDependency [0x22a908401fe9] [./dotnet.js:13] [bytecode=0x22a9082d272d offset=76](this=0x22a908401f55 <JSGlobal Object>#3#,0x22a9082ce2e5 <String[16]: #wasm-instantiate>)
   42: receiveInstance [0x22a908402009] [./dotnet.js:13] [bytecode=0x22a9082d7a99 offset=118](this=0x22a908401f55 <JSGlobal Object>#3#,0x22a9082d4a05 <Instance map = 0x22a908244a69>#16#,0x22a90804030d <undefined>)
   43: arguments adaptor frame: 1->2
   44: receiveInstantiationResult [0x22a908402049] [./dotnet.js:13] [bytecode=0x22a9082d79fd offset=10](this=0x22a908401f55 <JSGlobal Object>#3#,0x22a908421afd <Object map = 0x22a908250139>#17#)
   45: StubFrame [pc: 0x5641e0023ef8]
   46: StubFrame [pc: 0x5641dff8ff24]
   47: EntryFrame [pc: 0x5641dff6d8f8]
=====================

* Assertion: should not be reached at /workspaces/runtime/src/mono/mono/mini/interp/transform.c:5917

@radical
Copy link
Member Author

radical commented Feb 21, 2022

cc @vlad @vargaz @lambdageek

@radical radical added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 22, 2022
@MaximLipnin
Copy link
Contributor

MaximLipnin commented Feb 22, 2022

Couple more legs from runtime-extra-platforms pipeline are affected as well:

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 22, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 22, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-Interpreter-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants