Strange crash?

Strange crash? - Messages

#1 Posted: 1/20/2012 6:02:20 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#2 Posted: 1/20/2012 6:51:32 PM
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 likes in 55 posts.

Group: User

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 :0
at SMath.Control.MathRegion.InsertManager (System.String value) [0x00000] in :0
at SMath.Control.MathRegion.OnCommandSend (System.String value) [0x00000] in :0
at SMath.Control.Worksheet.ParseInsertString (System.String value) [0x00000] in :0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in :0
at SMath.Control.Worksheet.OnKeyPress (System.Windows.Forms.KeyPressEventArgs e) [0x00000] in :0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in :0

Regards, waluyo
#3 Posted: 1/20/2012 7:26:18 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3730 posts.

Group: Super Administrator

Thank you very much! Will fix this before next release.

Regards.
#4 Posted: 1/23/2012 5:28:04 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3730 posts.

Group: Super Administrator

Fixed.

Regards.
1 users liked this post
Radovan Omorjan 1/23/2012 6:07:00 PM
  • New Posts New Posts
  • No New Posts No New Posts