Closed udaken closed 3 years ago
Hey, thanks for bringing this to my attention! I did some testing on net6.0 preview 5 but hadn't tried preview 6 yet. I can repro the error on preview 6 and not on preview 5, so this would indeed appear to be a new runtime issue. I'll try with the nightlies and see if it's been resolved already and log an issue if not.
Confirmed this is a JIT bug. It's emitting an illegal instruction encoding for AVX2 Gather instructions. I have filed https://github.com/dotnet/runtime/issues/56967 to get that fixed.
Thanks again for reporting and for the excellent detail!
JIT fix has been merged and will be in .NET 6 RC1. I'll leave this open for visibility in the meantime.
Thanks for analyzing it and reporting it to the runtime team. I will wait for RC1 to be released.
Hi,
An exception occurred when calling
MagicImageProcessor.ProcessImage
in .NET6.0 Preview environment. In .NET5.0, there was no problem.Is this a bug in runtime? or MagicScaler?
Code
Environment