News:

 

Topic: Fatal Error while undoing Loop Inserts  (Read 13821 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 22
  • Vertex
July 08, 2012, 02:12:02 pm
While I was undoing multiple cuts I got a Fatal Error:

Code: [Select]
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean selectedEdgeOnly, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.CutLineIndicator.CreateEdgeConnectIndication(Boolean externalCall, Edge edgeToWorkOn, Int32 numConnections, Boolean snapToEdgeMidPointIn, Boolean fixedLengthIn, ArrayList& createdLoopEdges, ArrayList& indicPts)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.RenderIndicationEdges(Boolean outSideCall, Edge edge, Single edgePos, Int32 numConnections, Boolean snapToEdgeMidPtIn, Boolean fixedLengthIn)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.Render()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.Render()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderObjects()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render()
   in DigitalFossil.BaseGraphicWindow.Render3DEnvironment()
   in DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)

rev. July 08 2012, Windows 7 x64

  • No avatar
  • Posts: 3713
  • Developer
  • Administrator
  • Polygon
July 08, 2012, 03:29:28 pm
Is it possible you can reproduce the error?

  • Posts: 22
  • Vertex
July 08, 2012, 04:16:31 pm
Is it possible you can reproduce the error?

Unfortunately not, but I got another one hitting undoing all the stack and the redoing it all hitting the keys like crazy (anyway, how to increase undo stacks?)




Code: [Select]
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean selectedEdgeOnly, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.ConnectEdgeInner(Edge& edgeToWorkOn, Single edgePosIn, Boolean externalCall, Boolean externalCallSelectionOnly, Int32 externalCallNumCuts, Boolean snapToEdgeMidPointIn, Boolean fixedLengthIn, Boolean usePrevFixedLengthIn, Boolean isDoubleLoopCut, Boolean keepKeyInTemporaryMode, ArrayList& createdLoopEdges, ArrayList& slideVertsA, ArrayList& slideVertOriginalPositionsA, ArrayList& slideVertDirectionsA, ArrayList& slideVertsB, ArrayList& slideVertOriginalPositionsB, ArrayList& slideVertDirectionsB)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.ConnectEdge(Edge& edgeToWorkOn, Single edgePosIn, Boolean externalCall, Boolean externalCallSelectionOnly, Int32 externalCallNumCuts, Boolean snapToEdgeMidPointIn, Boolean fixedLengthIn, Boolean usePrevFixedLengthIn, Boolean isDoubleLoopCut, Boolean keepKeyInTemporaryMode, ArrayList& createdLoopEdges, ArrayList& slideVertsA, ArrayList& slideVertOriginalPositionsA, ArrayList& slideVertDirectionsA, ArrayList& slideVertsB, ArrayList& slideVertOriginalPositionsB, ArrayList& slideVertDirectionsB)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.ConnectEdge(Edge& edgeToWorkOn, Single edgePosIn, Boolean externalCall, Boolean externalCallSelectionOnly, Int32 externalCallNumCuts, Boolean snapToEdgeMidPointIn, Boolean fixedLengthIn, Boolean usePrevFixedLengthIn, Boolean keepKeyInTemporaryMode, ArrayList& createdLoopEdges)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.OnMouseDownCore(Object sender, MouseEventArgs e, Boolean fromNonModifyEvent)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.OnMouseDown(Object sender, MouseEventArgs e)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.OnMouseDownMain(Object sender, MouseEventArgs e)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.OnMouseDown(Object sender, MouseEventArgs e)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.OnMouseDown(Object sender, MouseEventArgs e)
   in DigitalFossil.AbstractGraphicWindow.CursorClerk.OnMouseDown(Object sender, MouseEventArgs e)
   in System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
   in System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   in System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VoidWorld 2.4
    Versione assembly: 2.3.4572.2441
    Versione Win32: 2.3.4572.2441
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/VoidWorld%202.4.exe
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CharacterClasses
    Versione assembly: 2.3.4572.2428
    Versione Win32: 2.3.4572.2428
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/CharacterClasses.DLL
----------------------------------------
Microsoft.DirectX
    Versione assembly: 1.0.1901.0
    Versione Win32: 5.3.0000001.1126 built by: DIRECTX
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
    Versione assembly: 1.0.1901.0
    Versione Win32: 5.3.0000001.1126 built by: DIRECTX
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
System.Xml
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WorkShop
    Versione assembly: 2.3.4572.2435
    Versione Win32: 2.3.4572.2435
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/WorkShop.DLL
----------------------------------------
BasicD3DClasses
    Versione assembly: 2.3.4572.2429
    Versione Win32: 2.3.4572.2429
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/BasicD3DClasses.DLL
----------------------------------------
DevExpress.XtraBars.v10.2
    Versione assembly: 10.2.4.0
    Versione Win32: 10.2.4.0
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/DevExpress.XtraBars.v10.2.DLL
----------------------------------------
DevExpress.Utils.v10.2
    Versione assembly: 10.2.4.0
    Versione Win32: 10.2.4.0
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/DevExpress.Utils.v10.2.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
    Versione assembly: 1.0.1901.0
    Versione Win32: 5.3.0000001.1126 built by: DIRECTX
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
DevExpress.Data.v10.2
    Versione assembly: 10.2.4.0
    Versione Win32: 10.2.4.0
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/DevExpress.Data.v10.2.DLL
----------------------------------------
DevExpress.XtraEditors.v10.2
    Versione assembly: 10.2.4.0
    Versione Win32: 10.2.4.0
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
mscorlib.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.DirectX.DirectInput
    Versione assembly: 1.0.1901.0
    Versione Win32: 5.3.0000001.1126 built by: DIRECTX
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/Microsoft.DirectX.DirectInput.DLL
----------------------------------------
Microsoft.DirectX.DirectSound
    Versione assembly: 1.0.1901.0
    Versione Win32: 5.3.0000001.1126 built by: DIRECTX
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/Microsoft.DirectX.DirectSound.DLL
----------------------------------------
Microsoft.VisualC
    Versione assembly: 8.0.0.0
    Versione Win32: 8.00.50727.4927
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
Accessibility
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
AnimationPlay
    Versione assembly: 1.0.4572.2441
    Versione Win32: 1.0.4572.2441
    Base di codice: file:///C:/Users/USER/Downloads/VoidWorld-Jul-08-12/AnimationPlay.DLL
----------------------------------------
System.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.

Ad esempio:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.



After hitting on Continue, VoidWorld keeps working as before, no crashes or graphical glitches, sorry for the partial Italian text, I hope the error message is comprehensible.

Also, thanks for the Tab and Caps Lock WMB simulators.

  • No avatar
  • Posts: 3713
  • Developer
  • Administrator
  • Polygon
July 08, 2012, 04:34:36 pm
Edit > Options > Set Undo Level.

If you can reproduce the error, I'll be able to fix it. It just won't happen to me.

  • Posts: 22
  • Vertex
July 08, 2012, 04:50:22 pm
Edit > Options > Set Undo Level.

Thanks

Quote
If you can reproduce the error, I'll be able to fix it. It just won't happen to me.

I got the error again, I was setting up new shortcuts (so with the Customize Tools window opened), deleted 2 previews objects, made a new cube, hit on Loop Insert, Fatal Error.

Code: [Select]
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean selectedEdgeOnly, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.CutLineIndicator.CreateEdgeConnectIndication(Boolean externalCall, Edge edgeToWorkOn, Int32 numConnections, Boolean snapToEdgeMidPointIn, Boolean fixedLengthIn, ArrayList& createdLoopEdges, ArrayList& indicPts)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.RenderIndicationEdges(Boolean outSideCall, Edge edge, Single edgePos, Int32 numConnections, Boolean snapToEdgeMidPtIn, Boolean fixedLengthIn)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.Render()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.Render()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderObjects()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render()
   in DigitalFossil.BaseGraphicWindow.Render3DEnvironment()
   in DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)

I couldn't replicate it again after restarting the program.

  • No avatar
  • Posts: 3713
  • Developer
  • Administrator
  • Polygon
July 08, 2012, 05:03:55 pm
The first error is about rendering, can be fixed easily.

What really worries me is the second error that occured when you clicked mouse button down to create cut lines. Can you reproduce it?

  • Posts: 22
  • Vertex
July 08, 2012, 05:58:28 pm
The first error is about rendering, can be fixed easily.

What really worries me is the second error that occured when you clicked mouse button down to create cut lines. Can you reproduce it?

I can only randomly trigger it, it happened again

Code: [Select]
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean selectedEdgeOnly, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowEdgeRingSelection(Edge e, Edge edgePrev, Boolean& firstPhase, Boolean& growed, ArrayList edgesInRing, Boolean markEdgeAsSelected, Boolean stopAtSelectedEdge, Boolean allowNonQuadMixing)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.CutLineIndicator.CreateEdgeConnectIndication(Boolean externalCall, Edge edgeToWorkOn, Int32 numConnections, Boolean snapToEdgeMidPointIn, Boolean fixedLengthIn, ArrayList& createdLoopEdges, ArrayList& indicPts)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.RenderIndicationEdges(Boolean outSideCall, Edge edge, Single edgePos, Int32 numConnections, Boolean snapToEdgeMidPtIn, Boolean fixedLengthIn)
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ConnectEdgeOp.Render()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.Render()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderObjects()
   in DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render()
   in DigitalFossil.BaseGraphicWindow.Render3DEnvironment()
   in DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)

Looks that it happens when the Customize Tool window is open, the last one happened when the window was minimized, selected the Loop Insert tool and the window popped up, minimized again, and behind it there was the error message window, meanwhile I found other two bugs, that I'll post now.

  • No avatar
  • Posts: 3713
  • Developer
  • Administrator
  • Polygon
July 09, 2012, 01:55:14 pm
Fixed. Should never happen again.

  • Posts: 22
  • Vertex
July 10, 2012, 08:55:43 am
Fixed. Should never happen again.

Thanks :)