[Bugzilla] [Bug 13847] New: save fails at saving variables using 1/3 of the stacksize

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Tue Apr 28 15:39:57 CEST 2015


http://bugzilla.scilab.org/show_bug.cgi?id=13847
--------- Bug Summary -----------
save fails at saving variables using 1/3 of the stacksize

---------- Changed by ------------
antoine.monmayrant_scilab at m4x.org

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter


            Bug ID: 13847
           Summary: save fails at saving variables using 1/3 of the
                    stacksize
           Product: Scilab software
           Version: 5.5.1 final version
          Hardware: PC
                OS: All OS
            Status: NEW
          Severity: Minor
          Priority: P5
         Component: Input / output
          Assignee: bugzilla.admin at scilab.org
          Reporter: antoine.monmayrant_scilab at m4x.org

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 http://bugzilla.scilab.org/ 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:
------------------

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20150428/462d3cf1/attachment.htm>


More information about the Bugzilla mailing list