Rhino 8 mac crashes after exporting to dwg

  1. Open any 3dm file created with rhino 8 mac
  2. Export to dwg. It creates dwg everything OK no problems there.
  3. Try close Rhino 8. And it produces this message:

and creates this file

Screenshot 2026-10-28 at 10.17.26

Thread 0 crashed inside exit() → __cxa_finalize_ranges. That is the stage after Rhino has already closed your documents, when macOS runs the static destructors of every loaded library. The failing call chain is:

OdSingletonRegistration::~OdSingletonRegistration() (libTD_Ge) → OdString operator+ → OdCharMapper::multiByteToWideChar → odrxSystemServices() → __cxa_pure_virtual → abort()

The libTD_* / .tx libraries are the Open Design Alliance (Teigha) DWG engine. They only get loaded when you export through export_ACAD.rhp, which is why the crash appears only after a DWG export. When Rhino quits, the ODA “system services” object is torn down before one of the geometry library’s singletons. That singleton’s destructor then tries to build a string, the string needs system services for character conversion, and it ends up calling a method on an object that no longer exists (a pure virtual call). This is a classic static-destruction-order bug in how the ODA libraries are unloaded. It is not caused by your file, your setup, or plugins.

Hi Virgis -
Please run the Rhino SystemInfo command and copy-paste its output here.

When Rhino crashes, does the “Sad Rhino” crash dialog also pop up?
-wim

Rhino 8 SR36 2026-10-23 (Rhino 8, 8.36.26296.17002, Git hash:master @ 67b86f484e418b0eb5432b6f9733383ebb6b7caf)
License type: Commercial, build 2026-10-23
License details: Cloud Zoo

Apple macOS Version 27.0.1 (Build 26A434) (Physical RAM: 48GB)
Mac Model Identifier: Mac16,7
Language: en-LT (MacOS default)
.NET 10.0.8

Metal GPU Family Apple 7
Metal GPU Family Common 3
Metal GPU Family Mac 2
Graphics processors
Apple M4 Pro
Color LCD (1728 x 1117 @ 120.00Hz)
PL2493H (1920 x 1080 @ 75.00Hz)
PL2492H (1920 x 1080 @ 75.00Hz)
GPU Vendor: Apple

USB devices
Apple Inc.: USB3.1 Hub
Apple Inc: USB-C Digital AV Multiport Adapter
Kingston: XS2000

Bluetooth devices
None

Third party kernel extensions
None

Third party plugins
/usr/lib/objc/libobjcMsgSend.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftObservation.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftSpatial.dylib
/usr/lib/swift/libswiftSynchronization.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswift_Builtin_float.dylib
/usr/lib/swift/libswift_Concurrency.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftSystem.dylib
/usr/lib/swift/libswift_DarwinFoundation1.dylib
/usr/lib/swift/libswift_StringProcessing.dylib
/usr/lib/swift/libswiftDistributed.dylib
/usr/lib/swift/libswift_DarwinFoundation2.dylib
/usr/lib/swift/libswift_DarwinFoundation3.dylib
/usr/lib/swift/libswift_RegexParser.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftRegexBuilder.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswiftMLCompute.dylib
/usr/lib/swift/libswiftNaturalLanguage.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftFoundation.dylib
/usr/lib/swift/libswiftSwiftOnoneSupport.dylib
/usr/lib/swift/libswiftsys_time.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftCoreMediaIO.dylib
/usr/lib/swift/libswiftCallKit.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/objc/libobjcMsgSend1.dylib
/usr/lib/objc/libobjcMsgSend2.dylib
/usr/lib/objc/libobjcMsgSend3.dylib
/usr/lib/objc/libobjcMsgSend4.dylib
/usr/lib/objc/libobjcMsgSend5.dylib
/usr/lib/objc/libobjcMsgSend6.dylib
/usr/lib/objc/libobjcMsgSend7.dylib
/usr/lib/objc/libobjcMsgSend8.dylib
/usr/lib/objc/libobjcMsgSend9.dylib
/usr/lib/objc/libobjcMsgSend10.dylib
/usr/lib/objc/libobjcMsgSend11.dylib
/usr/lib/objc/libobjcMsgSend12.dylib
/usr/lib/objc/libobjcMsgSend13.dylib
/usr/lib/objc/libobjcMsgSend14.dylib
/usr/lib/objc/libobjcMsgSend15.dylib
/usr/lib/objc/libobjcMsgSend16.dylib
/usr/lib/objc/libobjcMsgSend17.dylib
/usr/lib/objc/libobjcMsgSend18.dylib
/usr/lib/objc/libobjcMsgSend19.dylib
/usr/lib/objc/libobjcMsgSend20.dylib
/usr/lib/objc/libobjcMsgSend21.dylib
/usr/lib/objc/libobjcMsgSend22.dylib
/usr/lib/objc/libobjcMsgSend23.dylib
/usr/lib/objc/libobjcMsgSend24.dylib
/usr/lib/objc/libobjcMsgSend25.dylib
/usr/lib/objc/libobjcMsgSend26.dylib
/usr/lib/objc/libobjcMsgSend27.dylib
/usr/lib/objc/libobjcMsgSend28.dylib
/usr/lib/objc/libobjcMsgSend29.dylib
/usr/lib/objc/libobjcMsgSend30.dylib
/usr/lib/objc/libobjcMsgSend31.dylib
/usr/lib/objc/libobjcMsgSend32.dylib
/usr/lib/objc/libobjcMsgSend33.dylib
/usr/lib/objc/libobjcMsgSend34.dylib
/usr/lib/swift/libswiftPassKit.dylib
/usr/lib/swift/libswiftAppleArchive.dylib
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftMetalKit.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/usd/libusd_ms.dylib
/usr/lib/swift/libswift_errno.dylib
/usr/lib/swift/libswiftExtensionFoundation.dylib
/usr/lib/swift/libswiftGameplayKit.dylib
/usr/lib/swift/libswiftSpriteKit.dylib
/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libMetalMetricsInterpose.dylib

Rhino plugins that do not ship with Rhino
/Users/m4_512/Library/Application Support/McNeel/Rhinoceros/packages/8.0/ggRhinoIFC/26.10.26.8/net8.0/ggRhinoIFC.rhp “ggRhinoIFC” 26.10.26.8

Rhino plugins that ship with Rhino
/Applications/Rhino 8.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/PlugIns/AnimationTools.rhp “AnimationTools” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/PlugIns/SectionTools.rhp “SectionTools” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/PlugIns/RhinoRender.rhp “Legacy Rhino Render” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/PlugIns/Displacement.rhp “Displacement” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 8.36.26296.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 8.36.26296.17002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCodePlugin.rhp “RhinoCodePlugin” 8.36.26296.17002

Hi,

No sad face. Just this dialog and crash report in Documents folder.

BR,

ACadSharp.SafeDwgExport.dll.zip (502.8 KB)

SafeDwgExport_v9.cs.zip (22.6 KB)

This script exports to DWG without crashing Rhino 8 on Mac afterward. The DLL should be in the same folder as the script.