<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Monospaced;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";
        mso-fareast-language:FR;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:394861540;
        mso-list-type:hybrid;
        mso-list-template-ids:-704846402 -1025227898 67895299 67895301 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l0:level1
        {mso-level-start-at:13;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Ok for bugzilla (sorry for that)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><u><span lang="EN-US" style="color:#1F497D">Nota</span></u></i><span lang="EN-US" style="color:#1F497D"> :  k is a vector ….. at least in Scilab 5.5.4<o:p></o:p></span></p>
<p class="MsoNormal"><o:p></o:p></p>
<p><b><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">EXPORT CONTROL :
<br>
</span></i></b><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Cet email ne contient pas de données techniques<br>
This email does not contain technical data</span></b><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">
 users [mailto:users-bounces@lists.scilab.org] <b>De la part de</b> Paul Bignier<br>
<b>Envoyé :</b> mercredi 28 septembre 2016 15:57<br>
<b>À :</b> Users mailing list for Scilab<br>
<b>Objet :</b> [EXTERNAL] Re: [Scilab-users] scilab 6.00 beta2 crash (feedback)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><o:p> </o:p></p>
<p>Hi Paul,<o:p></o:p></p>
<p>The line "<span lang="EN-US" style="font-family:"Monospaced","serif"">k </span>
<span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C">=</span><span lang="EN-US" style="font-family:"Monospaced","serif"">
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">[</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#FFAA00">:</span><span lang="EN-US" style="font-family:"Monospaced","serif"">n</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">]</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C">'.*.</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#32B9B9">ones</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">(</span><span lang="EN-US" style="font-family:"Monospaced","serif"">n,</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">)</span><span lang="EN-US" style="font-family:"Monospaced","serif"">;"
 intends to produce a 50001x50001 (total 2.5 billion) matrix, which goes over the int32 limit of 2147483647 (2.147 billion), that provokes the inner sizes to wrap and become negative, leading to the crash.</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-family:"Monospaced","serif"">If you try k </span>
<span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C">=</span><span lang="EN-US" style="font-family:"Monospaced","serif"">
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">[</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#FFAA00">:</span><span lang="EN-US" style="font-family:"Monospaced","serif"">n/2</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">]</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C">'.*.</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#32B9B9">ones</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">(</span><span lang="EN-US" style="font-family:"Monospaced","serif"">n/2,</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB">)</span><span lang="EN-US" style="font-family:"Monospaced","serif"">;
 it will work but eat up your ram. If you try it a few times a message will say "Can not allocate 'XXX' MB memory." because it can still deal with such sizes.</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-family:"Monospaced","serif"">So are you sure about what you want to do?</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-family:"Monospaced","serif"">In the future when you get crashes, please report them on the
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bugzilla.scilab.org_&d=DQMD-g&c=0hKVUfnuoBozYN8UvxPA-w&r=4TCz--8bXfJhZZvIxJAemAJyz7Vfx78XvgYu3LN7eLo&m=H6mcS5tjsl64h14eEzr1mZ3dh6VLpl9do8_bq2DWILQ&s=5d-roj75J3VoA5OprGpyNJA3SfhZiZGqF1lXCP2jaV8&e=">
bugzilla</a>.</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-family:"Monospaced","serif"">Thank you,</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-family:"Monospaced","serif"">Best regards,</span><o:p></o:p></p>
<p><span lang="EN-US" style="font-family:"Monospaced","serif"">Paul</span><o:p></o:p></p>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 09/28/2016 03:34 PM, Carrico, Paul wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Here is a feedback of a crash of  scilab 6.00 beta2; I used the code here bellow on a 32 Go CentOS 7 machine.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal">Ligne 951 : 2650 Erreur de segmentation (core dumped)  ‘’$SCILABBIN’’ ‘’$@’’<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">t
</span><span style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">[</span><span style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">0</span><span style="font-family:"Monospaced","serif";color:#FFAA00;mso-fareast-language:FR">:</span><span style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">2e-5</span><span style="font-family:"Monospaced","serif";color:#FFAA00;mso-fareast-language:FR">:</span><span style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">]</span><span style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">'</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">n
</span><span style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span style="font-family:"Monospaced","serif";color:#32B9B9;mso-fareast-language:FR">size</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">(</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">t,</span><span style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">"*"</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">)</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">X
</span><span style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span style="font-family:"Monospaced","serif";color:#32B9B9;mso-fareast-language:FR">zeros</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">(</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">n,</span><span style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">)</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">k
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">[</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#FFAA00;mso-fareast-language:FR">:</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">n</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">]</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">'.*.</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#32B9B9;mso-fareast-language:FR">ones</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">(</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">n,</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">)</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">m
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#32B9B9;mso-fareast-language:FR">ones</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">(</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">n,</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">)</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">.*.</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">[</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#FFAA00;mso-fareast-language:FR">:</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">n</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">]</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">'</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">nl
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#32B9B9;mso-fareast-language:FR">size</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">(</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">m,</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">"*"</span><span lang="EN-US" style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">)</span><span lang="EN-US" style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">tmp
</span><span style="font-family:"Monospaced","serif";color:#5C5C5C;mso-fareast-language:FR">=</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">
</span><span style="font-family:"Monospaced","serif";color:#32B9B9;mso-fareast-language:FR">zeros</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">(</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">nl,</span><span style="font-family:"Monospaced","serif";color:rosybrown;mso-fareast-language:FR">1</span><span style="font-family:"Monospaced","serif";color:#4A55DB;mso-fareast-language:FR">)</span><span style="font-family:"Monospaced","serif";mso-fareast-language:FR">;</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Paul<o:p></o:p></p>
<p><b><i><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">EXPORT CONTROL :
<br>
</span></i></b><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Cet email ne contient pas de données techniques<br>
This email does not contain technical data</span></b><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>users mailing list<o:p></o:p></pre>
<pre><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><o:p></o:p></pre>
<pre><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.scilab.org_mailman_listinfo_users&d=DQMD-g&c=0hKVUfnuoBozYN8UvxPA-w&r=4TCz--8bXfJhZZvIxJAemAJyz7Vfx78XvgYu3LN7eLo&m=H6mcS5tjsl64h14eEzr1mZ3dh6VLpl9do8_bq2DWILQ&s=dnJofXzj7NyZG7QXqcTSn30H7WkBPh5om0isqviRAb4&e=">http://lists.scilab.org/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Paul BIGNIER<o:p></o:p></pre>
<pre>Development engineer<o:p></o:p></pre>
<pre>-----------------------------------------------------------<o:p></o:p></pre>
<pre>Scilab Enterprises<o:p></o:p></pre>
<pre>143bis rue Yves Le Coz - 78000 Versailles, France<o:p></o:p></pre>
<pre>Phone: +33.1.80.77.04.68<o:p></o:p></pre>
<pre><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scilab-2Denterprises.com&d=DQMD-g&c=0hKVUfnuoBozYN8UvxPA-w&r=4TCz--8bXfJhZZvIxJAemAJyz7Vfx78XvgYu3LN7eLo&m=H6mcS5tjsl64h14eEzr1mZ3dh6VLpl9do8_bq2DWILQ&s=sWu3WWE_ZcDi0mguC2OpFqOnGtk9yNIw3jkwFadEpQo&e=">http://www.scilab-enterprises.com</a><o:p></o:p></pre>
</div>
</body>
</html>