Skip to content

Test failure: JIT/Regression/JitBlue/Runtime_82535/Runtime_82535/Runtime_82535.dll #112333

Closed

Description

@v-wenyuxu

Failed in: runtime-coreclr jitstress-random 20250209.1

Failed tests:

coreclr linux x64 Checked jitstress_random_2 @ Ubuntu.2204.Amd64.Open
    - JIT/Regression/JitBlue/Runtime_82535/Runtime_82535/Runtime_82535.dll

Error message:

 Object reference not set to an instance of an object.

Stack trace:

   at Program.TestEntryPoint()
   at Program.<<Main>$>g__TestExecutor445|0_446(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Activity

  1. ghost added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Feb 10, 2025
  2. dotnet-policy-service commented on Feb 10, 2025

    @dotnet-policy-service
    Contributor

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

  3. self-assigned this
    on Feb 10, 2025
  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Feb 10, 2025
  5. added this to the 10.0.0 milestone on Feb 10, 2025
  6. EgorBo commented on Feb 10, 2025

    @EgorBo
    Member

    Doesn't look to be something new, I can repro it on an old commit as well

  7. EgorBo commented on Feb 10, 2025

    @EgorBo
    Member

    Seems to be "Objects-on-stack" issue, minimal repro:

    using System.Runtime.CompilerServices;
    
    public class Program
    {
        [MethodImpl(MethodImplOptions.AggressiveOptimization)]
        public static void Main()
        {
            Bacon bacon = new Bacon(0);
            Foo currentFoo = new Foo();
            try
            {
                currentFoo.m_Bar.m_Bacon = bacon;
            }
            catch{}
        }
    }
    
    public class Foo {
        public Bar m_Bar;
    }
    
    public class Bar {
        public Bacon m_Bacon;
    }
    
    public struct Bacon {
        public float m_f1;
        public float m_f2;
        public float m_f3;
        public float m_f8;
        public float m_f4;
        public Bacon(float minValue) {}
    }
  8. EgorBo commented on Feb 10, 2025

    @EgorBo
    Member

    Hm.. EarlyProp marks all indirs as side-effect free and removes a nullcheck on top of m_Bacon fld. Likely missing GTF_ORDER_SIDEFFECT flags

  9. added
    in-prThere is an active PR which will close this issue when it is merged
    on Feb 19, 2025
  10. locked and limited conversation to collaborators on Mar 23, 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-linuxLinux OS (any supported distro)

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions