Skip to content

[wasm] sgen assertion with in System.Text.RegularExpressions.Tests #64769

Closed
@radical

Description

@radical

Hit on #64712 but the PR itself doesn't have any changes that would affect this.

Same assertion with v8, and chrome on Linux:

* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/../sgen/sgen-scan-object.h:91

Build.

V8 log:

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

Security context: 0x1b8e0820dca9 <JSObject>#0#
    0: builtin exit frame: trace(this=0x1b8e08203701 <console map = 0x1b8e08240919>#1#,0x1b8e084ea4ed <String[96]: c"* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/../sgen/sgen-scan-object.h:91\n">,0x1b8e08203701 <console map = 0x1b8e08240919>#1#)

    1: mono_wasm_trace_logger [0x1b8e082d50a9] [./dotnet.js:3] [bytecode=0x1b8e086ce26d offset=153](this=0x1b8e082d3bc9 <Object map = 0x1b8e082469f9>#2#,0,20652,117755688,4,0)
    2: _mono_wasm_trace_logger [0x1b8e082e94e9] [./dotnet.js:12] [bytecode=0x1b8e086ce175 offset=31](this=0x1b8e0818bc2d <JSGlobal Object>#3#)
    3: arguments adaptor frame: 5->0
    4: WasmToJsFrame [pc: 0x34d06615b75b]
    5: WASM [0096ea96], function #112 (''), pc=0x34d0666a765f (+0x3f), pos=38820 (+11)
    6: WASM [0096ea96], function #2507 (''), pc=0x34d06655de23 (+0xa3), pos=667134 (+39)
    7: WASM [0096ea96], function #8423 (''), pc=0x34d066272c18 (+0xf8), pos=1801077 (+97)
    8: WASM [0096ea96], function #8426 (''), pc=0x34d066272907 (+0x47), pos=1801220 (+31)
    9: WASM [0096ea96], function #8429 (''), pc=0x34d06627271b (+0x3b), pos=1801325 (+32)
   10: WASM [0096ea96], function #2904 (''), pc=0x34d0661e2ffd (+0x5d), pos=737725 (+896)
   11: WASM [0096ea96], function #2902 (''), pc=0x34d0661e2615 (+0x2a55), pos=729872 (+170)
   12: WASM [0096ea96], function #2769 (''), pc=0x34d0665440b6 (+0x76), pos=701283 (+42)
   13: WASM [0096ea96], function #2803 (''), pc=0x34d06653c4ba (+0xba), pos=711841 (+77)
   14: WASM [0096ea96], function #2780 (''), pc=0x34d066540936 (+0x196), pos=704887 (+165)
   15: WASM [0096ea96], function #2777 (''), pc=0x34d0665435a9 (+0x2c9), pos=702252 (+333)
   16: WASM [0096ea96], function #2775 (''), pc=0x34d066543992 (+0x32), pos=701864 (+76)
   17: WASM [0096ea96], function #2774 (''), pc=0x34d066543b4d (+0x10d), pos=701775 (+143)
   18: WASM [0096ea96], function #2860 (''), pc=0x34d066534fa1 (+0x81), pos=722028 (+43)
   19: WASM [0096ea96], function #2713 (''), pc=0x34d066549408 (+0x4c8), pos=694680 (+183)
   20: WASM [0096ea96], function #2451 (''), pc=0x34d066563604 (+0x84), pos=644822 (+70)
   21: WASM [0096ea96], function #1983 (''), pc=0x34d0665a3c78 (+0xb8), pos=558602 (+179)
   22: WASM [0096ea96], function #1982 (''), pc=0x34d0665a3e45 (+0x25), pos=558417 (+9)
   23: WASM [0096ea96], function #170 (''), pc=0x34d06616492d (+0x772d), pos=83236 (+34760)
   24: WASM [0096ea96], function #169 (''), pc=0x34d0666a0bf3 (+0x1f3), pos=48414 (+231)
   25: WASM [0096ea96], function #7733 (''), pc=0x34d0662c7542 (+0x1162), pos=1666470 (+43)
   26: WASM [0096ea96], function #1901 (''), pc=0x34d0665b0eab (+0x1eb), pos=540711 (+110)
   27: WASM [0096ea96], function #1899 (''), pc=0x34d0665b1178 (+0x38), pos=540569 (+39)
   28: WASM [0096ea96], function #1262 (''), pc=0x34d06660948a (+0x11ea), pos=414424 (+1945)
   29: WASM [0096ea96], function #259 (''), pc=0x34d06669845c (+0x53c), pos=112424 (+253)
   30: WASM [0096ea96], function #230 (''), pc=0x34d06669a746 (+0x106), pos=109930 (+272)
   31: WASM [0096ea96], function #170 (''), pc=0x34d06616bee9 (+0xece9), pos=52842 (+4366)
   32: WASM [0096ea96], function #169 (''), pc=0x34d0661511fb (+0x27b), pos=48414 (+231)
   33: WASM [0096ea96], function #7733 (''), pc=0x34d065cca758 (+0xf8), pos=1666470 (+43)
   34: WASM [0096ea96], function #1901 (''), pc=0x34d066035374 (+0x234), pos=540711 (+110)
   35: WASM [0096ea96], function #1905 (''), pc=0x34d066033eb5 (+0x95), pos=542350 (+37)
   36: WASM [0096ea96], function #119 ('mono_wasm_invoke_method'), pc=0x34d0661587e5 (+0x125), pos=39275 (+101)
   37: JsToWasmFrame [pc: 0x1b8e00082511]
   38: /* anonymous */ [0x1b8e082c5c19] [./dotnet.js:12] [bytecode=0x1b8e08439361 offset=43](this=0x1b8e0818bc2d <JSGlobal Object>#3#)
   39: arguments adaptor frame: 4->0
   40: /* anonymous */ [0x1b8e0823af25] [./dotnet.js:3] [bytecode=0x1b8e0840ddad offset=117](this=0x1b8e082d44d9 <Object map = 0x1b8e08243349>#4#)
   41: arguments adaptor frame: 4->0
   42: _call_method_with_converted_args(aka _call_method_with_converted_args) [0x1b8e082d5dc5] [./dotnet.js:3] [bytecode=0x1b8e084390ad offset=51](this=0x1b8e0804030d <undefined>,84576224,0,0x1b8e08697c85 <Object map = 0x1b8e08253479>#5#,0x1b8e08040171 <null>,84614456,0x1b8e080403e5 <true>,0x1b8e0804030d <undefined>)
   43: call_method(aka call_method) [0x1b8e082d5d45] [./dotnet.js:3] [bytecode=0x1b8e08436981 offset=214](this=0x1b8e0804030d <undefined>,84576224,0,0x1b8e08210125 <String[1]: #m>,0x1b8e0818cc0d <JSArray[1]>#6#)
   44: /* anonymous */(aka /* anonymous */) [0x1b8e0818b501] [./dotnet.js:3] [bytecode=0x1b8e08435005 offset=148](this=0x1b8e0804030d <undefined>)
   45: arguments adaptor frame: 1->0
   46: mono_call_assembly_entry_point(aka mono_call_assembly_entry_point) [0x1b8e082d5e45] [./dotnet.js:3] [bytecode=0x1b8e084348a5 offset=27](this=0x1b8e0804030d <undefined>,0x1b8e082e17b9 <String[18]: "WasmTestRunner.dll">,0x1b8e0818b309 <JSArray[1]>#7#,0x1b8e08210125 <String[1]: #m>)
   47: mono_run_main [0x1b8e082d61a9] [./dotnet.js:3] [bytecode=0x1b8e08434141 offset=53](this=0x1b8e082d4c09 <Object map = 0x1b8e0824abe9>#8#,0x1b8e082e17b9 <String[18]: "WasmTestRunner.dll">,0x1b8e0818b6c5 <JSArray[7]>#9#)
   48: init [0x1b8e082d4a05] [test-main.js:214] [bytecode=0x1b8e08433cc1 offset=712](this=0x1b8e082d3b49 <Object map = 0x1b8e08252dc1>#10#,0x1b8e0868c74d <Object map = 0x1b8e08252d21>#11#)
   49: onDotnetReady [0x1b8e082d6a59] [test-main.js:153] [bytecode=0x1b8e08433601 offset=199](this=0x1b8e0818b73d <Object map = 0x1b8e0824f581>#12#)
   50: finalize_startup(aka finalize_startup) [0x1b8e082d62f5] [./dotnet.js:3] [bytecode=0x1b8e0842d90d offset=512](this=0x1b8e0804030d <undefined>,0x1b8e082f0f65 <Object map = 0x1b8e0824d871>#13#)
   51: mono_wasm_after_runtime_initialized(aka mono_wasm_after_runtime_initialized) [0x1b8e082d6255] [./dotnet.js:3] [bytecode=0x1b8e0840ceed offset=67](this=0x1b8e0804030d <undefined>)
   52: arguments adaptor frame: 1->0
   53: callRuntimeCallbacks [0x1b8e082e66f5] [./dotnet.js:12] [bytecode=0x1b8e084099b9 offset=32](this=0x1b8e0818bc2d <JSGlobal Object>#3#,0x1b8e082e64e9 <JSArray[0]>#14#)
   54: postRun [0x1b8e082e6579] [./dotnet.js:12] [bytecode=0x1b8e0840cd71 offset=110](this=0x1b8e0818bc2d <JSGlobal Object>#3#)
   55: doRun [0x1b8e08441331] [./dotnet.js:12] [bytecode=0x1b8e08409b75 offset=91](this=0x1b8e0818bc2d <JSGlobal Object>#3#)
   56: run [0x1b8e082d6ecd] [./dotnet.js:12] [bytecode=0x1b8e082c7641 offset=117](this=0x1b8e0818bc2d <JSGlobal Object>#3#,0x1b8e082e628d <Arguments map = 0x1b8e08241d19>#15#)
   57: arguments adaptor frame: 0->1
   58: runCaller [0x1b8e082e65f9] [./dotnet.js:12] [bytecode=0x1b8e0840974d offset=13](this=0x1b8e0818bc2d <JSGlobal Object>#3#)
   59: removeRunDependency [0x1b8e082d6cd5] [./dotnet.js:12] [bytecode=0x1b8e082d1a45 offset=76](this=0x1b8e0818bc2d <JSGlobal Object>#3#,0x1b8e082c4f2d <String[16]: #wasm-instantiate>)
   60: receiveInstance [0x1b8e082e1745] [./dotnet.js:12] [bytecode=0x1b8e08409429 offset=118](this=0x1b8e0818bc2d <JSGlobal Object>#3#,0x1b8e084062c5 <Instance map = 0x1b8e08244a69>#16#,0x1b8e0804030d <undefined>)
   61: arguments adaptor frame: 1->2
   62: receiveInstantiationResult [0x1b8e082e1765] [./dotnet.js:12] [bytecode=0x1b8e0840937d offset=10](this=0x1b8e0818bc2d <JSGlobal Object>#3#,0x1b8e08441381 <Object map = 0x1b8e0824eb59>#17#)
   63: StubFrame [pc: 0x563f203d7ef8]
   64: StubFrame [pc: 0x563f20343f24]
   65: EntryFrame [pc: 0x563f203218f8]
=====================

* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/../sgen/sgen-scan-object.h:91

Process v8 exited with 1

Chrome log:

Starting:    System.Text.RegularExpressions.Tests.dll
* Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/../sgen/sgen-scan-object.h:91
{"name":"ExitStatus","message":"Program terminated with exit(1)","status":1}
/__w/1/s/src/mono/mono/sgen/sgen-gc.c:3991 <disabled>
[out of order message from the browser]: http://127.0.0.1:35925/dotnet.js 11:1333 Uncaught ExitStatus: Program terminated with exit(1)
WASM EXIT 1
Application has finished with exit code TESTS_FAILED but 0 was expected

cc @vargaz @BrzVlad

Runfo Tracking Issue: wasmtestonbrowser-system.text.regularexpressions.tests work item

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1591314 runtime PR 64782 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1591275 runtime PR 64426 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1591256 runtime PR 64780 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1591010 runtime PR 64758 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590999 runtime PR 64256 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590892 runtime PR 64770 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590819 runtime PR 64766 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590781 runtime Rolling net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590769 runtime PR 64759 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590629 runtime PR 64565 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590573 runtime Rolling net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590517 runtime PR 64341 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log test results runclient.py
1590406 runtime PR 64746 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590295 runtime PR 64256 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1590162 runtime PR 64712 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py
1589861 runtime PR 64753 net7.0-Browser-Release-wasm-Mono_Release-WasmTestOnBrowser-Ubuntu.1804.Amd64.Open console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmWebAssembly architecturearea-GC-monodisabled-testThe test is disabled in source code against the issueuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions