Thank you.
In fact, the crash does not always happen when matrix size >= 10x10.
Exactly, in my situation, for the 82x82 matrix "a" in the attach file "a.txt", it will crash.
And I also have tried "for n=1:82 inv(a(1:n,1:n)); end", it will crash when n = 43.
So, would you please have a try of the attach data file "a.txt" with the following script?
> load a.txt
> inv(a)
------------------ Original ------------------
From: "Rafael Laboissiere"<rafael@laboissiere.net>;
Date: Mon, Aug 3, 2015 03:40 PM
To: "Wang S"<wangshuo@inhand.com.cn>; "794443"<794443@bugs.debian.org>;
Subject: Re: [Pkg-octave-devel] Bug#794443: octave: should not recommendlibopenblas-base
Control: fixed -1 4.0.0-3
* Wang S <wangshuo@inhand.com.cn> [2015-08-03 14:39]:
> Package: octave
> Version: 3.8.2-4
> Severity: normal
>
> Octave crashes when inverting matrices sized 10x10 or bigger
> if libopenblas-base is installed.
> And after I remove libopenblas-base, octave does not crash.
>
> Additional info: GNU Octave bug #45651
> http://savannah.gnu.org/bugs/?45651#comment4
I cannot reproduce this bug in Octave 4.0:
$ dpkg -l libopenblas-base | grep ^ii
ii libopenblas-base 0.2.14-1 i386 Optimized BLAS (linear algebra) library (shared library)
$ octave-cli --version | grep version
GNU Octave, version 4.0.0
$ echo 'inv(randn(12)); printf("Got here\n")' | octave-cli -q
Got here
I am hereby marking this bug as fixed in version 4.0.0-3. Should we
actually close it?
RafaelAttachment:
a.txt
Description: Binary data