gcc64-bitmingwscilab

"dos: Memory allocation error" while loading 'mingw-0.9.3-0'


"dos: Memory allocation error" occurs while loading 'mingw-0.9.3-0' on Scilab 5.5.2. How can I get rid of these messages?

ATOMS (Scilab's Module Manager) prompted me to install MinGW because some Scilab demos are available only when gcc is installed. My Machine is 64-bit Windows10 and my Scilab is also a 64-bit version, so I chose a 64-bit version of MinGW. After that, I installed the interface between them through ATOMS, and restarted Scilab. Then, I got this message:

Startup execution:
  loading initial environment

Mingw Compiler support for Scilab
    Load macros
Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION)
with "stacksize" function.
Save your data and restart Scilab.
Converting Libraries.
Build libblasplus.a
atomsLoad: An error occurred while loading 'mingw-0.9.3-0':
    dos: Memory allocation error.

... I searched a solution and all I found is this thread: https://atoms.scilab.org/toolboxes/mingw

Although their error messages (Undefined operation) are different from mine (Memory allocation error), this seems to be a bug which has not been fixed yet. Incidentally, I already started Scilab with "Run as Administrator" option and no luck. Is there any solution?


Solution

  • I'm also fighting with this problem for a while. Seems to be a incompatibility of the stacksize function on win10 machines.

    This fix is working for me: