<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Philippe,<br>
<br>
Le 23/02/2019 à 12:55, philippe a écrit :<br>
</div>
<blockquote cite="mid:q4rcbl$10bb$1@blaine.gmane.org" type="cite">
<pre wrap="">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! </pre>
</blockquote>
<br>
Definitely.<br>
<br>
<blockquote cite="mid:q4rcbl$10bb$1@blaine.gmane.org" type="cite">
<pre wrap="">Should I make a bug report ?This happened with scilab 6.0.1 and ubuntu 18.04 :</pre>
</blockquote>
<br>
On Windows7 as well.<br>
<br>
The analysis shows that the crash occurs in getLineSpec(), due to a
strsubst() bug:<br>
strsubst("---k","--","") // crash<br>
<br>
This is the <a
href="http://bugzilla.scilab.org/show_bug.cgi?id=14501">bug 14501</a>,
reported 34 months ago.<br>
<br>
Regards<br>
Samuel<br>
<br>
<br>
</body>
</html>