Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in triple integral real 15
11-13-2011, 08:26 AM (This post was last modified: 11-13-2011 08:27 AM by JussiBjorling.)
Post: #1
Bug in triple integral real 15
There appears to be a bug in the triple integral real 15 calculator. When I enter the example function you have on the program's page(in the pictures), I get the following error when clicking "Try": "Length cannot be less than zero."
It also gives this output.

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at b.b()
   at b.d(Object A_0, EventArgs A_1)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TripleIntegralCalculatorReal15Module1b
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Tvalx/TripleIntegralCalculatorReal15/TripleIntegralCalculatorReal15Module1b.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.


I do not have this issue with the quadruple Integral Calculator Real 15.
Find all posts by this user
Quote this message in a reply
11-13-2011, 01:28 PM (This post was last modified: 11-14-2011 01:21 PM by admin.)
Post: #2
RE: Bug in triple integral real 15
Hi JussiBjorling. From your description I cannot figure out what kind of error it was. Just try it again. Check that all boundaries (limits, contours) are not blank. Try to reinstall. If you work in Vista or Windows 7, remember that the program writes protection and work files in its folder. So the program has to be installed with apropriate permissions. Also Triple and Quadruple Integral Calculators Real 15 require internet connection in trial mode. For Windows 7 also important to start the program by right clicking program's icon and choosing Run As Administrator. Probably this is the only way in Win7. The problem is that Microsoft changed security policies in Win7. By default even in administrator account a program started by left click has rights to read but not write into folder containing the progtram's modules. Whereas I programed in XP and haivily used program folder. For example module 2 is created by module 1 on the run.
I am working on the programs in order to bring them to Microsoft policies.
Find all posts by this user
Quote this message in a reply
11-14-2011, 01:01 PM (This post was last modified: 11-14-2011 01:02 PM by JussiBjorling.)
Post: #3
RE: Bug in triple integral real 15
I have done some more testing on 2 different XP x32 computers today. I seem to get the same error when I enter the values that are in the following picture:
[Image: TripleIntegralCalculatorReal15Module1.jpg]

However, when I enter random numbers like 1,2,3,4, and 5 in the fields, everything works fine.

I can send you a screenshot of the error if you need it.
Find all posts by this user
Quote this message in a reply
11-14-2011, 01:34 PM (This post was last modified: 11-14-2011 01:57 PM by admin.)
Post: #4
RE: Bug in triple integral real 15
Indeed I got error length is less than zero. Thank you. I am going to correct it soon.
By the way, to pin an error is possible only by repeating calculation with source code. Execution code is obfuscated and therefore execution messages are not informative.
Find all posts by this user
Quote this message in a reply
11-20-2011, 07:15 PM
Post: #5
RE: Bug in triple integral real 15
So much spam. Big Grin
Find all posts by this user
Quote this message in a reply
11-20-2011, 11:53 PM
Post: #6
RE: Bug in triple integral real 15
Time to ban spamers.
Find all posts by this user
Quote this message in a reply
02-15-2012, 10:35 AM
Post: #7
RE: Bug in triple integral real 15
The bug has been corrected.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


Contact Us | Tvlax home | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication