[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    Re: [Scilab-users] xload mess ...
From:       Samuel Gougeon <sgougeon () free ! fr>
Date:       2019-09-17 7:05:22
Message-ID: 55e1b92e-5aca-9a12-7579-92ab4fc46565 () free ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 16/09/2019 à 11:31, Antoine Monmayrant a écrit :
>
>
> Le 13/09/2019 à 13:38, Samuel Gougeon a écrit :
>> Hello Antoine,
> Hello Samuel,
>>
>> As discussed with you there 
>> <http://bugzilla.scilab.org/show_bug.cgi?id=15765#c4>, xload() has 
>> been restored and upgraded for Scilab 6.0.2.
>> However, its help page was updated only after the 6.0.2 release. Its 
>> update is pending
>> here <https://codereview.scilab.org/20991>, and visible in PDF there 
>> <http://bugzilla.scilab.org/attachment.cgi?id=4963>.
>>
>> As it is not possible to reproduce the issue on win7 and on Fedora, 
>> it is clear that it depends
>> on the OS, is likely specific to Ubuntu, and very likely linked to 
>> HDF5 issues reported with Ubuntu.
>>
>> However, after your recent report about the same issue on Windows 10, 
>> the confirmation
>> of the issue by any user working with 6.0.2 on Windows 10 would be 
>> welcome.
>> The test is :
>>
>>   * Download the c.scg file
>>     <http://bugzilla.scilab.org/attachment.cgi?id=4998>
>>     (http://bugzilla.scilab.org/16189)
>>   * Run : xload("c.scg")
>>
> No, that's not the test!
> Just xload("c.scg") does not crash scilab.
> As stated in the bug report ( http://bugzilla.scilab.org/16189 ) The 
> test is the following:
> // XLOAD Segfault bug
> xdel(winsid())
> xload('c.scg'); // from 5.5.2
> h=gcf()
> xsave('c2.scg',h);
> xload('c2.scg'); //bye
>
> That is you  have to xload, save a copy and xload again the copy to crash.
> I confirm this bug under another Win10 box with a colleague.
> Can you try again? 


Done. As reported on the Bugzilla thread, the instability more likely 
comes from xsave()
-- actually save() --, that changes Scilab and makes it instable.



[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 16/09/2019 à 11:31, Antoine
      Monmayrant a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:73dfe471-57da-756c-8354-0b5c84bfea13@laas.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p><br>
      </p>
      <div class="moz-cite-prefix">Le 13/09/2019 à 13:38, Samuel Gougeon
        a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:293efad1-7b37-6d2f-2c76-095cdfdff2ea@free.fr">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <div class="moz-cite-prefix">Hello Antoine,<br>
        </div>
      </blockquote>
      Hello Samuel,<br>
      <blockquote type="cite"
        cite="mid:293efad1-7b37-6d2f-2c76-095cdfdff2ea@free.fr">
        <div class="moz-cite-prefix"> </div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix">As <a moz-do-not-send="true"
            href="http://bugzilla.scilab.org/show_bug.cgi?id=15765#c4">discussed
            with you there</a>, xload() has been restored and upgraded
          for Scilab 6.0.2.<br>
          However, its help page was updated only after the 6.0.2
          release. Its update <a moz-do-not-send="true"
            href="https://codereview.scilab.org/20991">is pending<br>
            here</a>, and visible in <a moz-do-not-send="true"
            href="http://bugzilla.scilab.org/attachment.cgi?id=4963">PDF
            there</a>.<br>
        </div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix">As it is not possible to reproduce
          the issue on win7 and on Fedora, it is clear that it depends</div>
        <div class="moz-cite-prefix">on the OS, is likely specific to
          Ubuntu, and very likely linked to HDF5 issues reported with
          Ubuntu.</div>
        <div class="moz-cite-prefix"><br>
          However, after your recent report about the same issue on
          Windows 10, the confirmation<br>
          of the issue by any user working with 6.0.2 on Windows 10
          would be welcome.</div>
        <div class="moz-cite-prefix">The test is :</div>
        <div class="moz-cite-prefix">
          <ul>
            <li>Download the <a moz-do-not-send="true"
                href="http://bugzilla.scilab.org/attachment.cgi?id=4998">c.scg
                file</a> (<a class="moz-txt-link-freetext"
                href="http://bugzilla.scilab.org/16189"
                moz-do-not-send="true">http://bugzilla.scilab.org/16189</a>)<br>
            </li>
            <li>Run : xload("c.scg")<br>
            </li>
          </ul>
        </div>
      </blockquote>
      No, that's not the test!<br>
      Just xload("c.scg") does not crash scilab.<br>
      As stated in the bug report ( <a class="moz-txt-link-freetext"
        href="http://bugzilla.scilab.org/16189" \
moz-do-not-send="true">http://bugzilla.scilab.org/16189</a>  ) The test is the \
following:  <pre>// XLOAD Segfault bug
xdel(winsid())
xload('c.scg'); // from 5.5.2
h=gcf()
xsave('c2.scg',h);
xload('c2.scg'); //bye

</pre>
      That is you  have to xload, save a copy and xload again the copy
      to crash.<br>
      I confirm this bug under another Win10 box with a colleague.<br>
      Can you try again? </blockquote>
    <p><br>
    </p>
    <p>Done. As reported on the Bugzilla thread, the instability more
      likely comes from xsave()<br>
      -- actually save() --, that changes Scilab and makes it instable.
    </p>
    <br>
  </body>
</html>



_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic