Dynamo icon indicating copy to clipboard operation
Dynamo copied to clipboard

Crash report from Dynamo 2.3.0.5885

Open lakshyana opened this issue 5 years ago • 6 comments

Issue Description

Please fill in the following information to help us reproduce the issue: Error

What did you do?

(Fill in here) I was running a dynamo script periodically. It runs fine for roughly 100 runs, and then crashes and shows the error message as attached. And when I restart dynamo, it runs fine for another 100 runs or so and then crashes.

What did you expect to see?

(Fill in here)

What did you see instead?

(Fill in here) Error message shown: Array dimensions exceeded supported range.

at System.Collections.Generic.List1.set_Capacity(Int32 value) at System.Collections.Generic.List1.EnsureCapacity(Int32 min) at System.Collections.Generic.List1.Add(T item) at ProtoCore.Runtime.RuntimeMemory.PushStackFrame(StackFrame stackFrame) at ProtoCore.DSASM.Executive.BounceUsingExecutive(Executive executive, Int32 exeblock, Int32 entry, StackFrame stackFrame, Int32 locals, Boolean fepRun, Executive exec, List1 breakpoints) at ProtoScript.Runners.ProtoScriptRunner.ExecuteLive(Core core, RuntimeCore runtimeCore) at ProtoScript.Runners.LiveRunner.Execute(Boolean isCodeCompiled) at ProtoScript.Runners.LiveRunner.ApplyUpdate() at ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(List`1 astList) at ProtoScript.Runners.LiveRunner.SynchronizeInternal(GraphSyncData syncData) at ProtoScript.Runners.LiveRunner.UpdateGraph(GraphSyncData syncData) at Dynamo.Scheduler.UpdateGraphAsyncTask.HandleTaskExecutionCore() at Dynamo.Scheduler.AsyncTask.Execute()

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

(Fill in here)

Stack Trace

(From the Dynamo crash window select 'Details' -> 'Copy' and paste here)

OS: Microsoft Windows NT 6.2.9200.0 CLR: 4.0.30319.42000 Dynamo: 2.3.0.5885

lakshyana avatar Mar 03 '20 20:03 lakshyana

Thank you for submitting the issue to us. We are sorry if you get stuck on your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.

github-actions[bot] avatar Mar 03 '20 20:03 github-actions[bot]

@aparajit-pratap thoughts? It looks like the runtime memory continues to grow - but in periodic mode shouldn't the vm be reset?

mjkkirschner avatar Mar 03 '20 21:03 mjkkirschner

@lakshyanakc thanks for the report - can you attach the graph in question with all necessary dependencies to run it? Or a simpler graph which reproduces the issue?

mjkkirschner avatar Mar 03 '20 21:03 mjkkirschner

Thanks for your response. Here's the link to the folder with the script and other dependencies for your reference. I have created a slightly simpler version of the script. [https://drive.google.com/open?id=1GbUzBlirr5PYMf9I4vpvAnPilldtixu0]

lakshyana avatar Mar 03 '20 21:03 lakshyana

Runtime exception occured. The Type of StackValue is not Integer

at ProtoCore.DSASM.StackValue.get_IntegerValue() at ProtoCore.DSASM.Executive.GetCurrentScope(Int32& classIndex, Int32& functionIndex) at ProtoCore.DSASM.Executive.DEP_Handler(Instruction instruction) at ProtoCore.DSASM.Executive.Execute(Int32 exeblock, Int32 entry, Language language) at ProtoCore.DSASM.Executive.Execute(Int32 exeblock, Int32 entry, List1 breakpoints, Language language) at ProtoCore.DSASM.Executive.BounceUsingExecutive(Executive executive, Int32 exeblock, Int32 entry, StackFrame stackFrame, Int32 locals, Boolean fepRun, Executive exec, List1 breakpoints) at ProtoScript.Runners.ProtoScriptRunner.ExecuteLive(Core core, RuntimeCore runtimeCore) at ProtoScript.Runners.LiveRunner.Execute(Boolean isCodeCompiled) at ProtoScript.Runners.LiveRunner.CompileAndExecute(List1 astList) at ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(List1 astList) at ProtoScript.Runners.LiveRunner.SynchronizeInternal(GraphSyncData syncData) at ProtoScript.Runners.LiveRunner.UpdateGraph(GraphSyncData syncData) at Dynamo.Scheduler.UpdateGraphAsyncTask.HandleTaskExecutionCore() at Dynamo.Scheduler.AsyncTask.Execute()

faizanmaaz avatar Mar 04 '20 10:03 faizanmaaz

tracked internally DYN-6222

avidit avatar Sep 06 '23 19:09 avidit