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:
- 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
- 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
-
Stack Trace Highlights:
opennurbs!ON_Object::CopyUserData+0x57
opennurbs!ON_UserDataHolder::CopyUserDataFrom+0x38
RhinoCore!CRhinoPopupMenu::~CRhinoPopupMenu+0x52dc
mfc140u!CView::OnPaint+0x5f -
Environment:
- OS: Windows 10 (10.0.18362.1)
- Rhino Version: 8.8.24163.12481
- CLR Version: 7.0.2024.26716
- Architecture: x64
- 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:
- Is this a known issue with the current version?
- Are there any workarounds for handling large models?
- 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]