1 страниц (4 вхождений)
Strange crash? - Сообщения
#1 Опубликовано: 20.01.2012 18:02:20
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
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 Опубликовано: 20.01.2012 18:51:32
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
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
at SMath.Control.MathRegion.InsertManager (System.String value) [0x00000] in
at SMath.Control.MathRegion.OnCommandSend (System.String value) [0x00000] in
at SMath.Control.Worksheet.ParseInsertString (System.String value) [0x00000] in
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in
at SMath.Control.Worksheet.OnKeyPress (System.Windows.Forms.KeyPressEventArgs e) [0x00000] in
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in
Regards, waluyo
#3 Опубликовано: 20.01.2012 19:26:18
Thank you very much! Will fix this before next release.
Regards.
Regards.
#4 Опубликовано: 23.01.2012 17:28:04
Fixed.
Regards.
Regards.
1 пользователям понравился этот пост
Radovan Omorjan 23.01.2012 18:07:00
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений