News:

 

Topic: Exception/Crash  (Read 2298 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 2101
  • Polygon
March 06, 2018, 12:00:10 am
I have been seeing issue where the viewport would lock up for several seconds after a zoom_to_fit. Not sure if this crash is the same issue, as I was also having issue with the "Draw polygon" not working correctly.

For the zoom_to_fit. I would have 2 or more vertex selected that are very close together <.001, zoom_to_fit would zoom very cloase, then using alt+rmb to zoom back the view would jump back then lock up for a few seconds. This time there was a crash. Looking at windows log files, there was also a .net framework exception caused by Nvil.

Win7 x64

Exception:-
Code: [Select]
Application: NVil 1.0.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.ExternalException
   at System.Drawing.Region.IsVisible(System.Drawing.PointF, System.Drawing.Graphics)
   at DigitalFossil.AnimationDesign.Component.IsPolyUnderPoint(System.Drawing.Region, DigitalFossil.AnimationDesign.Polygon, DigitalFossil.AnimationDesign.InstancePolygon, Single, Single, Boolean ByRef, SlimDX.Vector3 ByRef, Boolean ByRef)
   at DigitalFossil.AnimationDesign.Component+<>c__DisplayClass44.<FindUnderScrPtPolys>b__3b(System.Tuple`2<Int32,Int32>, System.Threading.Tasks.ParallelLoopState)
   at System.Threading.Tasks.Parallel+<>c__DisplayClass42_0`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<PartitionerForEachWorker>b__1()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(System.Threading.Tasks.Task)
   at System.Threading.Tasks.Task+<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(System.Object)

Exception Info: System.AggregateException
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
   at System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Concurrent.Partitioner`1<System.__Canon>, System.Threading.Tasks.ParallelOptions, System.Action`1<System.__Canon>, System.Action`2<System.__Canon,System.Threading.Tasks.ParallelLoopState>, System.Action`3<System.__Canon,System.Threading.Tasks.ParallelLoopState,Int64>, System.Func`4<System.__Canon,System.Threading.Tasks.ParallelLoopState,System.__Canon,System.__Canon>, System.Func`5<System.__Canon,System.Threading.Tasks.ParallelLoopState,Int64,System.__Canon,System.__Canon>, System.Func`1<System.__Canon>, System.Action`1<System.__Canon>)
   at System.Threading.Tasks.Parallel.ForEach[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Concurrent.Partitioner`1<System.__Canon>, System.Action`2<System.__Canon,System.Threading.Tasks.ParallelLoopState>)
   at DigitalFossil.AnimationDesign.Component.FindUnderScrPtPolys(SlimDX.Vector2, System.Collections.ArrayList, Boolean, Boolean, DigitalFossil.AnimationDesign.Edge ByRef)
   at DigitalFossil.AnimationDesign.Util.GetRayInterceptPolys(Boolean, Single, Single, DigitalFossil.AbstractGraphicWindow, System.Collections.ArrayList, DigitalFossil.AnimationDesign.CharacterHolder, DigitalFossil.AnimationDesign.Component, Boolean, Boolean, Boolean, Boolean, Boolean, System.Collections.ArrayList ByRef)
   at DigitalFossil.AnimationDesign.Util.GetScrRayObjectInterceptPoint(Boolean, Single, Single, DigitalFossil.AbstractGraphicWindow, System.Collections.ArrayList, DigitalFossil.AnimationDesign.CharacterHolder, DigitalFossil.AnimationDesign.Component, Boolean, Boolean, Boolean, Boolean, Boolean, SlimDX.Vector3 ByRef, SlimDX.Vector3 ByRef, System.Object ByRef)
   at DigitalFossil.AnimationDesign.ModelDesigner+StreamLineEngine.DetectItem(Boolean, Boolean, Boolean, Boolean, DigitalFossil.AnimationDesign.Component, Single, Single, Int32, System.Object ByRef, SlimDX.Vector3 ByRef)
   at DigitalFossil.AnimationDesign.ModelDesigner+StreamLineEngine.SetContextItem(Single, Single, Boolean)
   at DigitalFossil.AnimationDesign.ModelDesigner+StreamLineEngine.Update()
   at DigitalFossil.AnimationDesign.ModelDesigner.Update()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.FrameMove()
   at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean)
   at DigitalFossil.BaseGraphicWindow.Render(PresentTarget, Boolean)
   at DigitalFossil.BaseGraphicWindow.FullRender(Boolean, Boolean)
   at DigitalFossil.AnimationDesign.AnimationDesignForm.FullRender()
   at DigitalFossil.AnimationDesign.AnimationDesignForm.Render()
   at DigitalFossil.AnimationDesign.StartForm.DoRender()
   at DigitalFossil.AnimationDesign.StartForm.Run_InMainThread()
   at DigitalFossil.AnimationDesign.StartForm.Main(System.String[])

Crash:-
Code: [Select]
  Problem Event Name: CLR20r3
  Problem Signature 01: NVil 1.0.exe
  Problem Signature 02: 2.3.6634.40380
  Problem Signature 03: 5a97c729
  Problem Signature 04: System.Drawing
  Problem Signature 05: 4.7.2053.0
  Problem Signature 06: 58fa6ced
  Problem Signature 07: 4cc
  Problem Signature 08: 3b
  Problem Signature 09: System.AggregateException
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 2057
  Additional Information 1: c24b
  Additional Information 2: c24be898732c35f2005e18d2c5d00c53
  Additional Information 3: ecf4
  Additional Information 4: ecf4b55bad96cc97488c00931fde7f68