[Scilab-users] scilab crash after bad line descriptor in plot
Samuel Gougeon
sgougeon at free.fr
Sat Feb 23 14:42:43 CET 2019
Hello Philippe,
Le 23/02/2019 à 12:55, philippe a écrit :
> Hi,
>
> scilab freezes when I execute the plot command :
>
> plot(x,y,'---k')
>
> with the obviously wrong third argument(line descriptor). After killing
> scilab process I get this message in the console :
>
> .../...
> It looks bad that a simple typo error crash scilab like this!
Definitely.
> Should I make a bug report ?This happened with scilab 6.0.1 and ubuntu 18.04 :
On Windows7 as well.
The analysis shows that the crash occurs in getLineSpec(), due to a
strsubst() bug:
strsubst("---k","--","") // crash
This is the bug 14501
<http://bugzilla.scilab.org/show_bug.cgi?id=14501>, reported 34 months ago.
Regards
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190223/fde7954a/attachment.htm>
More information about the users
mailing list