Tue 16 May 2017 03:01:10 PM UTC, comment #12:
could someone knowledgeable relay this upstream to msys?
|
Sun 14 May 2017 03:04:32 PM UTC, comment #11:
Same problem as Martin with last released version 4.2.1
D.
|
Thu 30 Mar 2017 08:10:53 PM UTC, comment #10:
Hello,
I just today installed Octave 4.2.1, typed "pkg list" as my first command and it broke:
- [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x60000, State 0x10000
C:\Octave\OCTAVE~1.1\bin\less.exe: *** Couldn't reserve space for cygwin's heap,
Win32 error 0
Then I installed the attached msys-1.0.dll from Octave-3.2.3 and it the package list was displayed.
I run Microsoft Windows Server 2012 Standard.
So I guess the problem has not really been fixed.
Thanks,
Martin
|
Fri 22 Apr 2016 03:52:35 PM UTC, comment #9:
Running on Windows 10: I uninstalled 4.0.1, including deleting folders with "extra files". Installed 4.0.2 and, before doing anything else, ran both scripts that previously caused the issue. No problem with either one.
|
Fri 22 Apr 2016 03:31:14 PM UTC, comment #8:
A new bug fix version of Octave, 4.0.2, has just been released (ftp://ftp.gnu.org/gnu/octave). There were some important fixes to memory handling for Windows platforms which resolved several segfaults. Could someone who is experiencing this bug try the new release and see if the bug is still present?
|
Tue 19 Apr 2016 06:10:29 PM UTC, comment #7:
Ha! today the error does not occur. Something that might have changed it is that I did "more off" once before running the script. Now it does not seem to matter whether more is on or off. Maybe that's why few people see this happening.
|
Sun 17 Apr 2016 06:25:28 PM UTC, comment #6:
Well, this should narrow it down a bit more. Again, Octave 4.0.1 on Windows 10.
z = ones(64,2);
disp(z);
The command window shows:
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x60E80000, BaseAddress 0x60EA0000, RegionSize 0x13000, State 0x1000
C:\Octave\Octave-4.0.1\bin\less.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
|
Sun 17 Apr 2016 04:04:13 PM UTC, comment #5:
On my last comment: just realized I said 4.0.0, but I'm running 4.0.1. Maybe the original report should also have been for 4.0.1, as I never saw this happen with 4.0.0.
|
Sun 17 Apr 2016 03:26:57 PM UTC, comment #4:
I also see this problem using the following script with 4.0.0 on Windows 10. The error seems to occur at the first disp() call.
function bug()
N = 31;
disp(0:N-1);
for c = 1:N-1
[ m, a ] = testbug(N,c);
disp([ c m/sqrt(N) a/pi ]);
end
end
function [ m, a ] = testbug(N,c)
m = 1;
a = 0;
end
|
Sat 26 Mar 2016 03:32:54 PM UTC, comment #3:
We need more information about this if something needs to be done in Octave's Windows build. The Octave build for Windows is used by many and this problem has not been reported by others, so what is it about the dll, or what is it about your system that is flagging this dll as a problem?
The msys-1.0.dll that is installed with Octave is the current version of the official dll provided by the msys project, downloaded from here:
http://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.18-1/msysCORE-1.0.18-1-msys-1.0.18-bin.tar.lzma
If you download and extract that dll does the same error occur?
|
Sat 26 Mar 2016 03:06:05 AM UTC, comment #2:
Hi Project Admin. Yes, we could solve this by replacing the msys-1.0.dll with a much older one. But would the newer version of Windows binaries come with an msys-1.0.dll that doesn't have this issue? Because getting a dll from somewhere else is not as comforting and trustworthy as getting it from the official release of octave from the gnu project. Thanks.
|
Tue 22 Mar 2016 08:30:46 PM UTC, comment #1:
Whenever you have more than one screenful of data to display, such as a large matrix, Octave attempts to send the data through a pager. You can disable this with
Alternatively, you can set the pager to something besides less.exe which might work on Windows. Use
to set the pager to something else.
Or, as you said, you can replace the buggy msys-1.0.dll.
|
Tue 22 Mar 2016 09:39:31 AM UTC, original submission:
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:
- [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 http://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.
|