Silent crash with VL.Devices.DigiCamControl

Hey there,

For a project, I’m using VL.Devices.DigiCamControl to control a Canon EOS 90D, which is listed under the DigicamControl website.

The standalone app works correctly and is able to snap pictures as well as streaming the live view. The VL plugin does not seem to recognize the camera :

image

And soon as I create a CameraManager node with the DSLR hooked to the computer, vvvv freezes for two seconds with the blue circle of death and crashes silently.

I tried creating the CameraManager node with no camera connected and the Connect input set to false, no problem :

image

But soon as I connect the camera, even without banging the Connect IOBox, I get the crash behavior described above (I actually don’t even touch my mouse or keyboard).

Same behavior occurs under 2021.3.2, 2020.2.2 and 2021.4.0-0078.

Any hint?

Thanks in advance!
seb

Did you try 2020.1 as well? What I can see it was developed against that version. So maybe that’s worth a try.

IT could be that the libs beneath the patch need updating. The Nugets were pretty out of date compared to the standalone version last time I checked.

Try getting a more up-to-date version of the EDSDK.dll (make sure its the x64 version and replace the one that comes with the Nuget

Thank you both for your answers!

@Elias Yep, getting the same behavior under 2020.1.7.

I looked at what @Hadasi suggested and indeed, it seems the dll that ships with the nuget is pretty outdated and might not work with the 90D.
The EDSDK used by the standalone app is indeed newer and seems to support it, but unfortunately it’s 32bits only. I went to Canon’s dev portal and it looks like you have to request an access and wait for a human to answer to have access to the dlls… pretty crazy but I guess I’ll have to wait :)

Will report here when I put my hands on the newer dlls !

hello,

I can’t get the package to work with 2021.4.7. I tested my camera (EOS70D) with the standalone version of digiCamControl. The standalone app works correctly. There seems to be 2 errors in the vl document.

  1. The OnStart process needs a pad between the create an update function.
    grafik

  2. The forwared class PropertyValue`1 throws an error.
    grafik

Inside the class there are no errors visible
grafik

Trying to delete the class is not possible and brings this error:

delete error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AggregateException: One or more errors occurred. —> System.ArgumentException: Not bound to type!
Parameter name: unspecialized
at VL.Lang.Symbols.SpecializedNodeDefinitionSymbol…ctor(ConcreteTypeInstanceSymbol containingType, INodeDefinitionSymbol unspecialized)
at VL.Lang.Symbols.ConcreteTypeInstanceSymbol.d__73.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable1 items)
at VL.Lang.Symbols.ConcreteTypeInstanceSymbol.get_OperationDefinitions()
at VL.Lang.Symbols.PreCompilation.Find(IConcreteTypeSymbol type, Func2 predicate) at VL.Lang.Symbols.PreCompilation.<GetCreateDefaultValue>g__Compute|71_0(IConcreteTypeSymbol type, HashSet1 touchedNodes)
at VL.Lang.Symbols.PreCompilation.GetCreateDefaultValue(IConcreteTypeSymbol type, HashSet1 touchedNodes) at VL.Lang.Symbols.PatchAndDataflowHelpers.ResolveImplementation(DocSymbols document, INodeDefinitionSymbol node, HashSet1 mindThese, HashSet1 touchedNodes) at VL.Lang.Symbols.PatchAndDataflowHelpers.ResolveImplementation(INodeDefinitionSymbol nodeParameter, DocSymbols document, IEnumerable1 ignore, HashSet1 touchedNodes) at VL.Lang.Symbols.AdaptivePairs.<New>g__Add|0_2(Dictionary2 entries, DocSymbols scope, INodeDefinitionSymbol n)
at VL.Lang.Symbols.AdaptivePairs.g__AddIfNeeded|0_1(Dictionary2 entries, DocSymbols scope, INodeDefinitionSymbol n) at VL.Lang.Symbols.AdaptivePairs.<New>g__Collect|0_0(Dictionary2 entries, DocSymbols scope, ImmutableArray1 symbols, <>c__DisplayClass0_0& ) at VL.Lang.Symbols.AdaptivePairs.<New>g__Collect|0_0(Dictionary2 entries, DocSymbols scope, ImmutableArray1 symbols, <>c__DisplayClass0_0& ) at VL.Lang.Symbols.AdaptivePairs.<New>g__Collect|0_0(Dictionary2 entries, DocSymbols scope, ImmutableArray1 symbols, <>c__DisplayClass0_0& ) at VL.Lang.Symbols.AdaptivePairs.New(PreCompilation compilation, DocSymbols document, DocSymbols previous) at VL.Lang.Symbols.PreCompilation.<>c__DisplayClass9_0.<Initialize>b__5(DocSymbols document) at System.Threading.Tasks.Parallel.<>c__DisplayClass42_02.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body)
at VL.Lang.Symbols.PreCompilation.Initialize(PreCompilation previousCompilation, CancellationToken token, IProgress1 progress) at VL.Lang.Symbols.PreCompilation.WithSolution(Solution value, CompileOptions options, CancellationToken token, IProgress1 progress)
at VL.Model.Solution.WithTempCompilation()
at VL.Lang.View.CanvasView.SyncViewAndModel(Solution solution, Boolean doLayout, Boolean withLocalSymbols)
at VL.Lang.View.MenuFactory.DeleteCurrentSelection()
at VL.HDE.PatchEditor.PatchContextMenu.PerformShortCut(IEnumerable1 menuEntries, Keys shortcut) at VL.HDE.PatchEditor.PatchContextMenu.PerformShortCut(IEnumerable1 menuEntries, Keys shortcut)
at VL.HDE.PatchEditor.EditorControl.ProcessKeyPreview(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
—> (Inner Exception #0) System.ArgumentException: Not bound to type!
Parameter name: unspecialized
at VL.Lang.Symbols.SpecializedNodeDefinitionSymbol…ctor(ConcreteTypeInstanceSymbol containingType, INodeDefinitionSymbol unspecialized)
at VL.Lang.Symbols.ConcreteTypeInstanceSymbol.d__73.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable1 items)
at VL.Lang.Symbols.ConcreteTypeInstanceSymbol.get_OperationDefinitions()
at VL.Lang.Symbols.PreCompilation.Find(IConcreteTypeSymbol type, Func`2 predicate)

if any of the existing function is forwarded from the class vl says that “definition of that name and categorty does exist”

I’ve also tried deleting the class from the vl file via text editor and forwarding the class again, but to no avail. Something under the hood seems weird.

Any hint?

In the moment I got access to the EDSDK. I will try to exchange the dlls and will report back.

Update:
Changing ethe EDSDK dll does not change the behaviour :-(

Update2:
If you enable the reference “VL.Devices.DigiCamControl” this error goes to the console:

console error

http://vvvv.org

System.AggregateException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VL.Lang.Symbols.GenericNodeDefinitionInstanceSymbol.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer1.GetHashCode(T obj) at System.Collections.Generic.Dictionary2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetContainingTypeExpression(INodeDefinitionSymbol operation) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetMemberAccess(IOperationDefinitionSymbol op, WitnessParameter witness, ExpressionSyntax instanceExpression, Boolean forceCallOnDeclaringClass) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetDefaultExpression(ITypeSymbol t, WitnessParameter witness, ICollection1 statements, Boolean omitType)
at VL.Lang.Platforms.Roslyn.PatchCompiler.GenerateNodeApplicationStatements(IPatchSymbol patch, INodeSymbol node, INodeSymbol region, PatchState state)
at VL.Lang.Platforms.Roslyn.PatchCompiler.GeneratePatchStatements(IPatchSymbol patch, INodeSymbol currentRegion, PatchState state, Boolean annotate)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__GenerateOperationStatements|81(StatementBuilder statementBuilder, PatchState rootState, ExpressionSyntax tracerLocal, <>c__DisplayClass59_14& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__GetMethod|76(IOperationDefinitionSymbol operation, IPatchSymbol patch, Boolean methodTracingEnabled, Boolean isTraceMethod, UInt32 topLevelPatchId, Boolean createSubContexts, <>c__DisplayClass59_13& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__ProduceMethodPair|70(IOperationDefinitionSymbol operation, <>c__DisplayClass59_13& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.<g__GetMembers|68>d.MoveNext()
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_3.g__CreateTypeDeclarationFromState|29(PatchState state, IConcreteTypeSymbol type, IPatchSymbol patch, Boolean isPartialClass, Boolean tracingEnabled, Int32 declIndent, TypeSyntax abstractBaseType, Boolean isNested)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_1.g__GetNamespaceMembers|5(ThreadNameSyntaxGenerator nameGenerator, CategoryAndSmell category, IEnumerable1 definitions, Int32 indent) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_2.<CreateSyntaxTrees>b__8(Int32 i, ParallelLoopState pls, ThreadNameSyntaxGenerator nameGenerator) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.For[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Func1 localInit, Func4 body, Action1 localFinally)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_1.g__CreateDeclarations|4(List1 decls) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_0.<CreateSyntaxTrees>g__GetSyntaxTree|2(DocumentBuildRequest buildRequest) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_0.<CreateSyntaxTrees>b__1(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body)
at VL.Lang.Platforms.Roslyn.TargetCompilation.CreateSyntaxTrees(ProjectNameSyntaxGenerator projectNameGenerator, ProjectBuildRequest projectBuildRequest, CancellationToken token, Boolean normalizeWhitespaces, Boolean isExport, IProcessDefinitionSymbol appClient)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass2_0.g__CreateCSharpCompilation|4(ProjectBuildRequest projectBuildRequest, Boolean normalizeWhitespaces)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass2_0.g__Build|2(ProjectBuildRequest projectBuildRequest)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass2_0.g__BuildOrLoad|1(ProjectBuildRequest buildRequest)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass2_1.<b__5>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at VL.Lang.Platforms.Roslyn.TargetCompilation.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Lang.Platforms.Roslyn.TargetCompilation.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Lang.Platforms.Roslyn.TargetCompilation.d__41.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Lang.Platforms.Roslyn.TargetCompilation.d__42.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Model.VLSession.d__163.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Model.VLSession.d__162.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Model.VLSession.d__186.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at VL.Model.VLSession.d__186.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Model.VLSession.d__183.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Model.VLSession.d__179.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Model.VLSession.<>c__DisplayClass180_0.<b__0>d.MoveNext()
—> (Inner Exception #0) System.AggregateException: One or more errors occurred. —> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VL.Lang.Symbols.GenericNodeDefinitionInstanceSymbol.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer1.GetHashCode(T obj) at System.Collections.Generic.Dictionary2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetContainingTypeExpression(INodeDefinitionSymbol operation) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetMemberAccess(IOperationDefinitionSymbol op, WitnessParameter witness, ExpressionSyntax instanceExpression, Boolean forceCallOnDeclaringClass) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetDefaultExpression(ITypeSymbol t, WitnessParameter witness, ICollection1 statements, Boolean omitType)
at VL.Lang.Platforms.Roslyn.PatchCompiler.GenerateNodeApplicationStatements(IPatchSymbol patch, INodeSymbol node, INodeSymbol region, PatchState state)
at VL.Lang.Platforms.Roslyn.PatchCompiler.GeneratePatchStatements(IPatchSymbol patch, INodeSymbol currentRegion, PatchState state, Boolean annotate)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__GenerateOperationStatements|81(StatementBuilder statementBuilder, PatchState rootState, ExpressionSyntax tracerLocal, <>c__DisplayClass59_14& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__GetMethod|76(IOperationDefinitionSymbol operation, IPatchSymbol patch, Boolean methodTracingEnabled, Boolean isTraceMethod, UInt32 topLevelPatchId, Boolean createSubContexts, <>c__DisplayClass59_13& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__ProduceMethodPair|70(IOperationDefinitionSymbol operation, <>c__DisplayClass59_13& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.<g__GetMembers|68>d.MoveNext()
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_3.g__CreateTypeDeclarationFromState|29(PatchState state, IConcreteTypeSymbol type, IPatchSymbol patch, Boolean isPartialClass, Boolean tracingEnabled, Int32 declIndent, TypeSyntax abstractBaseType, Boolean isNested)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_1.g__GetNamespaceMembers|5(ThreadNameSyntaxGenerator nameGenerator, CategoryAndSmell category, IEnumerable1 definitions, Int32 indent) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_2.<CreateSyntaxTrees>b__8(Int32 i, ParallelLoopState pls, ThreadNameSyntaxGenerator nameGenerator) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.For[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Func1 localInit, Func4 body, Action1 localFinally)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_1.g__CreateDeclarations|4(List1 decls) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_0.<CreateSyntaxTrees>g__GetSyntaxTree|2(DocumentBuildRequest buildRequest) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_0.<CreateSyntaxTrees>b__1(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
—> (Inner Exception #0) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VL.Lang.Symbols.GenericNodeDefinitionInstanceSymbol.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer1.GetHashCode(T obj) at System.Collections.Generic.Dictionary2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetContainingTypeExpression(INodeDefinitionSymbol operation) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetMemberAccess(IOperationDefinitionSymbol op, WitnessParameter witness, ExpressionSyntax instanceExpression, Boolean forceCallOnDeclaringClass) at VL.Lang.Platforms.Roslyn.ThreadNameSyntaxGenerator.GetDefaultExpression(ITypeSymbol t, WitnessParameter witness, ICollection1 statements, Boolean omitType)
at VL.Lang.Platforms.Roslyn.PatchCompiler.GenerateNodeApplicationStatements(IPatchSymbol patch, INodeSymbol node, INodeSymbol region, PatchState state)
at VL.Lang.Platforms.Roslyn.PatchCompiler.GeneratePatchStatements(IPatchSymbol patch, INodeSymbol currentRegion, PatchState state, Boolean annotate)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__GenerateOperationStatements|81(StatementBuilder statementBuilder, PatchState rootState, ExpressionSyntax tracerLocal, <>c__DisplayClass59_14& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__GetMethod|76(IOperationDefinitionSymbol operation, IPatchSymbol patch, Boolean methodTracingEnabled, Boolean isTraceMethod, UInt32 topLevelPatchId, Boolean createSubContexts, <>c__DisplayClass59_13& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.g__ProduceMethodPair|70(IOperationDefinitionSymbol operation, <>c__DisplayClass59_13& )
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_12.<g__GetMembers|68>d.MoveNext()
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_3.g__CreateTypeDeclarationFromState|29(PatchState state, IConcreteTypeSymbol type, IPatchSymbol patch, Boolean isPartialClass, Boolean tracingEnabled, Int32 declIndent, TypeSyntax abstractBaseType, Boolean isNested)
at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_1.g__GetNamespaceMembers|5(ThreadNameSyntaxGenerator nameGenerator, CategoryAndSmell category, IEnumerable1 definitions, Int32 indent) at VL.Lang.Platforms.Roslyn.TargetCompilation.<>c__DisplayClass59_2.<CreateSyntaxTrees>b__8(Int32 i, ParallelLoopState pls, ThreadNameSyntaxGenerator nameGenerator) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_01.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<—
<—

please try with the latest version (0.1.4) of this pack now.

On this computer it does not work. Now the behaviour is simular to what @sebescudie discribed in the first post. I can launch vvvv and create the CameraManager node with a camera connect or not. As soon as i create the node vvvv crashes. It takes about 30 seconds or if i try to interact with vvvv.

bN1Aw5ZtGC

Tested with latest preview and 2021.4.8.

Also starting the repro with Visualstudio does not bring up any exception. Will investigate more and will also try it an other computer, and report back.

hey there,
did anyone make any progress here on this issue? unfortunately i don’t have access to the edsdk.dll either :(

Still no progress and not so much time.
But if you want i can send you the newest version of the sdk.

Having a look at this today, I’m getting some interesting behaviour too.
I’m using Gamma 4.10 Stable. I try to look at the CaptureHandler node, and I try to do so by opening the help patch while the program is ‘stopped’. This should mean that nothing is running. I don’t even have a camera plugged in.
However, after a little clicking around, hovering over pins and trying to write notes, Gamma hangs and I need to shut it down.

I think this occurred sometimes when I was first developing the package, and while there may be an issue in the File Transfer part of the project (I was going to ask about whether/how using ‘lock’ would be appropriate) this makes any bug fixing difficult to judge as it seems to be more to do with how gamma is responding to the characteristics of a type than an actual instantiated object in memory.
That’s my first impression anyway.

confirmed. something fishy is going on here. we’ll investigate…

1 Like

fixed some issues, did a cleanup and updated to the latest underlying Canon EDSDK which could potentially support newer models. please test and report.

Canon EOS 70D seems to work fine here know.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.