Forum

SVG renderer causes .NET exception

devvvv

#1

Just started receiving a .NET Framework exception when running a script with an SVG renderer. It has worked on a different machine before.

The renderer node is red unless I hide the renderer with right-clicking on it. The renderer otherwise shows and seems to be working, but the node is red. After a while I got this .NET Framework exception:

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

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.get_RawFormat()
   at System.Drawing.Graphics.IgnoreMetafileErrors(Image image, Int32& errorStatus)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
   at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
VVVV.Hosting
    Assembly Version: 1.0.5063.37480
    Win32 Version: 1.0.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.Hosting.DLL
----------------------------------------
VVVV.PluginInterfaces
    Assembly Version: 1.0.5063.37479
    Win32 Version: 1.0.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.PluginInterfaces.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
VVVV.Core
    Assembly Version: 1.0.5063.37478
    Win32 Version: 1.0.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.Core.DLL
----------------------------------------
System.ComponentModel.Composition.Codeplex
    Assembly Version: 4.1.2.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/System.ComponentModel.Composition.Codeplex.DLL
----------------------------------------
Microsoft.Practices.Unity
    Assembly Version: 2.1.505.0
    Win32 Version: 2.1.505.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/Microsoft.Practices.Unity.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ICSharpCode.SharpDevelop.Dom
    Assembly Version: 3.2.1.6466
    Win32 Version: 3.2.1.6466
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/ICSharpCode.SharpDevelop.Dom.DLL
----------------------------------------
log4net
    Assembly Version: 1.2.10.0
    Win32 Version: 1.2.10.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/log4net.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
VVVV.Utils
    Assembly Version: 1.0.5063.37476
    Win32 Version: 1.0.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.Utils.DLL
----------------------------------------
SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version: 
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/SlimDX.DLL
----------------------------------------
System.Reflection.Context
    Assembly Version: 4.1.2.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/System.Reflection.Context.DLL
----------------------------------------
VVVV.DX11.Factories
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/USERS/ARMIN%20SELTZ/DROPBOX/03%20STUDIO/ARMIN/01_VVVV/SOURCE/VVVV_45BETA31.2_X64/PACKS/DX11/FACTORIES/VVVV.DX11.FACTORIES.DLL
----------------------------------------
ICSharpCode.NRefactory
    Assembly Version: 3.2.1.6466
    Win32 Version: 3.2.1.6466
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/ICSharpCode.NRefactory.DLL
----------------------------------------
VVVV.DX11.Lib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/packs/DX11/core/VVVV.DX11.Lib.dll
----------------------------------------
FeralTic
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/packs/DX11/core/FeralTic.DLL
----------------------------------------
VVVV.DX11.Core
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/packs/DX11/core/VVVV.DX11.Core.DLL
----------------------------------------
Nito.Async
    Assembly Version: 1.4.0.0
    Win32 Version: 1.4.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/Nito.Async.DLL
----------------------------------------
VVVV.Nodes
    Assembly Version: 1.0.5063.37482
    Win32 Version: 1.0.5063.37482
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/nodes/plugins/VVVV.Nodes.dll
----------------------------------------
Svg
    Assembly Version: 1.0.1.35708
    Win32 Version: 1.0.1.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/nodes/plugins/Svg.DLL
----------------------------------------
Gma.QrCodeNet.Encoding
    Assembly Version: 0.4.0.0
    Win32 Version: 0.4.1.2
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/nodes/plugins/Gma.QrCodeNet.Encoding.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
VVVV.HDE.Viewer.WinFormsViewer
    Assembly Version: 1.0.5063.37480
    Win32 Version: 1.0.5063.37480
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.HDE.Viewer.WinFormsViewer.DLL
----------------------------------------
VVVV.HDE.Viewer.PiccoloGraphicalEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.HDE.Viewer.PiccoloGraphicalEditor.DLL
----------------------------------------
UMD.HCIL.Piccolo
    Assembly Version: 1.0.2165.24847
    Win32 Version: 1.0.2165.24847
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/UMD.HCIL.Piccolo.DLL
----------------------------------------
UMD.HCIL.PiccoloX
    Assembly Version: 1.0.2165.24848
    Win32 Version: 1.0.2165.24848
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/UMD.HCIL.PiccoloX.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Runtime.Caching
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
----------------------------------------
Microsoft.Build
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Build/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll
----------------------------------------
Microsoft.Build.Framework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Build.Framework/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
----------------------------------------
Microsoft.Build.Utilities.v4.0
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Build.Utilities.v4.0/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v4.0.dll
----------------------------------------
Microsoft.Internal.Tasks.Dataflow
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Internal.Tasks.Dataflow/v4.0_4.0.0.0__b77a5c561934e089/Microsoft.Internal.Tasks.Dataflow.dll
----------------------------------------
CodeEditor
    Assembly Version: 1.0.5063.37483
    Win32 Version: 1.0.5063.37483
    CodeBase: file:///C:/USERS/ARMIN%20SELTZ/DROPBOX/03%20STUDIO/ARMIN/01_VVVV/SOURCE/VVVV_45BETA31.2_X64/LIB/NODES/EDITORS/CODEEDITOR.DLL
----------------------------------------
ICSharpCode.TextEditor
    Assembly Version: 3.2.1.6466
    Win32 Version: 3.2.1.6466
    CodeBase: file:///C:/USERS/ARMIN%20SELTZ/DROPBOX/03%20STUDIO/ARMIN/01_VVVV/SOURCE/VVVV_45BETA31.2_X64/LIB/NODES/EDITORS/ICSHARPCODE.TEXTEDITOR.DLL
----------------------------------------
MetadataViewProxies_2cc50701-5b30-43da-a86c-6d65059b98cf
    Assembly Version: 0.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/System.ComponentModel.Composition.Codeplex.dll
----------------------------------------
Date
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/addonpack/lib/nodes/plugins/Date.dll
----------------------------------------
MathRound
    Assembly Version: 1.0.5063.37543
    Win32 Version: 1.0.5063.37543
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/addonpack/lib/nodes/plugins/MathRound.dll
----------------------------------------
VVVV.Nodes.FileIO
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/addonpack/lib/nodes/plugins/VVVV.Nodes.FileIO.dll
----------------------------------------
Store
    Assembly Version: 1.0.5063.37538
    Win32 Version: 1.0.5063.37538
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/addonpack/lib/nodes/plugins/Store.dll
----------------------------------------
VVVV.DX11.Nodes
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/packs/DX11/nodes/plugins/VVVV.DX11.Nodes.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
-1754076403._dynamic_.2
    Assembly Version: 1.0.5211.26213
    Win32 Version: 1.0.5211.26213
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/packs/mre.mdmod.2/nodes/plugins/DX11.BufferDeferredBaseBuffer/bin/Dynamic/-1754076403._dynamic_.2.dll
----------------------------------------
VVVV.DX11.Nodes.Text
    Assembly Version: 1.0.5084.22907
    Win32 Version: 
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/packs/DX11/nodes/plugins/VVVV.DX11.Nodes.Text.dll
----------------------------------------
VVVV.UtilsIL
    Assembly Version: 1.0.5063.37479
    Win32 Version: 1.0.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.UtilsIL.DLL
----------------------------------------
VVVV.Utils3rdParty
    Assembly Version: 1.0.5063.37477
    Win32 Version: 1.0.*
    CodeBase: file:///C:/Users/Armin%20Seltz/Dropbox/03%20STUDIO/Armin/01_vvvv/source/vvvv_45beta31.2_x64/lib/core/VVVV.Utils3rdParty.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Any clues as to why this is happening? I can’t really “look inside” the render node to see what’s wrong.

Thanks.


#2

which vvvv version did you use on the machines? was it the same on both?


#3

Hello @tonfilm, yes its the same version: 31.2 x64 on both.


#4

if it was the exact same SVG code, then its a problem of the machine and not the software. maybe check the .NET installations…?


#5

I got also exception with svg node , it happens when connecting a transform node on path with scalling at 0.