Rhino 8 Crashes in opennurbs.dll when Handling Large Models

Rhino 8 Crashes (Access Violation c0000005) in opennurbs.dll when Handling Large Models

I’m experiencing consistent crashes in Rhino 8 (version 8.8.24163.12481) when working with large models. Here are the specific details:

  1. Crash Characteristics:
  • Only occurs with large data models
  • Works perfectly fine with small models
  • 100% reproducible with large data sets
  • Crash happens during user data copy operations
  1. Technical Details from Crash Dump:
  • Error Code: c0000005 (Access Violation)
  • Crash Location: opennurbs!ON_Object::CopyUserData+0x57
  • Memory Access Address: 0x0000000000000010
  • Error Type: NULL_CLASS_PTR_READ
  • Peak Memory Commit: 1185 MB
  1. Stack Trace Highlights:
    opennurbs!ON_Object::CopyUserData+0x57
    opennurbs!ON_UserDataHolder::CopyUserDataFrom+0x38
    RhinoCore!CRhinoPopupMenu::~CRhinoPopupMenu+0x52dc
    mfc140u!CView::OnPaint+0x5f

  2. Environment:

  • OS: Windows 10 (10.0.18362.1)
  • Rhino Version: 8.8.24163.12481
  • CLR Version: 7.0.2024.26716
  • Architecture: x64
  1. Additional Information:
  • Crash occurs during view painting operations
  • Related to popup menu and user data handling
  • Appears to be a null pointer dereference issue
  • Happens consistently with large data sets

Questions:

  1. Is this a known issue with the current version?
  2. Are there any workarounds for handling large models?
  3. Are there recommended best practices for managing memory with large datasets in Rhino?

Attachments:

  • Full crash dump file (RhinoCrashDump.dmp)
  • [If possible, add a simplified test case that reproduces the issue]

@zh_H

It would be useful if you could share a 3dm file with us - you can do so using our upload tool.

Also a small 3dm file for comparison would be good (just a simple box model is enough) - you can attach that here in a reply.

If we can reproduce the crash, we typically can fix it rather quickly so please send us a sample using the link Nathan provided.

I would also recommend getting on the latest service release of Rhino 8 which is currently 8.12.