[scilab-Users] Scilab/C interface functions

Eduardo Torrecillas eduardo.torrecillas at gmail.com
Mon Oct 25 18:19:21 CEST 2010


Yes, it was also tested on SCILAB 5.2.0 and got the same problem.
However, I just discovered the problem is in C source code (memory
allocation problems) and it is now correct. Nothing wrong with SCILAB.

Thanks for your help.



On Mon, Oct 25, 2010 at 12:29 PM, Sylvestre Ledru <
sylvestre.ledru at scilab.org> wrote:

> Le lundi 25 octobre 2010 à 11:48 -0200, Eduardo Torrecillas a écrit :
> > Hi all,
> >
> > Copying here a message posted on EQUALIS SCILAB SUPPORT FORUM.
> > Any help will be appreciated.
> >
> >
> >
> > I am currently using Scilab v 4.1.2 (INTERSCI interfacing tool) and
> > gcc compiler under Fedora Linux in order to build Scibal/C interface
> > functions. Those functions are used to read large text files as part
> > of a Scilab script that is supposed to perform that operation several
> > times. At a certain point, during the execution, Scilab crashes. I
> > have realized that the number of external function calls before the
> > crash depends on the size of the file. The larger the file earlier the
> > crash happens. It looks like a kind of buffer limit is reached or
> > probably there is something wrong with the C code.
> > Please, see the attached files:
> > - cnumber_freq.c (C code);
> > - file.pch (the file to be read)
> > - interface.desc (intersci interface file)
> > - interface_builder.sce (library builder)
> > - loader.sce (library loader)
> > - read_file.sci (Scilab script - for debug)
> Does this also occurs with Scilab 5.X family ?
>
> Regards,
> Sylvestre
>
> --
> -------------------------
> Sylvestre Ledru
> -------------------------
> The Scilab Consortium
> Digiteo
> Domaine de Voluceau
> Rocquencourt - B.P. 105
> 78153 Le Chesnay Cedex
> France
>
>


-- 
Eduardo Torrecillas
AER-09
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101025/803c16d8/attachment.htm>


More information about the users mailing list