Occasional seg fault in make check at dispatch.cc

John W. Eaton jwe at octave.org
Thu Feb 5 12:51:06 CST 2009


On  5-Feb-2009, Ben Abbott wrote:

| A fresh build (./autogen, ./configure, make, make check) today  
| produced no failures ... however a follow up "make check" produced the  
| seg-fault.
| 
| So it would appear the problem remains.

OK, can you please try the following?

When running "make check", Octave prints the run-octave command that
it is about to execute.  It should look something like this:

  make -C test check
  make[2]: Entering directory `/scratch/jwe/build/octave/test'
  ../run-octave --norc --silent --no-history /home/jwe/src/octave/test/fntests.m /home/jwe/src/octave/test

So instead of running this with Make, try

  cd test
  ../run-octave -g --norc --silent ...

so that Octave runs under gdb.  Then at the (gdb) prompt, type

  run

and see if you can generate a segfault this way.  If you can, then get
a stack trace with

  where

and post the result.  Maybe it will give some clues.

Thanks,

jwe





More information about the Bug-octave mailing list