Assertion failed '!"Missing flags on tree"' during 'Morph - Global'

未关闭
#138,488 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
backend

调研方向

Start with the linked build and console log for Microsoft.Extensions.Logging.Generators.Roslyn4.8.Tests to confirm the JIT failure and inspect the reported method, NullableWalker.VisitArgumentConversionAndInboundAssignmentsAndPreConditions. The payload does not identify a source file or failing test to change, so trace the missing tree flags through the Morph - Global diagnostic. Done means the failure is understood and a reproducing test or a validated fix addresses it.

由索引模型根据 Issue 内容生成。

描述

area-CodeGen-coreclr blocking-clean-ci-optional Known Build Error untriaged

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1703853
Build error leg or test failing: Microsoft.Extensions.Logging.Generators.Roslyn4.8.Tests

Console Log: console log
Source: runtime-coreclr libraries-jitstress-random / net12.0-windows-Release-x64-jitstress_random_2-Windows.Amd64.Open.rt / Microsoft.Extensions.Logging.Generators.Roslyn4.8.Tests.WorkItemExecution

Error Detail

Missing flags on tree [000373]: ---G------
               [000373] DA---------                         *  STORE_LCL_VAR struct<Microsoft.CodeAnalysis.CSharp.Conversion, 16>(AX)(P) V127 tmp112      
                                                            *    ref    field V03._uncommonData (fldOffset=0x0) -> V93 tmp78        
                                                            *    ubyte  field V03._kind (fldOffset=0x8) -> V94 tmp79        
               [000372] -----------                         \--*  LCL_VAR   struct<Microsoft.CodeAnalysis.CSharp.Conversion, 16>(DA) V42 tmp27         (last use)

Assert failure(PID 6616 [0x000019d8], Thread: 5544 [0x15a8]): Assertion failed '!"Missing flags on tree"' in 'Microsoft.CodeAnalysis.CSharp.NullableWalker:VisitArgumentConversionAndInboundAssignmentsAndPreConditions(Microsoft.CodeAnalysis.CSharp.BoundConversion,Microsoft.CodeAnalysis.CSharp.BoundExpression,Microsoft.CodeAnalysis.CSharp.Conversion,byte,Microsoft.CodeAnalysis.CSharp.Symbols.ParameterSymbol,Microsoft.CodeAnalysis.CSharp.Symbols.TypeWithAnnotations,int,Microsoft.CodeAnalysis.CSharp.NullableWalker+VisitArgumentResult,Microsoft.CodeAnalysis.PooledObjects.ArrayBuilder`1[Microsoft.CodeAnalysis.CSharp.NullableWalker+VisitResult],bool):this' during 'Morph - Global' (IL size 385; hash 0x6da52817; FullOpts)

    File: D:\a\_work\1\s\src\coreclr\jit\fgdiagnostic.cpp:3654
    Image: C:\h\w\AE62097D\p\dotnet.exe

----- end Sat 11/28/2026 10:52:40.56 ----- exit code -1073740286 ----------------------------------------------------------

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["Missing flags on tree", "during 'Morph - Global'"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1703853
Error message validated: [Missing flags on tree during 'Morph - Global']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/30/2026 1:37:17 AM UTC

Report

💡 View the full list of hits in the Build Insights portal

Build Repository Branch Test Pull Request
1703853 dotnet/runtime main Microsoft.Extensions.Logging.Generators.Roslyn4.8.Tests.WorkItemExecution
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 1
主要语言
C#
星标
18.5k
派生
5.8k
平均合并
2 天 8 小时
30 天内合并 PR
597

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/runtime 的其他 Issue

查看 dotnet/runtime 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。