octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47497] VirtualAlloc pointer is null. Replace


From: anonymous
Subject: [Octave-bug-tracker] [bug #47497] VirtualAlloc pointer is null. Replace msys-1.0.dll as a workaround
Date: Tue, 22 Mar 2016 09:39:32 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?47497>

                 Summary:  VirtualAlloc pointer is null. Replace msys-1.0.dll
as a workaround
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 22 Mar 2016 09:39:31 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Alef
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This happened after the recently update of windows 10. Previously, I installed
from the binary file obtained from https://ftp.gnu.org/gnu/octave/windows/,
and my OS was (and still is) Win 10. It works fine, until recently. The only
change happened to my computer is that windows 10 automatically updated itself
for some critical patch. And after that, this bug appears. A basic test code
is:
rand(30)

Notice that there is NO ';' in the above code. Octave returns the following
error msg:
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x490000, State
0x10000
E:\Programs\Octave\Octave-4.0.0\bin\less.exe: *** Couldn't reserve space for
cygwin's heap, Win32 error 0

It seems that it is related to less.exe. Trying 'rand(30);' won't have the
issue. Trying 'zeros(60)' will results in the same issue, while 'zeros(30)' is
fine. I tried installing Octave-4.0.1, but couldn't solve this problem.

After googling part of the error msg, I found that other applications/versions
also have similar error msg, for example git, MPLAP and Octave-3.2.3
(http://octave.1599824.n4.nabble.com/copyfile-not-working-on-my-new-Win7-PC-td2716694.html).


It may be related to the msys-1.0.dll in the Octave-4.0.0/bin/ directory.
Following www.microchip.com/forums/m595269.aspx, I got a workaround: replacing
the msys-1.0.dll with the attached one obtained from the above forum, it
solved the problem (for now). 

Don't know why and what happens. Thanks.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 22 Mar 2016 09:39:31 AM UTC  Name: msys-1.0.dll  Size: 718kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=36722>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47497>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]