You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT: Assertion failed '!arg->OperIsPutArg()' during 'Lowering nodeinfo' #82654
// Generated by Fuzzlyn v1.5 on 2023-02-24 23:07:44// Run on Arm64 MacOS// Seed: 7217345272271671129// Reduced from 8.8 KiB to 1.2 KiB in 00:00:06// Hits JIT assert in Release:// Assertion failed '!arg->OperIsPutArg()' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Lowering nodeinfo' (IL size 45; hash 0xade6b36b; FullOpts)// // File: /Users/runner/work/1/s/src/coreclr/jit/lower.cpp Line: 1566// publicclassProgram{publicstaticIRuntimes_rt;publicstaticlong[]s_2;publicstaticvoidMain(){CollectibleALCalc=newCollectibleALC();System.Reflection.Assemblyasm=alc.LoadFromAssemblyPath(System.Reflection.Assembly.GetExecutingAssembly().Location);System.Reflection.MethodInfomi=asm.GetType(typeof(Program).FullName).GetMethod(nameof(MainInner));System.TyperuntimeTy=asm.GetType(typeof(Runtime).FullName);mi.Invoke(null,newobject[]{System.Activator.CreateInstance(runtimeTy)});}publicstaticvoidMainInner(IRuntimert){varvr1=newulong[]{0};bytevr2=(byte)(M4(vr1)&~(sbyte)(0&s_2[0]));s_rt.WriteLine("c_40",vr2);}publicstaticuintM4(ulong[]arg0){s_rt.WriteLine("c_26",arg0[0]);return0;}}publicinterfaceIRuntime{voidWriteLine<T>(stringsite,Tvalue);}publicclassRuntime:IRuntime{publicvoidWriteLine<T>(stringsite,Tvalue)=>System.Console.WriteLine(value);}publicclassCollectibleALC:System.Runtime.Loader.AssemblyLoadContext{publicCollectibleALC():base(true){}}
cc @TIHan, this looks caused by #82276. It looks like we are lowering the same node multiple times because TryLowerAndNegativeOne returns a previous node.
// Generated by Fuzzlyn v1.5 on 2023-02-24 23:07:39// Run on X86 Windows// Seed: 10843127860637099968// Reduced from 209.2 KiB to 0.3 KiB in 00:04:55// Hits JIT assert in Release:// Assertion failed '!op1->IsRegOptional() && !op2->IsRegOptional()' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Lowering nodeinfo' (IL size 45; hash 0xade6b36b; FullOpts)// // File: D:\a\_work\1\s\src\coreclr\jit\lowerxarch.cpp Line: 5118// publicclassProgram{publicstaticbools_26;publicstaticvoidMain(){varvr2=newuint[,]{{0}};intvr7=default(int);uintvr5=(uint)vr7;if(s_26){vr5=1;}vr2[0,0]=(uint)(vr5&(sbyte)~(vr2[0,0]%1));}}
Activity
TIHan commentedon Feb 25, 2023
Thanks for reporting, I'll look into it.
jakobbotsch commentedon Feb 25, 2023
Also this one:
However, it's likely the same underlying issue.