"Matlab-like" plotting library

Issue 1562: autoload of plotlib 0.46-3 opens figure n°0, yields 2 CRITICAL ERRORS and

Reported by Samuel Gougeon, Jul 16, 2015

Steps to reproduce the problem:
1. install Plotlib 0.46
2. set its autoload flag to on
3. quit and restart Scilab

Expected result:

Actual result:

Initialisation :
  Chargement de l'environnement de travail

Start plotlib toolbox 0.46
Load macros
Load help

Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION)
with "get" function.
Save your data and restart Scilab.
Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION)
with "get" function.
Save your data and restart Scilab.

+ Figure n° Opened
+ Impossible to restart a working Scilab, because startup is 
corrupted and nothin works, even the atomsGui, atoms functions, etc. 

Files SCI\.atoms\autoload.txt and autoload.bin must be removed by 
hand to free Scilab.

Comment 1 by Samuel Gougeon, Jul 16, 2015

This is on win7_x64.
Files to be removed are autoloaded.txt | . bin (not autoload.txt ..)

Comment 2 by Stéphane Mottelet, Jul 27, 2015


I was not able to reproduce this problem under Scilab 5.5.2. When I 
install the module from the atoms module manager, the autoload flag 
is checked by default and the module loads silently. If I uncheck 
it, restart, then recheck, and restart, no problem either.


Comment 3 by Samuel Gougeon, Jul 27, 2015

Hello Stéphane,
For me it is still now 100% reproducible, whatever Plotlib is the 
only toolbox to be autoloaded or not. Therefore, it does not look to 
come from interferences with another toolbox.
Could it be specific to win7_x64.

Comment 4 by Andrzej Brozi, Nov 8, 2015

I've got the same problem.
Scilab 5.5.2 64-bit, Windows 10 64-bit.
I've got several modules installed, but only Scipad is set to load 
at startup.
In my case I first noticed an empty plot window open and then the 
Scilab error texts as shown in the original post.
Scilab did not respond to keyboard commands nor to menu selections 
by mouse.
Installing plotlib from Atoms menu and by command line 
"atomsInstall('plotlib')" produced the same result.
I had to remove plotlib subfolder from contrib - it generated 
startup error and only then it was possible to run Atoms and 
uninstall plotlib.
Andrzej Brozi

Created: 2 years 4 months ago by Samuel Gougeon

Updated: 2 years 1 month ago

Status: New

Followed by: 2 persons