Announcement

Collapse
No announcement yet.

rhino crash with vantage / The process was terminated due to an unhandled exception / Attempted to read or write protected memory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rhino crash with vantage / The process was terminated due to an unhandled exception / Attempted to read or write protected memory

    Hi,

    Rhino crashes when working in Vray Vantage, this happens only when selecting a material in rhino with vantage open.

    Click image for larger version  Name:	Schermafbeelding 2024-12-19 105850.png Views:	0 Size:	368.2 KB ID:	1223420

    I'm getting this data from windows event manager:
    Application: Rhino.exe CoreCLR Version: 7.0.2024.26716 .NET Version: 7.0.20 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack: at UnsafeNativeMethods.Rdk_Globals_GenerateQuickConte ntPreview(IntPtr,
    ​...........

    Please give me some hint where I can fix the issue.

    Looking forward to hear from you.

    Thanks,

    Jacob

    Application: Rhino.exe
    CoreCLR Version: 7.0.2024.26716
    .NET Version: 7.0.20
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Stack:
    at UnsafeNativeMethods.Rdk_Globals_GenerateQuickConte ntPreview(IntPtr, Int32, Int32, IntPtr, Boolean, Int32, UInt32 ByRef)
    at UnsafeNativeMethods.Rdk_Globals_GenerateQuickConte ntPreview(IntPtr, Int32, Int32, IntPtr, Boolean, Int32, UInt32 ByRef)
    at Rhino.Render.RenderContent.GenerateQuickContentPre view(Rhino.Render.RenderContent, Int32, Int32, Rhino.Render.PreviewSceneServer, Boolean, Int32, Rhino.Commands.Result ByRef)
    at RDK.Controls.NewContentControl.NewContentCtrlViewM odel.GenerateQuickContentPreview(Rhino.Render.Rend erContent, Boolean, Rhino.Render.PreviewAppearance, Rhino.Render.SceneServerDataUsage, Int32, Rhino.Commands.Result ByRef, Int32, Int32)
    at RDK.Controls.NewContentControl.NewContentCtrlViewM odel.CreatePreviewImagesAll(Boolean)
    at RDK.Controls.NewContentControl.NewContentCtrlViewM odel.DisplayData()
    at RDK.Controls.NewContentControl.NewContentCtrlViewM odel.OnDataChanged(System.Object, Rhino.UI.Controls.DataSource.EventInfoArgs)
    at UnsafeNativeMethods.IRhinoUiController_Commit(IntP tr, System.Guid)
    at UnsafeNativeMethods.IRhinoUiController_Commit(IntP tr, System.Guid)
    at RDK.Controls.GenericController.Commit(System.Guid)
    at RDK.Controls.NewContentControl.NewContentCtrlViewM odel.SelectContents(Rhino.Render.RenderContentColl ection)
    at RDK.Controls.NewContentControl.NewContentCtrl.Sele ctContents(Rhino.Render.RenderContentCollection)
    at RDK.Panels.ObjectMaterialPropertiesPage.ObjectMate rialSection.RefreshUICallback()
    at RDK.Panels.ObjectMaterialPropertiesPage.ObjectMate rialSection.RefreshUI()
    at RDK.Panels.ObjectMaterialPropertiesPage.ObjectMate rialSection.DisplayData(Rhino.RhinoDoc, Rhino.DocObjects.RhinoObject[])
    at RDK.Panels.ObjectMaterialPropertiesPage.ObjectMate rialPropertiesPage.UpdatePage(Rhino.UI.ObjectPrope rtiesPageEventArgs)
    at Rhino.UI.RhinoPageHooks.PropertiesPanelUpdatePageH ook(IntPtr, System.Guid)




    Attached Files
    Last edited by jjoostwoud; 19-12-2024, 03:14 AM.

  • #2
    Hi,

    This seem to be a combination of an issue in Rhino and a wrong assumption of ours that there can be no issue in Rhino.
    Seems to occur only when the material panel had not be previously activated (not initialized). If you activate it at least once, prior the live link connection, there is no issue afterwards.
    Anyway, I fixed it already and the next update will include it.

    Thanks for reporting

    Comment


    • #3
      Hi,

      Unfortunately, that doesn't work for me. When is the update coming? I can't use the program like this.

      Jacob

      Comment

      Working...
      X