Context Free Crash while Rendering

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
jonsbeard
Posts: 4
Joined: Thu Jan 20, 2011 11:17 pm

Context Free Crash while Rendering

Post by jonsbeard »

I was rendering a monster recursive rule at 6000x6000 when it crashed just as the "Saving Image" bar was filling. I dunno if it's just my computer couldn't handle it, or if it was Context Free, any ideas anyone?

Thanks, the message I was given is as follows:

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '-11' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
at System.Windows.Forms.ToolStripProgressBar.set_Value(Int32 value)
at ContextFreeNet.Document.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ContextFree
Assembly Version: 2.2.3961.38615
Win32 Version: 2, 2, 2, 20
CodeBase: file:///C:/Program%20Files%20(x86)/OzoneSoft/ContextFree/ContextFree.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.4927
Win32 Version: 8.00.50727.4927
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.2.3961.38506
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OzoneSoft/ContextFree/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
CFControls
Assembly Version: 1.0.3961.38512
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/OzoneSoft/ContextFree/CFControls.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Controls
Assembly Version: 1.0.0.2
Win32 Version: 1.0.0.2
CodeBase: file:///C:/Program%20Files%20(x86)/OzoneSoft/ContextFree/Controls.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.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.

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Context Free Crash while Rendering

Post by MtnViewJohn »

When did you download Context Free? I thought that this issue was fixed.

jonsbeard
Posts: 4
Joined: Thu Jan 20, 2011 11:17 pm

Re: Context Free Crash while Rendering

Post by jonsbeard »

Just a few days ago, on this computer. I'm running Vista, 64 bit.

ChrisC
Posts: 1
Joined: Sun Apr 19, 2009 12:12 pm
Location: Oklahoma, USA

Re: Context Free Crash while Rendering

Post by ChrisC »

I still get these error messages, but, the rendering continues while the message is displayed; you can just wait until the rendering is complete and then click "Continue."

(I'm running version 2.2.2 (v20), under Windows 7.)
Reality blithely ignores the lies we tell ourselves about it.

etruscan
Posts: 5
Joined: Fri Apr 11, 2008 6:33 am

Re: Context Free Crash while Rendering

Post by etruscan »

I get the same messages when I'm rendering. I'm using W7 32-bit and CF v2.2.2 (v20). I can ignore them and my render completes (like ChrisC says). However, I have trouble rendering to a movie - a divide-by-zero error. Admittedly I've not tried leaving it to see if the movie eventually renders, but its file-size never goes up, and the error messages gives me the impression that things have actually stopped pending my pressing continue (which happens again and again; eventually I give up and let it shut down CF).

EDIT: the movie does render if I'm patient! ;)

This is the error message:

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

************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at ContextFreeNet.Document.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ContextFree
Assembly Version: 2.2.3961.38615
Win32 Version: 2, 2, 2, 20
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/ContextFree.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.4940
Win32 Version: 8.00.50727.4940
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_d08cc06a442b34fc/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.2.3961.38506
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
CFControls
Assembly Version: 1.0.3961.38512
Win32 Version:
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/CFControls.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
FileDlgExtenders
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/FileDlgExtenders.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.

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Context Free Crash while Rendering

Post by MtnViewJohn »

I can see where the divide-by-zero occurs. I will put in a fix for the 3.0 beta, which should be out soon.

etruscan
Posts: 5
Joined: Fri Apr 11, 2008 6:33 am

Re: Context Free Crash while Rendering

Post by etruscan »

Thanks John - sounds great :)

Post Reply