BUG: Crash Exporting Multiple Pages to PDF

If I try to export multiple layout pages (either all pages or selected pages) to PDF, Rhino crashes.

Hi John -
I’m not seeing that here.
Could you provide more information? SystemInfo, required steps to reproduce the crash, 3dm file?
Are you sending in the Rhino crash reports?

I had seen this before but I had largely stopped doing files file more than one layout.
I I do

And do either one of these, I get a Rhino Crash

Hi John -

So, that means that when you do the same with the file that I’m attaching here, your Rhino crashes?
BUG - Crash Exporting Multiple Pages to PDF.3dm (1.2 MB)


Yours does not crash my system. So there must be some added factor in the file. I am uploading one of mine right now that does crash. Every one of mine crashes so I have split most of my multi-page files into single pages. I still have a few left.

Hi John -

… or the system. This works fine on my Mac:

As requested before, please post your SystemInfo data.

Rhino 7 SR24 2022-11-4 (Rhino 7, 7.24.22308.15002, Git hash:master @ cb2ad12922ceb989b185972675bb705a00abb97d)
License type: Commercial, build 2022-11-04
License details: Cloud Zoo

Apple macOS Version 12.6.1 (Build 21G217) (Physical RAM: 64Gb)
Rhino is running in Rosetta2 on Apple Silicon
Mac Model Identifier: MacBookPro18,2
Language: en-US (MacOS default)

Apple M1 Max (OpenGL ver:4.1 Metal - 76.3)

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: Apple
Render version: 4.1
Shading Language: 4.10
Maximum Texture size: 16384 x 16384
Z-Buffer depth: n/a
Maximum Viewport size: 16384 x 16384
Total Video Memory: 48 GB
Graphics: Apple M1 Max
Displays: Unknown (255dpi 2x)

Graphics processors
Apple M1 Max
Color LCD (1728 x 1117 @ 120.00Hz)

USB devices

Bluetooth devices

Third party kernel extensions

Third party plugins

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 7.24.22308.15002
/Applications/Rhino 7.app/Contents/PlugIns/import_PDF.rhp “PDFReader” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 7.24.22308.15002
/Applications/Rhino 7.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/PlugIns/AnimationTools.rhp “AnimationTools” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 7.24.22308.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 7.24.22308.15002
/Applications/Rhino 7.app/Contents/PlugIns/Displacement.rhp “Displacement” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 7.24.22308.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 7.24.22308.15002
/Applications/Rhino 7.app/Contents/PlugIns/RhinoRender.rhp “Legacy Rhino Render” 7.24.22308.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_PDF.rhp “PDF Export” 7.24.22308.15002

Thanks, John.
I hear from eMail support that they are looking into this issue with a machine that is similar to yours.

It’s still a mystery why it happens to me and no one else. I guess it’s like that dark cloud that always follows me around when I walk around the neighborhood.

FWIW I am on 12.6 (not 12.6.1) on my M1 (not M1 Max. Also my machine is an MacBookPro17,1). I was also able to export multiple layouts.

Do you have many documents open when you try exporting this document to PDF?

We were able to work with @miano to find a workaround.
He is running Rhino 7 sr24 on M1 with Monterey 12.6.1.
The workaround was to use a command: TestPDFExport.

This is an under development command and is popular because it exports layouts that are different sheet sizes. But if you are having having trouble with ExportAll to PDF, give it a try.
Also Print → to PDF also worked for @miano.

We also discovered some other interesting
@nathanletwory has a M1 with Monterey 12.6 and did not have any issue with this commands.
@kyle has a M1 with Ventura, not only locked up with ExportAll -PDF, but he could not use TestPDFExport either. It also locked up too.

In Kyle’s case, the only work around is Print → PDF.

We have logged RH-71740 (private) for the Monterey issue and RH-71741 (private) for the Ventura issue.
We will let you know when we see a fix.

Let us know if you have experiencing the same issue.
Mary Ann Fugier

No, I only do this when I am trying to make it crash now! So I only will have one file open.