DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.7k stars 628 forks source link

Crash report from Dynamo 2.5.0.7460 #11084

Open vykrum opened 3 years ago

vykrum commented 3 years ago

Issue Description

Crash on enlarging a Watch 3D node

What did you do?

Stretched the extents of Watch3D (far and quickly)

What did you expect to see?

A larger Watch3D window

What did you see instead?

crash20200901

watch3D.zip

What packages or external references (if any) were used?

None

Stack Trace

HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.

   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
   at HelixToolkit.Wpf.SharpDX.DPFCanvas.CreateAndBindTargets()
   at HelixToolkit.Wpf.SharpDX.DPFCanvas.<OnRenderSizeChanged>b__77_0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OS: Microsoft Windows NT 10.0.19041.0 CLR: 4.0.30319.42000 Dynamo: 2.5.0.7460

Amoursol commented 3 years ago

Thanks for reporting @vykrum - I can't reproduce with a simple cuboid. Were you trying to look at lots of geometry at once?

Amoursol commented 3 years ago

@aparajit-pratap @QilongTang do either of you have any thoughts based on the Stack Trace as to what could be the issue here?

vykrum commented 3 years ago

Crashed while demonstrating this with just the cuboid. The attached file is the one that crashed. Was attempting to make Watch3D large, quickly.
Quick more than Large has something to do with the crash, as I didn't have trouble on a subsequent attempt (in Sandbox though)