Skip to content

WASM AOT: condition `<disabled>' not met #121472

Description

@ittennull

Description

Some regex expression fail in Mono AOT

Regex.Split("asd", "urn:message:XYZ\\.Mess", RegexOptions.IgnoreCase | RegexOptions.NonBacktracking);

Reproduction Steps

  1. clone https://gitlab.com/ittennull/blazor_aot_bug
  2. run dotnet publish AotBug/AotBug.csproj -c Release
  3. open index.html

Expected behavior

no exceptions, same as in non-AOT case

Actual behavior

Exception:

dotnet.runtime.st3wwc8rqy.js:3 [MONO] * Assertion at /__w/1/s/src/mono/mono/mini/interp/interp.c:2667, condition `<disabled>' not met

Error
    at Fc (dotnet.runtime.st3wwc8rqy.js:3:168832)
    at dotnet.native.pzlyo9hgrt.wasm:0x9188e1
    at dotnet.native.pzlyo9hgrt.wasm:0x7509b9
    at dotnet.native.pzlyo9hgrt.wasm:0x74e901
    at dotnet.native.pzlyo9hgrt.wasm:0x74ea31
    at dotnet.native.pzlyo9hgrt.wasm:0x74ea78
    at dotnet.native.pzlyo9hgrt.wasm:0x74ea49
    at dotnet.native.pzlyo9hgrt.wasm:0x725ed9
    at dotnet.native.pzlyo9hgrt.wasm:0x719086
    at dotnet.native.pzlyo9hgrt.wasm:0x728ca0
blazor.webassembly.js:1 
ExitStatus {name: 'ExitStatus', message: 'Program terminated with exit(1)', status: 1}

Regression?

No response

Known Workarounds

No response

Configuration

.NET 9
Manjaro linux
x64

Other information

No response

Activity

  1. added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Nov 9, 2025
  2. MihuBot commented on Nov 9, 2025

    @MihuBot
  3. removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Nov 11, 2025
  4. self-assigned this
    on Jul 13, 2026
  5. added this to the 9.0.x milestone on Jul 13, 2026
  6. pavelsavara commented on Jul 13, 2026

    @pavelsavara
    Member

    @ittennull please try the same with Net10 and report back.

    You can also try to enable logging

            Blazor.start({
                webAssembly: {
                    configureRuntime: dotnet => {
                        console.log("in configureRuntime");
                        dotnet.withEnvironmentVariable("MONO_LOG_LEVEL", "debug");
                        dotnet.withEnvironmentVariable("MONO_LOG_MASK", "all");
                    }
                }
            });
    

    And native symbols

         <PropertyGroup>
           <WasmBuildNative>true</WasmBuildNative>
           <WasmNativeStrip>false</WasmNativeStrip>
         </PropertyGroup>
    
  7. added
    needs-author-actionAn issue or pull request that requires more info or actions from the author.
    on Jul 13, 2026
  8. ittennull commented on Jul 13, 2026

    @ittennull
    Author

    I updated the code.
    It doesn't work:

    [MONO] * Assertion at /__w/1/s/src/runtime/src/mono/mono/mini/interp/interp.c:2737, condition `<disabled>' not met
    
    Mc<@http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3:172283
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[55748]:0xa3df52
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[44465]:0x863c88
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[44370]:0x861e57
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[44374]:0x861f88
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[44376]:0x861fcf
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[44375]:0x861fa0
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[43725]:0x83bf9f
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[43634]:0x8385d0
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[43629]:0x82c451
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[43716]:0x83ba84
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[43735]:0x83ca07
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[34696]:0x675482
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[11445]:0x2c2bda
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[11468]:0x2c3d0c
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[11386]:0x2beb9d
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[11382]:0x2bdaf1
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[10874]:0x28c002
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[10868]:0x28bc9d
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[10891]:0x28db80
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[10890]:0x28d9c4
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[4401]:0x147813
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[24161]:0x4b89b0
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[4398]:0x14754a
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[26486]:0x517552
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[38419]:0x732fb3
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[47733]:0x8fedb7
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[47725]:0x8fe529
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[46689]:0x8cd42c
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[46688]:0x8cd3e8
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[46784]:0x8d26a1
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[45809]:0x8a3317
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[45909]:0x8a7c45
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[21552]:0x4498de
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[21551]:0x44985d
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[24845]:0x4d4db2
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[21556]:0x44a32b
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[21554]:0x449cee
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[21707]:0x45085a
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[21538]:0x448afb
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[6617]:0x1bb77d
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[6613]:0x1bae58
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[26831]:0x521086
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[38418]:0x732cf6
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[47733]:0x8fedb7
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[47725]:0x8fe529
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[46689]:0x8cd42c
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[46698]:0x8cdc7e
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[46734]:0x8d00cb
    @http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:wasm-function[55740]:0xa3d925
    createDotnetRuntime/Module._mono_wasm_invoke_jsexport@http://localhost:33385/_framework/dotnet.native.fs1ffj9n0g.js:5206:195
    wn@http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3:29439
    Vc/<@http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3:178844
    Vc@http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3:178995
    async*callEntryPoint@http://localhost:33385/_framework/blazor.webassembly.js:1:50649
    Zt@http://localhost:33385/_framework/blazor.webassembly.js:1:58728
    async*qt@http://localhost:33385/_framework/blazor.webassembly.js:1:55647
    cn@http://localhost:33385/_framework/blazor.webassembly.js:1:60428
    @http://localhost:33385/:17:16
    [dotnet.runtime.0j6ezsi0n0.js:3:172341](http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js)
        Mc http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:10739538
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8797320
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8789591
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8789896
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8789967
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8789920
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8634271
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8619472
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8569937
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8632964
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:8636935
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:6771842
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2894810
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2899212
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2878365
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2874097
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2670594
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2669725
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2677632
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:2677188
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:1341459
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4950448
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:1340746
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:5338450
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:7548851
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9432503
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9430313
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9229356
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9229288
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9250465
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9057047
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9075781
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4495582
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4495453
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:5066162
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4498219
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4496622
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4524122
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:4492027
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:1816445
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:1814104
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:5378182
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:7548150
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9432503
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9430313
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9229356
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9231486
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:9240779
        <anonymous> http://localhost:33385/_framework/dotnet.native.7e0s4wqckg.wasm:10737957
        _mono_wasm_invoke_jsexport http://localhost:33385/_framework/dotnet.native.fs1ffj9n0g.js:5206
        wn http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3
        Vc http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3
        Vc http://localhost:33385/_framework/dotnet.runtime.0j6ezsi0n0.js:3
        callEntryPoint http://localhost:33385/_framework/blazor.webassembly.js:1
        Zt http://localhost:33385/_framework/blazor.webassembly.js:1
        qt http://localhost:33385/_framework/blazor.webassembly.js:1
        cn http://localhost:33385/_framework/blazor.webassembly.js:1
        <anonymous> http://localhost:33385/:17
    Object { name: "ExitStatus", message: "Program terminated with exit(1)", status: 1 }
    ​
    message: "Program terminated with exit(1)"
    ​
    name: "ExitStatus"
    ​
    status: 1
    ​
    <prototype>: Object { … }
    ​
    ​
    constructor: function ExitStatus(status)
    ​
    ​
    <prototype>: Object { … }
    
  9. added
    needs-further-triageIssue has been initially triaged, but needs deeper consideration or reconsideration
    and removed
    needs-author-actionAn issue or pull request that requires more info or actions from the author.
    on Jul 13, 2026
  10. pavelsavara commented on Aug 3, 2026

    @pavelsavara
    Member

    It looks lot like #117557 but it's something else.
    I tested the attached sample and it reproduces in 10.0.8 but it's working fine in Net11 preview7

    The #119004 fix is missing on Net10 brach

  11. pavelsavara commented on Aug 3, 2026

    @pavelsavara
    Member

    release/10.0 branch

    [MONO] * Assertion at D:/runtime2/src/mono/mono/mini/interp/interp.c:2737, condition `is_ok (error)' not met, function:init_jit_call_info, Attempting to JIT compile method '(wrapper other) void object:gsharedvt_out_sig (intptr,System.Text.RegularExpressions.Symbolic.SymbolicRegexBuilder`1/NodeCacheKey<object>&,intptr)' while running in aot-only mode. See https://learn.microsoft.com/xamarin/ios/internals/limitations for more information.
     assembly:<unknown assembly> type:<unknown type> member:(null)
    
    Error
        at mono_wasm_trace_logger (dotnet.runtime.js:1383:60)
        at dotnet.native.wasm.wasm_trace_logger (wasm_trace_logger (:8510/dotnet.native.wasm:wasm-function[49068]:0x91250b))
        at dotnet.native.wasm.eglib_log_adapter (eglib_log_adapter (:8510/dotnet.native.wasm:wasm-function[33476]:0x63fe22))
        at dotnet.native.wasm.monoeg_g_logstr (monoeg_g_logstr (:8510/dotnet.native.wasm:wasm-function[33357]:0x63bc41))
        at dotnet.native.wasm.monoeg_g_logv_nofree (monoeg_g_logv_nofree (:8510/dotnet.native.wasm:wasm-function[33355]:0x63bb8f))
        at dotnet.native.wasm.monoeg_assertion_message (monoeg_assertion_message (:8510/dotnet.native.wasm:wasm-function[33359]:0x63bcc3))
        at dotnet.native.wasm.init_jit_call_info (init_jit_call_info (:8510/dotnet.native.wasm:wasm-function[32713]:0x603031))
        at dotnet.native.wasm.do_jit_call (do_jit_call (:8510/dotnet.native.wasm:wasm-function[32627]:0x5fee6e))
        at dotnet.native.wasm.mono_interp_exec_method (mono_interp_exec_method (:8510/dotnet.native.wasm:wasm-function[32621]:0x5ede87))
        at dotnet.native.wasm.interp_entry (interp_entry (:8510/dotnet.native.wasm:wasm-function[32705]:0x602a26))
    
  12. pavelsavara commented on Aug 3, 2026

    @pavelsavara
    Member

    This backport should fix it #131735 for Net10

  13. removed
    needs-further-triageIssue has been initially triaged, but needs deeper consideration or reconsideration
    on Aug 3, 2026
  14. modified the milestones: 9.0.x, 10.0.x on Aug 3, 2026
  15. locked and limited conversation to collaborators on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions