- Status Closed
- Percent Complete
- Task Type Bug Report
- Category ECMAScript
-
Assigned To
Andrew - Operating System macOS High Sierra (10.13)
- Severity Low
- Priority Very Low
- Reported Version 3.24.3
- Due in Version Undecided
-
Due Date
Undecided
-
Votes
1
- Vladimir Syroezhkin (03.08.2020)
- Private
Attached to Project: QCAD Bugtracker
Opened by Vladimir Syroezhkin - 03.08.2020
Last edited by Andrew - 05.08.2020
Opened by Vladimir Syroezhkin - 03.08.2020
Last edited by Andrew - 05.08.2020
FS#2103 - Crash when lengthen() executed twice
This code was executed in the Script Shell window. Then the program is failing of and closed.
a = addLine(0,0,100,100); lengthen(a, true, 50); // success lengthen(a, true, 50); // FAILED!
Please try:
I executed your script and it ran successfully. Interestingly after this I can call the length(a, true, 50); function an unlimited number of times and the program now doesn't crash.
But it seems to me that functions should not behave so unpredictably... So I thought it was a bug.
P.S. I inserted var doc = this.getDocument(); at the beginning.