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
Access Violation Exception from UnpackToRgbPlanesAvx2Reduce #3104
When using our tool with SaveAsJpeg in ImageSharp, I got this AVE error (see attached error log) for certain images.
Changing the method to SaveAsPng resolved the issue.
Also for color images with a pixel count not divisible by 8 and less than 3 pixels over, a padded copy is created to avoid JPEG encoding issues as a work-around.
Steps to Reproduce
When I checked individual images with the SaveAsJpeg method using a few commands, this was fine, so at this point I am not sure.
We're hitting this on ImageSharp 3.1.12 in production (Umbraco 13, ImageSharp.Web, Azure App Service, .NET 8) — same UnpackToRgbPlanesAvx2Reduce frame, fatal process crash. The backport in #3106 is merged to release/3.1.x but there's no 3.1.13 on NuGet. Umbraco (all versions, incl. 18) pins ImageSharp to 3.1.x, so we can't move to 4.x. Any chance of a 3.1.13 release?
Activity
JimBobSquarePants commentedon Apr 7, 2026
@SunaeK Are you able to create a minimal code sample to replicate the issue? I cannot do much without one.
Update. Actually, I think I can see the issue in the code. PR opened.
Fix SIMD slicing and padding length handling. Fix #3104
SunaeK commentedon Apr 8, 2026
Thank you!
sandorkerekes commentedon Sep 15, 2026
Hi there,
We're hitting this on ImageSharp 3.1.12 in production (Umbraco 13, ImageSharp.Web, Azure App Service, .NET 8) — same UnpackToRgbPlanesAvx2Reduce frame, fatal process crash. The backport in #3106 is merged to release/3.1.x but there's no 3.1.13 on NuGet. Umbraco (all versions, incl. 18) pins ImageSharp to 3.1.x, so we can't move to 4.x. Any chance of a 3.1.13 release?