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

<br><br><br><div class="gmail_quote">On Mon, Oct 25, 2010 at 12:29 PM, Sylvestre Ledru <span dir="ltr"><<a href="mailto:sylvestre.ledru@scilab.org">sylvestre.ledru@scilab.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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