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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline ndtma  
#1 Posted : 11 May 2019 08:18:16(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
Attached sm file which appeared recently in the forum works in 7030 (stable), but throws errors in 7067 (Beta).
Some times it crashes when trying to evaluate some variables.
ISERROR QUESTION MARK_B (1).sm (19kb) downloaded 25 time(s).

Wysiwig_7067_bug.png

WYSIWYG_7030.png
The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline omorr  
#2 Posted : 11 May 2019 09:32:48(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,695
Man
Serbia

Was thanked: 299 time(s) in 256 post(s)
Confirmed,

Sometimes crashed (red cross over the screen) and sometimes didn't.

crash.gif
crash.PNG

Regards,
Radovan

Edited by user 11 May 2019 09:45:42(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Razonar  
#3 Posted : 11 May 2019 10:24:41(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 357
Uruguay

Was thanked: 161 time(s) in 101 post(s)
Hi. I don't see a bug here, but some kind of issue handling n. About the WYSIWYG notation, it's well know this kind of difficulties not only in SMath, but in mathcad, maple and mathematica too. About the issue with n it must to be solved using Clear, because n isn't local in the sum.

Clipboard01.gif

ISERROR QUESTION MARK_Clean.sm (11kb) downloaded 8 time(s).

Best regards.
Alvaro.
thanks 4 users thanked Razonar for this useful post.
on 11/05/2019(UTC),  on 11/05/2019(UTC),  on 11/05/2019(UTC),  on 11/05/2019(UTC)
Offline omorr  
#4 Posted : 11 May 2019 11:04:17(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,695
Man
Serbia

Was thanked: 299 time(s) in 256 post(s)
Thank you Alvaro, you are right

This problem with summation will come up here and there. It would be enough to put the summation terms inside a single line environment. This behaviour is present in SMath for quite a while. This is easy to forget, but it should not have crashed in those cases. The problem is how to remember this issue and overcome situations like this one.

summ.PNG

Regards,
Radovan

Edited by user 11 May 2019 12:37:55(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 2 users thanked omorr for this useful post.
on 11/05/2019(UTC),  on 11/05/2019(UTC)
Offline Jean Giraud  
#5 Posted : 11 May 2019 18:01:03(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,616
Canada

Was thanked: 679 time(s) in 530 post(s)
Originally Posted by: omorr Go to Quoted Post
Thank you Alvaro, you are right

This problem with summation will come up here and there. It would be enough to put the summation terms inside a single line environment. This behaviour is present in SMath for quite a while. This is easy to forget, but it should not have crashed in those cases. The problem is how to remember this issue and overcome situations like this one.

Can't be more right ! Now you understand why I never updated.
How do you know if it is simply a beta version bug ?

Try this Fourier-algo style.

Fourier Integral Algo Style.sm (8kb) downloaded 5 time(s).

FourierAlgo.PNG
thanks 1 user thanked Jean Giraud for this useful post.
on 11/05/2019(UTC)
Offline Jean Giraud  
#6 Posted : 11 May 2019 18:30:37(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,616
Canada

Was thanked: 679 time(s) in 530 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Try this Fourier-algo style.

Leave default integral acc 100, only 'N'
Rejects SQRT(x) but takes SQRT|(x)|
Try more ... let us know about your version ... Jean

FourierAlgo_1.PNG

Offline Jean Giraud  
#7 Posted : 11 May 2019 18:55:36(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,616
Canada

Was thanked: 679 time(s) in 530 post(s)
Generally, the range Σ free style works at time of creation but fails back on new session.
But if included in line program, works for ever. My fft(,) ifft(,) work since day 1 [2015].
The free style Σ is not recognized by Smath kernel.
I have more than fft(,) ifft(,) like Simplex lot more involved works great within line.
I wish to read "Thanks Jean, doctored".
thanks 1 user thanked Jean Giraud for this useful post.
on 12/05/2019(UTC)
Offline ndtma  
#8 Posted : 12 May 2019 07:08:05(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Leave default integral acc 100, only 'N'
Rejects SQRT(x) but takes SQRT|(x)|
Try more ... let us know about your version ... Jean



Thank you Jean.

AlgoStyle.png

Edited by user 12 May 2019 07:17:45(UTC)  | Reason: Not specified

The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline ndtma  
#9 Posted : 12 May 2019 10:31:34(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
Originally Posted by: omorr Go to Quoted Post
but it should not have crashed in those cases. The problem is how to remember this issue and overcome situations like this one.

The attached sm file also crashes some times when inputs to Polyroots, solve, maple(solve)
are changed or adjusted.
Roots_Ex1.sm (17kb) downloaded 5 time(s).
7067_Error.png

Edited by user 12 May 2019 10:35:55(UTC)  | Reason: Not specified

The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline omorr  
#10 Posted : 12 May 2019 10:44:58(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,695
Man
Serbia

Was thanked: 299 time(s) in 256 post(s)
Tried but it did not crash.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline ndtma  
#11 Posted : 12 May 2019 12:30:00(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
I had 2 or 3 crashes while testing. It was very strange.
I will try more variations and post if there is any crash.
Thank you you Radovan.
The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Jean Giraud  
#12 Posted : 12 May 2019 16:37:18(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,616
Canada

Was thanked: 679 time(s) in 530 post(s)
Originally Posted by: ndtma Go to Quoted Post
The attached sm file also crashes some times when inputs to Polyroots, solve, maple(solve)
are changed or adjusted.

That shouldn't happen, but maybe on latest beta.
1. Polynomials have unique Lagrange format [lot many books are wrong].
2. maple(op(F(u))) will save you manual steps and possible typo errors.

Cheers ... Jean

Polyroots.PNG

Maths eigenAll Companion.sm (63kb) downloaded 2 time(s).
Online Davide Carpi  
#13 Posted : 12 May 2019 20:05:10(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1091 time(s) in 716 post(s)
Please remember to copy and attach here the stack traces when you encounter such critical errors, especially if they are not easily reproducible like this. Crazy

Edited by user 12 May 2019 20:07:55(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline ndtma  
#14 Posted : 13 May 2019 07:01:52(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Please remember to copy and attach here the stack traces when you encounter such critical errors, especially if they are not easily reproducible like this.


Even after a Clean Re-installation, crashes continued to occur on and off.
Attached sm file crashed when I was doing some changes to either default units,
or copying etc. (I'm not sure). Note where I clicked.
Radial Gate Ex 1.sm (195kb) downloaded 4 time(s).
7067 Crash 4.png

Edited by user 13 May 2019 07:08:06(UTC)  | Reason: Not specified

The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline ndtma  
#15 Posted : 13 May 2019 12:00:09(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
Originally Posted by: ndtma Go to Quoted Post
Even after a Clean Re-installation, crashes continued to occur on and off.

Second crash. BTW how do I create stack traces and copy?
Radial Gate Ex 1.sm (196kb) downloaded 2 time(s).
7067 Crash 5.png

Edited by user 13 May 2019 12:05:56(UTC)  | Reason: Not specified

The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Online Davide Carpi  
#16 Posted : 13 May 2019 12:54:36(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1091 time(s) in 716 post(s)
Still not able to reproduce but at least we have an hint. Good

Originally Posted by: ndtma Go to Quoted Post
BTW how do I create stack traces and copy?


Simply copy the text from the error window

2019-05-13 11_50_36-0.99.7067 Beta_ unhandled exception.png

You can paste in the following BBcodes if it is too long

[spoiler]my text goes here[/spoiler]

or

[code=markup]my text goes here[/code]

Edited by user 13 May 2019 12:58:02(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline ndtma  
#17 Posted : 13 May 2019 14:13:42(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 186
Man
Sri Lanka
Location: Colombo

Was thanked: 62 time(s) in 42 post(s)
Thanks Davide.
Third crash occurred, and the stack traces (in MS Word) attached.
Radial Gate Ex 1.sm (196kb) downloaded 4 time(s).
7067 3rd Crash-Stack Traces.docx (19kb) downloaded 3 time(s).
7067 Crash 6.png
The mind is everything. What you think you become.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Jean Giraud  
#18 Posted : 13 May 2019 16:59:12(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,616
Canada

Was thanked: 679 time(s) in 530 post(s)
In 4 years Smath I have observed ONE crash from a corrupted region.
Same in 15 years Mathcad , but several times MCD. Corrupted region
has no explanation. The only cure found was to re-code piece wise
on blank sheet. You could try to isolate the components ...
B1:=B1, C1:=C1 ...etc. even transit via spool to file.
That it crashes by clicking on result once displayed has no other
explanation than critical error, from unknown cause.
Sorry Collab: can't help more, it looks a bug wrt latest beta.
Curiously no more Collab reported such a bug.
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.