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


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to