Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline tomtit  
#1 Posted : 13 January 2022 20:39:53(UTC)
tomtit


Rank: Advanced Member

Groups: Registered
Joined: 22/02/2014(UTC)
Posts: 81

Was thanked: 11 time(s) in 10 post(s)
Eventually I have caught a bug that bothered me in a few latest versions of Smath.
critical_bug.sm (4kb) downloaded 15 time(s).


Try to delete the first number "4" in front of the ratio.

Step 1: Select it with the cursor.



s1.png


Step 2: Press "Del", the "4" turns into a black square.


s2.png


Step 3: Press "Del" once again. SM pops on "Critical error".


s3.png

Edited by moderator 14 January 2022 10:08:26(UTC)  | Reason: Not specified

thanks 1 user thanked tomtit for this useful post.
on 14/01/2022(UTC)
Offline tomtit  
#2 Posted : 14 January 2022 00:06:39(UTC)
tomtit


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.
Offline churichuro  
#3 Posted : 14 January 2022 01:31:57(UTC)
churichuro


Rank: Advanced Member

Groups: Registered
Joined: 27/03/2019(UTC)
Posts: 49
Mexico
Location: coah

Was thanked: 16 time(s) in 14 post(s)
I confirm the error
Offline uni  
#4 Posted : 14 January 2022 04:05:45(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,300
Man
Russian Federation

Was thanked: 1132 time(s) in 653 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
Offline overlord  
#5 Posted : 14 January 2022 07:54:58(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 759
Turkey

Was thanked: 267 time(s) in 190 post(s)
confirmed under linux.
same behavior.
Offline Davide Carpi  
#6 Posted : 14 January 2022 11:59:07(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,487
Man
Italy
Location: Italy

Was thanked: 1239 time(s) in 819 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 please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline overlord  
#7 Posted : 14 January 2022 16:59:14(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 759
Turkey

Was thanked: 267 time(s) in 190 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: tomtit Go to Quoted Post
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.
thanks 1 user thanked overlord for this useful post.
on 14/01/2022(UTC)
Offline uni  
#8 Posted : 14 January 2022 17:32:56(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,300
Man
Russian Federation

Was thanked: 1132 time(s) in 653 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
thanks 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)
Offline uni  
#9 Posted : 14 January 2022 20:17:41(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,300
Man
Russian Federation

Was thanked: 1132 time(s) in 653 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
thanks 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)
Offline Jean Giraud  
#10 Posted : 14 January 2022 21:50:40(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,079
Canada

Was thanked: 889 time(s) in 717 post(s)
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.
Offline overlord  
#11 Posted : 14 January 2022 22:04:25(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 759
Turkey

Was thanked: 267 time(s) in 190 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.
thanks 3 users thanked overlord for this useful post.
on 14/01/2022(UTC),  on 15/01/2022(UTC),  on 17/05/2022(UTC)
Offline tomtit  
#12 Posted : 16 May 2022 18:06:43(UTC)
tomtit


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 12 time(s).

Edited by user 16 May 2022 18:09:12(UTC)  | Reason: Not specified

Offline Andrey Ivashov  
#13 Posted : 18 May 2022 02:38:34(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1913 time(s) in 652 post(s)
Ok, will check asap.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 18/05/2022(UTC)
Users browsing this topic
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.