[Scilab-users] EXCEPTION_ACCESS_VIOLATION error

Serge Steer Serge.Steer at inria.fr
Wed Nov 21 11:04:12 CET 2012


take care that i.*.ones(j) generates a vector of size 130321^2 which is 
near 2^34. With the current Scilab, the array dimensions (ans pointers) 
are stored in 32 bits integers. The crash is probably due to a missing 
test on dimensions in the kronecker product gateway.
Butindependently of that you wont be able to generate such a huge vector.

May be you have to think about batch processing.

Serge
On 21/11/2012 08:50, Paul Carrico wrote:
>
> All,
>
> I had the following error :
>
> -->i=[1:130321]';
>
> -->size(i)
>
> ans  =
>
>     130321.    1.
>
> -->j=[1:130321]';
>
> -->size(i.*.ones(j))
>
> Warning !!!
>
> Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION)
>
> with "kron" function.
>
> Save your data and restart Scilab.
>
> ans  =
>
>     130321.    1.
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121121/7e16380d/attachment.htm>


More information about the users mailing list