octave-maintainers
[Top][All Lists]
Advanced

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

segfault in eig()


From: John W. Eaton
Subject: segfault in eig()
Date: Mon, 17 Jul 2000 11:55:16 -0500 (CDT)

On 20-Jul-2000, Paul Kienzle <address@hidden> wrote:

| To: address@hidden
| Cc: pkienzle
| Subject: segfault in eig()
| 
| Bug report for Octave 2.0.16.91 configured for i386-pc-linux-gnu
| 
| Description:
| -----------
| 
|   eig() is seg-faulting for some inputs.
| 
| Repeat-By:
| ---------
| 
| octave:2> eig(rand(3))
| ans =
| 
|    0.18953
|    1.72461
|   -0.35627
| 
| octave:3> eig([1 1 1; 1 2 3; 1 3 6])
| error: Segmentation fault -- stopping myself...
| attempting to save variables to `octave-core'...
| save to `octave-core' complete
| 
| Segmentation fault

I'm unable to reproduce this.  There was a similar problem reported in
February 1999.  I don't remember the exact resolution, except that I
don't think it was a bug in Octave.

| FLIBS:            -L/usr/lib/gcc-lib/i486-linux/egcs-2.90.29 -lf2c -lm
| C compiler:       gcc, version 2.7.2.3
| C++ compiler:     c++, version 2.90.29 980515 (egcs-1.0.3 release)

Hmm.  It looks like you are using g77 and g++ from egs 1.0.3, but gcc
is 2.7.2.3.  It might be a good idea to use the compilers from gcc
2.95.x instead of some old egcs version, and to not mix them up with
an older version of gcc.

jwe



reply via email to

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