BHoM / Rhinoceros_Toolkit

Set of functionalities for communication with Rhinoceros
GNU Lesser General Public License v3.0
6 stars 3 forks source link

Rhino_Toolkit: sporadic crashes with system memory violation #169

Closed kThorsager closed 4 years ago

kThorsager commented 4 years ago

Description:

Very unsure on what's happening since I've only found it in a large project script, but it does completely crash Rhino, which is annoying.

This is where it crashes with this exception, but the actually crash happens in the exteranl code, so suspect we need better checks on what we send in or similar.

image

Sorry for the extremely unclear issue, but this is all I know

Steps to reproduce:

I have no idea, it's barely consistent

Expected behaviour:

Don't crash

Test file(s):

epignatelli commented 4 years ago

Uhm, are you able to provide a minimal example?

I can guess what is unsafely accessed, but that's just a guess - the bug may still be there.

kThorsager commented 4 years ago

I have a big example, It has occurred while moving the small rectangles about https://burohappold.sharepoint.com/:f:/s/BHoM/EoqiBj-1bDhCmYBN_sD_NzQBxlNRQgNx2R4VqIJPfWzIkw?e=F8NALh

epignatelli commented 4 years ago

I can't reproduce on Rhino 6 actually.

Does it happen also with preview disabled?

kThorsager commented 4 years ago

I'm on Rhino 6,

And yes when disabled through here (unsure of if there are other ways) image

Will try a fresh alpha install and try again

kThorsager commented 4 years ago

Was positively convinced that nothing I've built was used in this script, but am myself unable to recreate now so 🤷‍♂️

Thanks for you patience @epignatelli

epignatelli commented 4 years ago

No worries at all @kThorsager ! Let's see if anyone else raises the issue as well - I'll investigate.