<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Reporter</th>
<td>antoine.monmayrant_scilab@m4x.org</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - save fails at saving variables using 1/3 of the stacksize"
href="http://bugzilla.scilab.org/show_bug.cgi?id=13847">13847</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>save fails at saving variables using 1/3 of the stacksize
</td>
</tr>
<tr>
<th>Product</th>
<td>Scilab software
</td>
</tr>
<tr>
<th>Version</th>
<td>5.5.1 final version
</td>
</tr>
<tr>
<th>OS</th>
<td>All OS
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Minor
</td>
</tr>
<tr>
<th>Component</th>
<td>Input / output
</td>
</tr>
<tr>
<th>Assignee</th>
<td>bugzilla.admin@scilab.org
</td>
</tr>
</table>
<p>
<div>
<pre>BUG DESCRIPTION:
----------------
save fails when trying to save a variable occupying 33% of the stacksize.
This inefficiency combined with the current memroy limitation of Sciab makes it quite a pain to work with big data sets under scilab
ERROR LOG:
----------
////// SCILAB PROMPT
-->exec('/mypath/bug/bug_save_big_sod.sce', -1)
%val=[a;
!--error 17
Taille de la pile dépassée
Utilisez la fonction stacksize pour l'augmenter.
Mémoire utilisée pour les variables : 121667
Mémoire intermédiaire requise : 90022
Mémoire totale disponible : 180000
in execstr instruction called by :
at line 35 of function evstr called by :
at line 1003 of function %_save called by :
save('a.sod','a');
at line 5 of exec file called by :
exec('/mypath/bug/bug_save_big_sod.sce', -1)
//// COMMAND LINE (after closing scilab)
*** Error in `scilab-bin': free(): invalid pointer: 0x000000000068ac40 ***
!--error 42
Une erreur grave a été détectée par Scilab.
Votre instance va probablement se fermer inopinément.
Ce problème provient sûrement de vos pilotes de cartes graphiques à l'utilisation d'une fonctionnalité graphique dans Scilab.
Veuillez les mettre à jour et ré-essayer .
Vous pouvez rapporter un bug sur <a href="http://bugzilla.scilab.org/">http://bugzilla.scilab.org/</a> avec :
* un extrait de code qui reproduit le bug
* le résultat de [a, b] = getdebuginfo()
* les informations suivantes :
[mouette:05526] Signal: Abandon (6)
[mouette:05526] Signal code: (-6)
Pile d'appel :
1: 0x36cc9 <gsignal> (/lib/x86_64-linux-gnu/libc.so.6)
2: 0x3a0d8 <abort> (/lib/x86_64-linux-gnu/libc.so.6)
3: 0x73394 < > (/lib/x86_64-linux-gnu/libc.so.6)
4: 0x7f66e < > (/lib/x86_64-linux-gnu/libc.so.6)
5: 0x76e02d < > (/usr/lib/x86_64-linux-gnu/libLLVM-3.4.so.1)
6: 0x3c259 < > (/lib/x86_64-linux-gnu/libc.so.6)
7: 0x3c2a5 < > (/lib/x86_64-linux-gnu/libc.so.6)
8: 0x21ecc <__libc_start_main> (/lib/x86_64-linux-gnu/libc.so.6)
9: 0x6a25 < > (scilab-bin)
Fin de la pile
!--error 999
Abandon du calcul en cours
Segmentation fault (core dumped)
HOW TO REPRODUCE THE BUG:
-------------------------
//bug_save_big_sod.sce
stacksize('max');
s=stacksize();
a=zeros(1,s(1)/3);
save('a.sod','a');
OTHER INFORMATION:
------------------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>