Skip to content

Test failure: JIT/Regression/JitBlue/DevDiv_461649/DevDiv_461649/DevDiv_461649.cmd #113052

Closed

Description

@v-wenyuxu

Failed in: runtime-coreclr jitstress-random 20250302.1

Failed tests:

coreclr windows x64 Checked jitstress_random_1 @ Windows.10.Amd64.Open
    - JIT/Regression/JitBlue/DevDiv_461649/DevDiv_461649/DevDiv_461649.cmd

Error message:

 
Return code:      1
Raw output file:      C:hwB1BE09B7wA9A609AAuploadsJitBlueDevDiv_461649DevDiv_461649output.txt
Raw output:
BEGIN EXECUTION
 "C:hwB1BE09B7pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  DevDiv_461649.dll 
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'start')
   at System.Uri.ParseSchemeCheckImplicitFile(String uriString, ParsingError& err, Flags& flags, UriParser& syntax) in /_/src/libraries/System.Private.Uri/src/System/Uri.cs:line 3706
   at System.Uri.ParseScheme(String uriString, Flags& flags, UriParser& syntax) in /_/src/libraries/System.Private.Uri/src/System/Uri.cs:line 1932
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions) in /_/src/libraries/System.Private.Uri/src/System/UriExt.cs:line 41
   at System.Uri..ctor(String uriString, UriKind uriKind) in /_/src/libraries/System.Private.Uri/src/System/Uri.cs:line 413
   at System.Xml.XmlResolver.ResolveUri(Uri baseUri, String relativeUri) in /_/src/libraries/System.Private.Xml/src/System/Xml/XmlResolver.cs:line 45
   at System.Xml.XmlUrlResolver.ResolveUri(Uri baseUri, String relativeUri) in /_/src/libraries/System.Private.Xml/src/System/Xml/XmlUrlResolver.cs:line 61
   at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver, XmlResolver origResolver) in /_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/Xslt/XsltLoader.cs:line 75
   at XSLTest.Program.TestEntryPoint()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 3/2/2025 8:01:24 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwB1BE09B7wA9A609AAeJITRegressionRegression_3../JitBlue/DevDiv_461649/DevDiv_461649/DevDiv_461649.cmd

Stack trace:

   at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 123
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor331|0_332(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Activity

  1. dotnet-policy-service commented on Mar 3, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-xml
    See info in area-owners.md if you want to be subscribed.

  2. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    and removed
    untriagedNew issue has not been triaged by the area owner
    on Mar 3, 2025
  3. added this to the 10.0.0 milestone on Mar 3, 2025
  4. amanasifkhalid commented on Mar 3, 2025

    @amanasifkhalid
    Contributor

    cc @dotnet/jit-contrib

  5. dotnet-policy-service commented on Mar 3, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  6. v-wenyuxu commented on Mar 10, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr jitstress-random 20250309.1

    Failed tests:

    coreclr windows x86 Checked jitstress_random_1 @ Windows.10.Amd64.Open
        - JIT/Regression/JitBlue/DevDiv_461649/DevDiv_461649/DevDiv_461649.cmd
    

    Error message:

     
    Return code:      1
    Raw output file:      C:hwCC050ACAwBAAA09F9uploadsJitBlueDevDiv_461649DevDiv_461649output.txt
    Raw output:
    BEGIN EXECUTION
     "C:hwCC050ACApcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  DevDiv_461649.dll 
    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'start')
       at System.Uri.ParseSchemeCheckImplicitFile(String uriString, ParsingError& err, Flags& flags, UriParser& syntax) in /_/src/libraries/System.Private.Uri/src/System/Uri.cs:line 3706
       at System.Uri.ParseScheme(String uriString, Flags& flags, UriParser& syntax) in /_/src/libraries/System.Private.Uri/src/System/Uri.cs:line 1932
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions) in /_/src/libraries/System.Private.Uri/src/System/UriExt.cs:line 41
       at System.Xml.XmlResolver.ResolveUri(Uri baseUri, String relativeUri) in /_/src/libraries/System.Private.Xml/src/System/Xml/XmlResolver.cs:line 45
       at System.Xml.XmlUrlResolver.ResolveUri(Uri baseUri, String relativeUri) in /_/src/libraries/System.Private.Xml/src/System/Xml/XmlUrlResolver.cs:line 61
       at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver, XmlResolver origResolver) in /_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/Xslt/XsltLoader.cs:line 75
       at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, XmlResolver origResolver, QilExpression& qil) in /_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/Xslt/Compiler.cs:line 78
       at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver, XmlResolver originalStylesheetResolver) in /_/src/libraries/System.Private.Xml/src/System/Xml/Xslt/XslCompiledTransform.cs:line 135
       at System.Xml.Xsl.XslCompiledTransform.Load(String stylesheetUri) in /_/src/libraries/System.Private.Xml/src/System/Xml/Xslt/XslCompiledTransform.cs:line 117
       at XSLTest.Program.DotNetXslCompiledTransform(String inputXml, String inputXsl)
       at XSLTest.Program.TestEntryPoint()
       at __GeneratedMainWrapper.Main()
    Expected: 100
    Actual: 101
    END EXECUTION - FAILED
    FAILED
    Test failed. Trying to see if dump file was created in C:cores since 3/9/2025 7:46:27 PM
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > C:hwCC050ACAwBAAA09F9eJITRegressionRegression_3../JitBlue/DevDiv_461649/DevDiv_461649/DevDiv_461649.cmd
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor331|0_332(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  7. JulieLeeMSFT commented on Mar 14, 2025

    @JulieLeeMSFT
    Member
  8. amanasifkhalid commented on Mar 17, 2025

    @amanasifkhalid
    Contributor

    This didn't hit in last weekend's CI runs, but I can still repro it with a mainline JIT. Minimal repro is to set DOTNET_JitInlinePolicyRandom=102.

  9. amanasifkhalid commented on Mar 17, 2025

    @amanasifkhalid
    Contributor

    I've bisected the failure to #112907. This seems to be the exact same issue as #113049: A certain pattern of inlining in System.Uri.ParseSchemeCheckImplicitFile, combined with the assertion prop changes, results in the JIT creating a path into the exceptional code in System.MemoryExtensions:AsSpan(System.String,int,int). I see a diff in assertion prop similar to the one shown in the other issue:

    Image

    cc @EgorBo

  10. EgorBo commented on Mar 17, 2025

    @EgorBo
    Member

    Thanks! looking now

  11. added
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 18, 2025
  12. locked and limited conversation to collaborators on Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

JitStressCLR JIT issues involving JIT internal stress modesarch-x64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsin-prThere is an active PR which will close this issue when it is mergedos-windows

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions