seg-fault of octave on MacOSX

John W. Eaton jwe at bevo.che.wisc.edu
Tue Dec 4 20:32:05 CST 2007


On  5-Dec-2007, Jean-François Mertens wrote:

| 
| On 04 Dec 2007, at 23:34, Jean-François Mertens wrote:
| 
| > http://www.cae.wisc.edu/pipermail/bug-octave/2007-November/003970.html
| >
| > A seg-fault of octave on its own test-suite, at least when compiled  
| > on Mac-Intel
| > with gfortran 4.2.2.
| 
| This occurs even when octave is compiled with
| FFLAGS='-O0 -gfull -Wall'
| 
| Does somebody know how to reduce this test to smaller ones,
| or the list of object files getting called during this test ?
| The content of fntests.log is completely uninformative;
| last line is:
|  >>>>> processing /sw/.bld/octave-2.9.17-1/octave-2.9.17/src/ov-fcn- 
| handle.cc

I don't see how FFLAGS could be important here.  The ov-fcn-handle
file is written in C++ and I don't see that the tests in that file
depend in any way on parts of Octave that are written in Fortran.

| OhOh !  Now I see some sort of test-sequences (2) within the code of
| src/ov-fcn-handle.cc itself !
| Any instruction on how to run those independently, and preferably  
| step by step,
| in the builddir ?

The tests are simply bits of Octave code.  You can extract them
(omitting the %! comment marker, of course) and run them at the
command line.

To run Octave in the build directory, use the run-octave script.

jwe



More information about the Bug-octave mailing list