[Scilab-users] legends() in scilab-6.0.0-beta-1

Adorian Ardelean aardelean at mybiosis.info
Wed Jan 25 19:00:45 CET 2017


Hi,

I am trying to run a test scilab script in a debian 8 server 
environment, but legends() is constantly failing.

I execute the script file via command line & the scilab version is 
scilab-6.0.0-beta-1

./bin/scilab  -nw -nb -e "exec('sci.sci')";

and I get the following:

--> t=0:0.1:2*%pi;

--> scf(8);

--> xset("line style",2);plot2d(t,cos(t),style=5);

--> xset("line style",4);plot2d(t,sin(t),style=3);

--> legends(["sin(t)";"cos(t)"],[[5;2],[3;4]], with_box=%f, opt="?")

terminate called after throwing an instance of 
'GiwsException::JniCallMethodException'
   what():  Exception when calling Java method :
  at 
org.scilab.modules.renderer.JoGLView.axes.AxesDrawer.updateAxesTransformation(Unknown 
Source)
  at org.scilab.modules.renderer.CallRenderer.updateSubwinScale(Unknown 
Source)

  at 
org.scilab.modules.renderer.JoGLView.axes.AxesDrawer.updateAxesTransformation(Unknown 
Source)
  at org.scilab.modules.renderer.CallRenderer.updateSubwinScale(Unknown 
Source)

A fatal error has been detected by Scilab.
Your instance will probably quit unexpectedly soon.
If a graphic feature has been used, this might be caused by the system 
graphic drivers.

Getdebuginfo throws the following info:
!Scilab Version: scilab-6.0.0-beta-1                   !
!                                                      !
!Compilation date: Feb 10 2016                         !
!                                                      !
!Compilation time: 13:58:37                            !
!                                                      !
!Compileur version: 4.8.2 20140120 (Red Hat 4.8.2-15)  !
!                                                      !
!XML version: 2.9.1                                    !
!                                                      !
!Compiler Architecture: X64                            !

  a  =

!Total memory:   32876156                    !
!                                            !
!Used memory:   32230312                     !
!                                            !
!Free memory:     645844                     !
!                                            !
!Shared memory:          0                   !
!                                            !
!Buffers memory:     439632                  !
!                                            !
!Cached memory:   30117676                   !
!                                            !
!Used -/+ buffers/cache:    1673004          !
!                                            !
!Free -/+ buffers/cache:   31203152          !
!                                            !
!Total swap:   16768892                      !
!                                            !
!Used swap:          0                       !
!                                            !
!Free swap:   16768892                       !

Is this a bug that should be reported?

All the best,
Adorian






More information about the users mailing list