SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
MathRegion Critical Error on DEL key action
Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 81
Was thanked: 11 time(s) in 10 post(s)
|
|
1 user thanked tomtit for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 81
Was thanked: 11 time(s) in 10 post(s)
|
Jean, It can't be doctored, it is not a calculation issue. Smath Studio crashes at the moment you push "DEL" key to delete this number "4" or whatever else there.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 27/03/2019(UTC) Posts: 77 Location: coah Was thanked: 28 time(s) in 23 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Confirmed. I also came across it, but I didn't investigate it. SMath Studio 0.99.7921.69. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
confirmed under linux. same behavior.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Thank you, confirmed Code:System.IndexOutOfRangeException: Index out of matrix bounds.
in SMath.Controls.MathPainter.PrepareForPaint(MathRegion region, PaintContext ctx, Term[] input, MathAnswer answer, Term[] units, Boolean inputDataVisibility, Int32 currentTermIdx, FontInfo font, Boolean focused, Single& middleLine, Single& baseLine)
in SMath.Controls.MathRegion.(IGraphics , PaintEventOptions )
in SMath.Controls.MathRegion.OnCommandSend(String value)
in SMath.Controls.WorksheetEditor.(RegionBase , String )
in SMath.Controls.WorksheetEditor.InsertManager(String value)
in SMath.Controls.Worksheet.Insert(String value)
in SMath.Controls.WorksheetEditor.KeyDown(KeyEventOptions e)
in SMath.UI.Accessories.DesktopWorksheet.OnKeyDown(KeyEventArgs e)
in System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
in System.Windows.Forms.Control.WmKeyChar(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by user 14 January 2022 12:03:05(UTC)
| Reason: Thread title |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: tomtit Eventually I have caught a bug that bothered me in a few latest versions of Smath. ... end of it ! It didn't surprise me that Jean couldn't understand what the bug is.
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Jean, what you're trying to do here is destructive. You prevent users from helping developers improve the program, that is, you bring harm. You don't have to do that. This is not good. |
Russia ☭ forever Viacheslav N. Mezentsev |
6 users thanked uni for this useful post.
|
on 14/01/2022(UTC), on 14/01/2022(UTC), on 14/01/2022(UTC), on 14/01/2022(UTC), on 14/01/2022(UTC), on 17/05/2022(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Jean, in the exUSSR there was such a norm as forced rest. People who worked hard were forced to rest in a sanatorium. And their leaders, who allowed this, were punished. I think you need to go to a sanatorium and temporarily stop working here. I don't want to be punished and I can give you a rest. |
Russia ☭ forever Viacheslav N. Mezentsev |
4 users thanked uni for this useful post.
|
on 14/01/2022(UTC), on 14/01/2022(UTC), on 14/01/2022(UTC), on 15/01/2022(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
Originally Posted by: Jean Giraud Basically up to SS 6179, Smath is an equation editor working similar to Mathcad 11 and earlier, including program. AFAIK, an option for script style [typical Kalkulator ...] will manage the critical error demo bug. Is it possible to combine both: part script style & equation editor ? As well as accommodate both styles in program ? Cheers ... Jean. And yet another useless not related post again. Unbelievable. Wow, just wow. Such ignorance, such obstinate, such thick head... I am out of speech right now.
|
3 users thanked overlord for this useful post.
|
on 14/01/2022(UTC), on 15/01/2022(UTC), on 17/05/2022(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 81
Was thanked: 11 time(s) in 10 post(s)
|
Unfortunately, The "Critical Error on Del key action" was not fixed yet in the latest stable version. Try to delete "g" by using DEL key. oldbug.sm (3kb) downloaded 15 time(s).Edited by user 16 May 2022 18:09:12(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,617 Was thanked: 1981 time(s) in 667 post(s)
|
|
1 user thanked Andrey Ivashov for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 144 Location: Wisconsin Was thanked: 67 time(s) in 42 post(s)
|
Greetings! I can also confirm the existence of this issue ( "v0.99.7921.69" ). Upon investigation, I have (2) items: 1) The program does not actually 'crash', the program is still running. Thus: you can recover from this bug without losing all your work! a) To recover from this error: 1) On the " ⨂ Unhandled exception has occurred ... Index was outside the bounds of the array" popup error message, Click on the button: 「Continue」 2) 'UNDO' your last action, either via the menu bar: 「Edit」 -> 「 ↻ Undo」 or via keypress 「Ctrl」 + 「Z」 3) Repeat steps #1 and #2 until you achieve a successful 'undo'. 2) The elements of this error seem to require a grouping operator (e.g., Absolute Value, Parenthesis, Determinant, Square Root, Matrix) that is paired with a fraction/division operation, prepend this with a multiplication statement and you can duplicate the error. See screen capture below: Below are a few statements I compiled; performing the double-delete on the integer '6' will throw the same error: -Kenny Lemens, P.E. |
|
1 user thanked Kenny Lemens for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 144 Location: Wisconsin Was thanked: 67 time(s) in 42 post(s)
|
Greetings, I found another configuration that can trigger this error; if you declare/evaluate a variable, and then try to multiply that entire set: you get a syntax error. Now if you attempt to correct the statement by using the [DEL] to remove the evaluation, the error gets thrown (as shown below): The work around would be to use the [Backspace] to delete/correct the equation, or to copy/paste the terms into a new statement without syntax errors. -Kenny Lemens, P.E. |
|
1 user thanked Kenny Lemens for this useful post.
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,617 Was thanked: 1981 time(s) in 667 post(s)
|
Finally fixed in version 1.0.8238.
|
3 users thanked Andrey Ivashov for this useful post.
|
on 22/07/2022(UTC), on 23/07/2022(UTC), on 23/07/2022(UTC)
|
|
Rank: Newbie
Groups: Registered
Joined: 13/04/2023(UTC) Posts: 2 Location: New York
|
Originally Posted by: Kenny Lemens Greetings, I found another configuration that can trigger this error; if you declare/evaluate a variable, and then try to multiply that entire set: you get a syntax error. Now if you attempt to correct the Candy Crush statement by using the [DEL] to remove the evaluation, the error gets thrown (as shown below): The work around would be to use the [Backspace] to delete/correct the equation, or to copy/paste the terms into a new statement without syntax errors. -Kenny Lemens, P.E. I tried that .... still get the error
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
MathRegion Critical Error on DEL key action
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.