Re: [Scilab-users] scilab-branch-6.0 crashes when changing block parameters

2019-02-06 Thread Clément David
Hello Grzegorz,

Correct! There is some invalid read/write and memory leaks while using Xcos. 
There were some fixes already applied but still some work to do (see [1] for 
example). I will check your reported issue (double click on CLSS on windows 64) 
to check what is wrong. Thanks for your investigation, hope we will fix it for 
the release.

[1]: https://codereview.scilab.org/#/c/20796/

--
Clément

-Original Message-
From: users  On Behalf Of Grzegorz
Sent: Wednesday, February 6, 2019 12:59 PM
To: users@lists.scilab.org
Subject: [Scilab-users] scilab-branch-6.0 crashes when changing block parameters

Hello, 

I see that we are close to new Scilab release:) Thanks for your great work!

I've installed Scilab from 6.0 branch and having some problems with Xcos. It 
may be not an issue since 6.0 branch is still under development. Just letting 
you know :) 

Build #3904 of Revision f0a2a8124ad40c3d519fc5c8120bf5294fd38811 

When I use Xcos and e.g CLSS block, open its parameters and simply confirm with 
OK Scilab crashes.

After checking block code I've found that line with graphics object assignment 
crashes Scilab.

// code from Xcos block
.
graphics.exprs = exprs;
*x.graphics = graphics;*
x.model = model;


>From hs_err_pid11472.log I get

EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x50dad1cc, pid=11472, 
tid=0x32ac

Regards Grzegorz 





--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] scilab-branch-6.0 crashes when changing block parameters

2019-02-06 Thread Grzegorz
Hello, 

I see that we are close to new Scilab release:) Thanks for your great work!

I've installed Scilab from 6.0 branch and having some problems with Xcos. It
may be not an issue since 6.0 branch is still under development. Just
letting you know :) 

Build #3904 of Revision f0a2a8124ad40c3d519fc5c8120bf5294fd38811 

When I use Xcos and e.g CLSS block, open its parameters and simply confirm
with OK Scilab crashes.

After checking block code I've found that line with graphics object
assignment crashes Scilab.

// code from Xcos block
.
graphics.exprs = exprs;
*x.graphics = graphics;*
x.model = model;


>From hs_err_pid11472.log I get

EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x50dad1cc, pid=11472,
tid=0x32ac

Regards Grzegorz 





--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users