Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/12/2016, à 00:15

sebfoy

SCILAB et plot

Bonjour,
Je viens de passer à Xubuntu 16.04 et viens donc d'installer Scilab 5.5.2.
Problème : dès que je souhaite afficher plusieurs fenêtres graphiques en utilisant scf() : ça plante sur mon PC bureau.
Scilab ne répond plus. Je ne souviens pas avoir eu ce genre de problème auparavant.

J'ai déjà pas mal cherché en ligne sans succès. J'ai essayé avec le pilote propriétaire de ma carte NVidia. Encore pire, je n'ai plus de graphiques : les fenêtres restent vides.

Je suis super embêté car je souhaite travailler sur Scilab sur ce PC...

Sur mon vieux Notebook qui rame équipé de Lubuntu 16.04 : ça fonctionne sans planter.

Problème de carte graphique ? Problème de distribution Ubuntu ?

Merci par avance.

Dernière modification par sebfoy (Le 28/12/2016, à 00:42)

Hors ligne

#2 Le 28/12/2016, à 18:00

gl38

Re : SCILAB et plot

Quand tu dis planté, tu redémarres en coupant l'électricité ? ou il n'y a que scilab qui se plante ?
As-tu assez de RAM disponible ?
As-tu installé une partition swap ?

Chez moi, ça m'a l'air de marcher normalement avec ubuntu-mate 16.04.
Cordialement,
Guy

Hors ligne

#3 Le 28/12/2016, à 23:32

sebfoy

Re : SCILAB et plot

Merci Guy,

Il n'y a que Scilab qui plante.  Mais je redémarre le PC ensuite (y a certainement mieux...)

              total       utilisé      libre     partagé tamp/cache   disponible
Mem:        3788436     1206088     1322544       70668     1259804     2204052
Partition d'échange:     8091640           0     8091640
seb@seb-desktop:~$ free -g

Et oui il y a du swap.
Je viens d'essayer à nouveau et ça plante.

Il faut regarder à la toute fin. Essai 1 avec plot et scf() et essai 2 avec 1 fenêtre et utilisation subplot.

clear;
// R,L,C
R=3;L=30e-3;C=20e-6;e=5;f=500;

//
w=2*%pi*f;

function derivee=der(t,A,h)
//reçoit le vecteur abscisse t,le vecteur grandeur A, le pas h
//renvoie 
    //ligne 1:dérivée
    //ligne2: le vecteur t avec troncature 1er et dernier terme
    //ligne3: le vecteur grandeur A également tronqué
    
    t($)=[];t(1)=[];//préparation de x qui devra être retourné de même dimension que la dérivée
    B=A(1,1:$-1);//troncature du dernier terme
    C=A(1,2:$);//troncature du premier terme
    BB=diff(B);//A2-A1 .......An-1-An-2
    CC=diff(C);//A3-A2........An-An-1    
    Df=BB+CC;//A3-A1 ..........An-An-2
    derivee(1,:)=Df/(2*h);//dim n-2 en ligne
    derivee(2,:)=t;//dimension n-2 en ligne encore à ce stade
    derivee(3,:)=A(1,2:$-1);//dimension n-2 en ligne encore à ce stade
endfunction

// matrice de dérivation du système ydot=A.y y e ydot columns
A(1,2)=1;
A(1,1)=0;
A(2,1)=-1/(L*C);
A(2,2)=-R/L;

// dérivation de y y(1)=u et y(2)=udot soit ydot=A*y

function ydot=f(t,y)
    ydot=A*y
endfunction

// Conditions initiales y0 doit être un vecteur colonne
y0=[5;0];
t0=0;
tmax=50e-3;//secondes
Dt=tmax/1000;//nombre de points
t=t0:Dt:tmax;//création du vecteur t


//résolution par ODE; appel des CI, des points t et de la fonction qui dérive y
z=ode(y0,t0,t,f);//z(1,:)est u, z(2,:)est sa dérivée
y_part=e*cos(w*t);
y=y_part + z(1,:)//homo+part

//ydot=-w*e*sin(w*t)+z(2,:)//dérivée analytique

// 1 dérivée numérique simplifiée 
    //ydot_calc=diff(y)/Dt;//dérivée numérique
    //ydot=ydot_calc;
    //t_dim=t(1:$-1);
    //y_dim=y(1:$-1)
    
// 2 dérivée numérique centrée appel à fonction
dA=(der(t,y,Dt))';//a été transposée pour fabriquer une colonne pour plot2d
T=dA(:,2);//une colonne
dY=dA(:,1);//une colonne
Y=dA(:,3);

//*******************************************************************
//subplot(2,1,1);
//plot2d(T,Y);
//subplot(2,1,2);
//plot2d(T,dY);

plot(T,Y);
scf();
plot(T,dY);

et celle qui ne plante pas

clear;
// R,L,C
R=3;L=30e-3;C=20e-6;e=5;f=500;

//
w=2*%pi*f;

function derivee=der(t,A,h)
//reçoit le vecteur abscisse t,le vecteur grandeur A, le pas h
//renvoie 
    //ligne 1:dérivée
    //ligne2: le vecteur t avec troncature 1er et dernier terme
    //ligne3: le vecteur grandeur A également tronqué
    
    t($)=[];t(1)=[];//préparation de x qui devra être retourné de même dimension que la dérivée
    B=A(1,1:$-1);//troncature du dernier terme
    C=A(1,2:$);//troncature du premier terme
    BB=diff(B);//A2-A1 .......An-1-An-2
    CC=diff(C);//A3-A2........An-An-1    
    Df=BB+CC;//A3-A1 ..........An-An-2
    derivee(1,:)=Df/(2*h);//dim n-2 en ligne
    derivee(2,:)=t;//dimension n-2 en ligne encore à ce stade
    derivee(3,:)=A(1,2:$-1);//dimension n-2 en ligne encore à ce stade
endfunction

// matrice de dérivation du système ydot=A.y y e ydot columns
A(1,2)=1;
A(1,1)=0;
A(2,1)=-1/(L*C);
A(2,2)=-R/L;

// dérivation de y y(1)=u et y(2)=udot soit ydot=A*y

function ydot=f(t,y)
    ydot=A*y
endfunction

// Conditions initiales y0 doit être un vecteur colonne
y0=[5;0];
t0=0;
tmax=50e-3;//secondes
Dt=tmax/1000;//nombre de points
t=t0:Dt:tmax;//création du vecteur t


//résolution par ODE; appel des CI, des points t et de la fonction qui dérive y
z=ode(y0,t0,t,f);//z(1,:)est u, z(2,:)est sa dérivée
y_part=e*cos(w*t);
y=y_part + z(1,:)//homo+part

//ydot=-w*e*sin(w*t)+z(2,:)//dérivée analytique

// 1 dérivée numérique simplifiée 
    //ydot_calc=diff(y)/Dt;//dérivée numérique
    //ydot=ydot_calc;
    //t_dim=t(1:$-1);
    //y_dim=y(1:$-1)
    
// 2 dérivée numérique centrée appel à fonction
dA=(der(t,y,Dt))';//a été transposée pour fabriquer une colonne pour plot2d
T=dA(:,2);//une colonne
dY=dA(:,1);//une colonne
Y=dA(:,3);
//*********************résidus*************************************

//ydot_anal=ydot(1:$-1);
//residu=ydot_calc-ydot_anal;
//Y_dot=[ydot_calc;ydot_anal;residu];
//X=T';
//Y=Y_dot';
//plot2d(X,Y)

//*******************************************************************
subplot(2,1,1);
plot2d(T,Y);
subplot(2,1,2);
plot2d(T,dY);

//plot(T,Y);
//scf();
//plot(T,dY);

J'ai l'impression que c'est dès qu'il y a plus d'une fenêtre...

Dernière modification par sebfoy (Le 28/12/2016, à 23:34)

Hors ligne

#4 Le 29/12/2016, à 10:45

gl38

Re : SCILAB et plot

Et si tu lances scilab en ligne de commande, est-ce que tu obtiens un message d'erreur ?
Chez moi, les 2 fichiers fonctionnent.
Cordialement,
Guy

Hors ligne

#5 Le 29/12/2016, à 11:38

sebfoy

Re : SCILAB et plot

Bonjour Guy,
Java... Bien entendu, je n'y comprends rien. J'espère que toi oui...

seb@seb-desktop:~$ scilab
Error parsing gtk-icon-sizes string: ''
terminate called after throwing an instance of 'GiwsException::JniCallMethodException'
  what():  Exception when calling Java method : 
 at java.lang.Object.notifyAll(Native Method)
 at javax.swing.text.AbstractDocument.writeUnlock(AbstractDocument.java:1364)
 at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:710)
 at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
 at org.scilab.modules.console.SciOutputView.displayLineBuffer(Unknown Source)
 at org.scilab.modules.console.SciOutputView.append(Unknown Source)
 at org.scilab.modules.gui.bridge.console.SwingScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsoleBridge.display(Unknown Source)
 at org.scilab.modules.gui.bridge.ScilabBridge.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.bridge.CallScilabBridge.display(Unknown Source)
 at jogamp.opengl.x11.glx.GLX.dispatch_glXDestroyContext0(Native Method)
 at jogamp.opengl.x11.glx.GLX.glXDestroyContext(GLX.java:337)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyContextARBImpl(X11GLXContext.java:211)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyImpl(X11GLXContext.java:489)
 at jogamp.opengl.GLContextImpl.destroy(GLContextImpl.java:494)
 at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.destroy(GLJPanel.java:1816)
 at com.jogamp.opengl.awt.GLJPanel$8.run(GLJPanel.java:1489)
 at com.jogamp.opengl.Threading.invoke(Threading.java:223)
 at com.jogamp.opengl.awt.GLJPanel.dispose(GLJPanel.java:487)
 at com.jogamp.opengl.awt.GLJPanel.removeNotify(GLJPanel.java:688)
 at java.awt.Container.remove(Container.java:1206)
 at java.awt.Container.remove(Container.java:1264)
 at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas.removeNotify(Unknown Source)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeAll(Container.java:1297)
 at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.close(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow.removeTabs(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.close(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow$1.windowClosing(Unknown Source)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.Window.processWindowEvent(Window.java:2054)
 at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
 at java.awt.Window.processEvent(Window.java:2013)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2294)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.awt.EventQueue$4.run(EventQueue.java:729)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 at java.lang.Object.notifyAll(Native Method)
 at javax.swing.text.AbstractDocument.writeUnlock(AbstractDocument.java:1364)
 at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:710)
 at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
 at org.scilab.modules.console.SciOutputView.displayLineBuffer(Unknown Source)
 at org.scilab.modules.console.SciOutputView.append(Unknown Source)
 at org.scilab.modules.gui.bridge.console.SwingScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsoleBridge.display(Unknown Source)
 at org.scilab.modules.gui.bridge.ScilabBridge.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.bridge.CallScilabBridge.display(Unknown Source)
 at jogamp.opengl.x11.glx.GLX.dispatch_glXDestroyContext0(Native Method)
 at jogamp.opengl.x11.glx.GLX.glXDestroyContext(GLX.java:337)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyContextARBImpl(X11GLXContext.java:211)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyImpl(X11GLXContext.java:489)
 at jogamp.opengl.GLContextImpl.destroy(GLContextImpl.java:494)
 at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.destroy(GLJPanel.java:1816)
 at com.jogamp.opengl.awt.GLJPanel$8.run(GLJPanel.java:1489)
 at com.jogamp.opengl.Threading.invoke(Threading.java:223)
 at com.jogamp.opengl.awt.GLJPanel.dispose(GLJPanel.java:487)
 at com.jogamp.opengl.awt.GLJPanel.removeNotify(GLJPanel.java:688)
 at java.awt.Container.remove(Container.java:1206)
 at java.awt.Container.remove(Container.java:1264)
 at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas.removeNotify(Unknown Source)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeAll(Container.java:1297)
 at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.close(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow.removeTabs(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.close(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow$1.windowClosing(Unknown Source)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.Window.processWindowEvent(Window.java:2054)
 at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
 at java.awt.Window.processEvent(Window.java:2013)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2294)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.awt.EventQueue$4.run(EventQueue.java:729)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Merci !
Sébastien

Hors ligne

#6 Le 29/12/2016, à 11:44

sebfoy

Re : SCILAB et plot

Enfin, deux nouveautés :
1) scilab se ferme à la fermeture du terminal même planté ! Yooupi.
2) il ne plante pas si je ferme les fenêtres dans l'ordre de numérotation soit 0 puis 1.

Le plantage ne se fait donc qu'à la fermeture des fenêtres de graphiques.

Dernière modification par sebfoy (Le 29/12/2016, à 11:45)

Hors ligne

#7 Le 29/12/2016, à 11:46

gl38

Re : SCILAB et plot

Que donne

java -version

Cordialement,
Guy

Hors ligne

#8 Le 29/12/2016, à 11:53

sebfoy

Re : SCILAB et plot

seb@seb-desktop:~$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

Merci Guy

Dernière modification par sebfoy (Le 29/12/2016, à 11:53)

Hors ligne

#9 Le 29/12/2016, à 12:21

gl38

Re : SCILAB et plot

J'ai la même version de java, mais c'est celle d'oracle que l'on peut obtenir ici.
Il suffit de l'installer dans le dossier /opt
et d'ajouter /opt/jre1.8.0_111/bin en tête de la variable PATH
Cordialement,
Guy

Hors ligne

#10 Le 29/12/2016, à 12:26

sebfoy

Re : SCILAB et plot

Je ne suis pas familier de tout cela. Je ne fais que copier des lignes de code normalement...
Qu'est-ce que je dois télécharger exactement ?
Et comment l'installer dans /opt ?
PATH ???

Merci de ta patience.

Hors ligne

#11 Le 29/12/2016, à 13:06

gl38

Re : SCILAB et plot

Sur java.com, on clique sur Téléchargement gratuit de java, on choisit "Linux x64 taille du fichier : 68.57 MB ", on obtient un fichier jre-8u111-linux-x64.tar.gz
Par défaut il arrive dans ton dossier Téléchargements.
Alors

cd /opt
sudo tar zxvf ~/Téléchargements/jre-8u111-linux-x64.tar.gz

Ensuite to ouvres ton fichier caché .profile et à la fin tu fais en sorte qu'il y ait quelque chose du genre

if [ -d "$HOME/bin" ] ; then
    PATH="/opt/jre1.8.0_111/bin:$HOME/bin:$PATH"
fi

Tu fermes ta session et tu la relances, alors tu devrais disposer du nouveau java et peut-être que ça va aller mieux...
Cordialement,
Guy

Hors ligne

#12 Le 29/12/2016, à 13:08

sebfoy

Re : SCILAB et plot

seb@seb-desktop:/opt$ dir
jre1.8.0_111  wine-devel

Après un peu de web ;o)
Le path, je n'y ai pas compris grand chose...

Hors ligne

#13 Le 29/12/2016, à 13:19

gl38

Re : SCILAB et plot

La variable PATH dit au système où chercher les exécutables. Je mets /opt/jre1.8.0_111/bin en tête pour qu'il trouve le nouveau java avant l'autre.
Pour revenir en arrière il suffit d'effacer ce qu'on a ajouté dans le fichier .profile et redémarrer la session.
Cordialement,
Guy

Hors ligne

#14 Le 29/12/2016, à 13:21

sebfoy

Re : SCILAB et plot

Je pense avoir réussi.

seb@seb-desktop:~$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

Hors ligne

#15 Le 29/12/2016, à 13:22

sebfoy

Re : SCILAB et plot

Malheureusement...

seb@seb-desktop:~$ scilab
Error parsing gtk-icon-sizes string: ''
terminate called after throwing an instance of 'GiwsException::JniCallMethodException'
  what():  Exception when calling Java method : 
 at java.lang.Object.notifyAll(Native Method)
 at javax.swing.text.AbstractDocument.writeUnlock(AbstractDocument.java:1364)
 at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:710)
 at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
 at org.scilab.modules.console.SciOutputView.displayLineBuffer(Unknown Source)
 at org.scilab.modules.console.SciOutputView.append(Unknown Source)
 at org.scilab.modules.gui.bridge.console.SwingScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsoleBridge.display(Unknown Source)
 at org.scilab.modules.gui.bridge.ScilabBridge.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.bridge.CallScilabBridge.display(Unknown Source)
 at jogamp.opengl.x11.glx.GLX.dispatch_glXDestroyContext0(Native Method)
 at jogamp.opengl.x11.glx.GLX.glXDestroyContext(GLX.java:337)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyContextARBImpl(X11GLXContext.java:211)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyImpl(X11GLXContext.java:489)
 at jogamp.opengl.GLContextImpl.destroy(GLContextImpl.java:494)
 at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.destroy(GLJPanel.java:1816)
 at com.jogamp.opengl.awt.GLJPanel$8.run(GLJPanel.java:1489)
 at com.jogamp.opengl.Threading.invoke(Threading.java:223)
 at com.jogamp.opengl.awt.GLJPanel.dispose(GLJPanel.java:487)
 at com.jogamp.opengl.awt.GLJPanel.removeNotify(GLJPanel.java:688)
 at java.awt.Container.remove(Container.java:1206)
 at java.awt.Container.remove(Container.java:1264)
 at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas.removeNotify(Unknown Source)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeAll(Container.java:1297)
 at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.close(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow.removeTabs(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.close(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow$1.windowClosing(Unknown Source)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.Window.processWindowEvent(Window.java:2054)
 at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
 at java.awt.Window.processEvent(Window.java:2013)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2294)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.awt.EventQueue$4.run(EventQueue.java:729)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 at java.lang.Object.notifyAll(Native Method)
 at javax.swing.text.AbstractDocument.writeUnlock(AbstractDocument.java:1364)
 at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:710)
 at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
 at org.scilab.modules.console.SciOutputView.displayLineBuffer(Unknown Source)
 at org.scilab.modules.console.SciOutputView.append(Unknown Source)
 at org.scilab.modules.gui.bridge.console.SwingScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsoleBridge.display(Unknown Source)
 at org.scilab.modules.gui.bridge.ScilabBridge.display(Unknown Source)
 at org.scilab.modules.gui.console.ScilabConsole.display(Unknown Source)
 at org.scilab.modules.gui.bridge.CallScilabBridge.display(Unknown Source)
 at jogamp.opengl.x11.glx.GLX.dispatch_glXDestroyContext0(Native Method)
 at jogamp.opengl.x11.glx.GLX.glXDestroyContext(GLX.java:337)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyContextARBImpl(X11GLXContext.java:211)
 at jogamp.opengl.x11.glx.X11GLXContext.destroyImpl(X11GLXContext.java:489)
 at jogamp.opengl.GLContextImpl.destroy(GLContextImpl.java:494)
 at com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.destroy(GLJPanel.java:1816)
 at com.jogamp.opengl.awt.GLJPanel$8.run(GLJPanel.java:1489)
 at com.jogamp.opengl.Threading.invoke(Threading.java:223)
 at com.jogamp.opengl.awt.GLJPanel.dispose(GLJPanel.java:487)
 at com.jogamp.opengl.awt.GLJPanel.removeNotify(GLJPanel.java:688)
 at java.awt.Container.remove(Container.java:1206)
 at java.awt.Container.remove(Container.java:1264)
 at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvas.removeNotify(Unknown Source)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeNotify(Container.java:2804)
 at javax.swing.JComponent.removeNotify(JComponent.java:4758)
 at java.awt.Container.removeAll(Container.java:1297)
 at org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel.close(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow.removeTabs(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.close(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.utils.ClosingOperationsManager.startClosingOperation(Unknown Source)
 at org.scilab.modules.gui.bridge.window.SwingScilabDockingWindow$1.windowClosing(Unknown Source)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
 at java.awt.Window.processWindowEvent(Window.java:2054)
 at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
 at java.awt.Window.processEvent(Window.java:2013)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2294)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.awt.EventQueue$4.run(EventQueue.java:729)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Est-ce que ma carte graphique pourrait être incriminée ici ?

Merci encore

Dernière modification par sebfoy (Le 29/12/2016, à 13:26)

Hors ligne

#16 Le 29/12/2016, à 14:34

gl38

Re : SCILAB et plot

Hum !
Le message d'erreur est exactement le même.
Je pense que c'est la même version de java dans les 2 cas.
Que donne

java -version

et

echo $PATH

Cordialement,
Guy

Hors ligne

#17 Le 29/12/2016, à 14:46

sebfoy

Re : SCILAB et plot

seb@seb-desktop:~$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
seb@seb-desktop:~$ echo $PATH
/opt/jre1.8.0_111/bin:/home/seb/bin:/home/seb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

A demain peut-être ! Je vais faire dodo. Il est presque minuit ici... Encore un grand merci pour ton aide.

Hors ligne

#18 Le 30/12/2016, à 12:26

gl38

Re : SCILAB et plot

J'ai essayé tes fichiers avec le java d'openjdk : ça ne plante pas. Il semble donc que le problème n'est pas dans java.
Cordialement,
Guy

Hors ligne

#19 Le 30/12/2016, à 12:37

sebfoy

Re : SCILAB et plot

Salut,
Peut-être la carte graphique  avec cette nouvelle version ?
Ou désinstallation réinstallation SCILAB ?
A+

Hors ligne

#20 Le 30/12/2016, à 12:52

gl38

Re : SCILAB et plot

Je ne crois pas que réinstaller scilab change quelque chose : les mêmes fichiers vont se remettre au même endroit.
Par contre tu as un dossier personnel .Scilab que tu peux effacer.
Il y a aussi cette page qui donne des pistes.
Cordialement,
Guy

Hors ligne

#21 Le 30/12/2016, à 12:53

sebfoy

Re : SCILAB et plot

Merci. Depuis, je découvre Python. Aride...
A un de ces jours.

Hors ligne