Strange crash?

Strange crash? - 消息

#1 已发布: 2012/1/20 18:02:20
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: 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 已发布: 2012/1/20 18:51:32
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1个赞,共55个帖子。

组: 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 已发布: 2012/1/20 19:26:18
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

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

Regards.
#4 已发布: 2012/1/23 17:28:04
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Fixed.

Regards.
1位用户喜欢此帖子
Radovan Omorjan 2012/1/23 18:07:00
  • 有新帖
  • 无新帖