Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline omorr  
#1 Posted : 21 January 2012 01:02:20(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

I managed SMath to crash purely by accident. Actually, I was playing with the "Fifth-order Runge–Kutta method with adaptive step" RungeKutta5.sm Example file from the Smath examples.

First I just selected the first value in the vector result


Then I just press some key on the keyboard (say "k" or some other letter)

An Unhandled exception happened. We could Continue but if we just want to Quit the SMath ofer us to save the file. If we refuse then crash happened.


It seems that will happen with the vector or matrix symbolic result and when you try to select only the first value (row, column index = 1) and then press a key.

I hope someone could reproduce this.

Regards,
Radovan

Edited by user 15 February 2012 01:19:05(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline waluyo  
#2 Posted : 21 January 2012 01:51:32(UTC)
waluyo


Rank: Advanced Member

Groups: Registered
Joined: 22/10/2009(UTC)
Posts: 53
Man
Indonesia
Location: Gedongkuning, Jogjakarta

Was thanked: 1 time(s) in 1 post(s)
Yes I can reproduce the crash, after pressing any key. It crashes in linux (both SMath 0.89.8 and 0.90).
I run SMath from terminal: mono SMathStudio_Desktop.exe

Below is the message in the terminal after the crash.
System.IndexOutOfRangeException: Array index is out of range.
at SMath.Control.MathRegion.InsertManager (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.MathRegion.InsertManager (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.MathRegion.OnCommandSend (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet.ParseInsertString (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet.OnKeyPress (System.Windows.Forms.KeyPressEventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

Regards, waluyo
Offline Andrey Ivashov  
#3 Posted : 21 January 2012 02:26:18(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Thank you very much! Will fix this before next release.

Regards.
Offline Andrey Ivashov  
#4 Posted : 24 January 2012 00:28:04(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Fixed.

Regards.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 24/01/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.