Rhino 6.3 bug - Raytraced display mode crashes Rhino

unhandled

#1

Raytraced display mode hangs up Rhino 6.3. It did not happen in Rhino 6.1rhino%20hanged%20up.


(Nathan 'jesterKing' Letwory) #2

Any specific steps you do to get it to hang? I’ve been using 6.3.18090.471 since it was released daily without any hangs.


#3

No specific steps. This is the 3DM file which caused the crash twice: junkR6-1.3dm (857.5 KB)

This is the crash file: RhinoDotNetCrash.txt (1.1 KB)

I cannot upload the dump file (RhinoCrashDump.dmp).


(Nathan 'jesterKing' Letwory) #4

If you got a dmp file, please upload it at www.rhino3d.com/upload and use nathan@mcneel.com as recipient.

Thank you.


#5

I have just uploaded the dump file. (First upload is empty.)


(Nathan 'jesterKing' Letwory) #6

Thank you, investigating now.

@Andrew_Nowicki, the crashdump contains good information, but it’d be useful to know what you where doing when the file caused a crash. Just opening and switching to Raytraced doesn’t crash, but no doubt some action did. If you could recall your steps leading up to any of the two crashes.


#7

[quote=“nathanletwory, post:6, topic:60387”]
Just opening and switching to Raytraced doesn’t crash,
It does crash. System info:

Rhino 6 SR3 2018-3-31 (Rhino 6, 6.3.18090.471, Git hash:master @ b32d93f452fce970e96deb46bfc68b075f06b290)

Windows 10.0 SR0.0 or greater (Physical RAM: 32Gb)

Quadro K2000M/PCIe/SSE2 (OpenGL ver:4.6.0 NVIDIA 391.03)

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: Height

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 2-27-2018
Driver Version: 23.21.13.9103
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 2 GB

C:\Program Files\Rhino 6\Plug-ins\Commands.rhp “Commands”
C:\Program Files\Rhino 6\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Bongo 2.0 (64-bit)\Rhino6\Bongo.20.rhp “Bongo 2.0”
C:\Program Files\Rhino 6\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 6\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 6\Plug-ins\RhinoRender.rhp “Rhino Render”
C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp “RDK_EtoUI”
C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins\Flamingo nXt 5.0 (fd53f8c4-546d-47d1-8820-e66c97645a97)\5.5.18018.1000\5.5\Legacy\Flamingo.Legacy.dll "Flamingo nXt Legacy File Reader "
C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp “RhinoCycles”
C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp “Toolbars”
C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Bongo 2.0 (64-bit)\BongoUI.20.v60.rhp “BongoUI20v60”
C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins\Flamingo nXt 5.0 (fd53f8c4-546d-47d1-8820-e66c97645a97)\5.5.18053.1000\5.5\Flamingo.nXt.rhp “Flamingo nXt 5.5”


#8

I have updated NVIDIA driver from 391.03 to 391.33. It did not help - Rhino 6.3 crashes as soon as I switch display mode to Raytraced.


(Nathan 'jesterKing' Letwory) #9

I have a change for code ready that at least works around the potential crash - I’d still like to know better steps to reproduce. Just changing to Raytraced doesn’t crash for me. Do you have any non-default Raytraced and Cycles settings? Please go to Tools > Options > Advanced, typeRhinoCyclesin the filter and selectOnly display modified values`. Please post a screencapture of any modified values.


#10


(Nathan 'jesterKing' Letwory) #11

I’ll try tomorrow reproducing the crash without my patch.


(Nathan 'jesterKing' Letwory) #12

I unfortunately still don’t know how the code gets into this situation, but I can ensure at least no crash happens.

RH-45536


#13

If I change the RhinoCycles.SelectedDeviceStr to its default value, the Raytraced mode also crashes Rhino.


(Nathan 'jesterKing' Letwory) #14

This particular crash is fixed in the upcoming 6.4


(U D 00) #15

Hello, same problem and I’ve installed:
Versione 6 SR5
(6.5.18132.5131, 12/05/2018)

Also, when 2D drawing a curve, I see the preview but when I end the command everything disappears. Ctrl+A selects the curves but I can’t see them.


(U D 00) #16

The .txt file named “RhinoDotNetCrash” reports:

System::Windows::Forms::Application::ThreadException event occurred

SENDER: System.Threading.Thread

EXCEPTION: System.Runtime.InteropServices.ExternalException
MESSAGE: Errore generico in GDI+.
SOURCE: “System.Drawing”
CALL STACK
in System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat)
in System.Windows.Forms.Label.GetPreferredSizeCore(Size proposedConstraints)
in System.Windows.Forms.Control.GetPreferredSize(Size proposedSize)
in System.Windows.Forms.Label.GetPreferredSize(Size proposedSize)
in System.Windows.Forms.Layout.TableLayout.InflateColumns(ContainerInfo containerInfo, Size proposedConstraints, Boolean measureOnly)
in System.Windows.Forms.Layout.TableLayout.ApplyStyles(ContainerInfo containerInfo, Size proposedConstraints, Boolean measureOnly)
in System.Windows.Forms.Layout.TableLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
in System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
in System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
in System.Windows.Forms.TableLayoutPanel.OnLayout(LayoutEventArgs levent)
in System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
in System.Windows.Forms.Control.PerformLayout()
in System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
in System.Windows.Forms.Layout.LayoutTransaction.Dispose()
in System.Windows.Forms.Label.OnTextChanged(EventArgs e)
in System.Windows.Forms.Control.set_Text(String value)
in RhinoWindows.WindowsLocalization.LocalizationStringTable.LocalizeControlTree(String formName, String formClassName, Control ctrl, ToolTip[] tooltips)
in RhinoWindows.WindowsLocalization.LocalizationStringTable.LocalizeControlTree(String formName, String formClassName, Control ctrl, ToolTip[] tooltips)
in RhinoWindows.WindowsLocalization.LocalizationStringTable.LocalizeControlTree(String formName, String formClassName, Control ctrl, ToolTip[] tooltips)
in RhinoWindows.WindowsLocalization.LocalizationStringTable.LocalizeControlTree(String formName, String formClassName, Control ctrl, ToolTip[] tooltips)
in RhinoWindows.WindowsLocalization.LocalizationUtils.LocalizeForm(Assembly assembly, Int32 languageId, Control form)
in RhinoSplash.LicensePanel.Init()
in System.Windows.Forms.UserControl.OnLoad(EventArgs e)
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
in RhinoSplash.Splash.TabActivated(Object sender, TabActivatedEventArgs e)
in System.EventHandler`1.Invoke(Object sender, TEventArgs e)
in RhinoSplash.TabPanel.set_ActiveTab(Tabs value)
in RhinoSplash.Splash.Splash_Load(Object sender, EventArgs e)
in System.Windows.Forms.Form.OnLoad(EventArgs e)
in System.Windows.Forms.Form.OnCreateControl()
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.WmShowWindow(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.Form.WmShowWindow(Message& m)
in RhinoSplash.Splash.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


(Nathan 'jesterKing' Letwory) #17

Are you sure you are using Raytraced when the crash happens?


(U D 00) #18

Ok, I solved the 2D drawing problem by clicking on Options>View>OpenGL page and un-checking the setting for GPU tessellation as suggested in:

But still, the program crashes immediately using Raytraced display mode. Yes Nathan, I’m sure:

I think it could be related to the video card drivers, but the last time I upgraded my Nvidia I had several computer crushes with blue screen, so I went back before the update… It has to be here the issue


(Nathan 'jesterKing' Letwory) #19

@u_d_00 Please paste the results of Help\Rightarrow System\;Information.


(U D 00) #20

Rhino 6 SR5 2018-5-12 (Rhino 6, 6.5.18132.5131, Git hash:master @ b8b8945d46018b7f175f54f1e384ede46df9745d)
Licence type: Evaluation, build 2018-05-12
License details: Stand-Alone
Expires on: 2018-08-11

Windows 8.1 (Physical RAM: 16Gb)
Machine name: PC-UTENTE

GeForce GTX 860M/PCIe/SSE2 (OpenGL ver:4.4.0)

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: Height

Vendor Name: NVIDIA Corporation
Render version: 4.4
Shading Language: 4.40 NVIDIA via Cg compiler
Driver Date: 9-16-2014
Driver Version: 9.18.13.3360
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

C:\Program Files\Rhino 6\Plug-ins\Commands.rhp “Commands”
C:\Program Files\Rhino 6\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 6\Plug-ins\RhinoRender.rhp “Rhino Render”
C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp “RDK_EtoUI”
C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp “RhinoCycles”
C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp “Toolbars”
C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp “Displacement”