System.AccessViolationException in Mesh.CreateFromIterativeCleanup

We are upgrading to the latest RhinoCommon Nuget package for our Rhino8 plugins (currently on 8.3.24009.15001) and seeing new hard Rhino crashes when we call the Mesh.CreateFromIterativeCleanup function. Any known issues with this function?

System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=
StackTrace:

Hi @kgallion,

Can you provide me a way of repeating what you’re seeing? This might include source code and a sample model.

Thanks,

– Dale

Hello Dale,

Thanks for looking into this! Attached is a model with a single closed mesh that crashes on my end in the latest Rhino8. Open that up and run the simple crash.cs script and that should crash Rhino.

crash.cs (303 Bytes)
Rhino Wheel House crash.3dm (84.0 KB)

Cheers,
Keith

Hi @kgallion,

With your effort, I am able to repeat the crash bug. I’ve logged it so we can address.

https://mcneel.myjetbrains.com/youtrack/issue/RH-80032

Thanks,

– Dale

1 Like