Crash on startup in 3.0.3

John W. Eaton jwe at octave.org
Thu Jan 29 17:02:47 CST 2009


On 29-Jan-2009, Dmitri A. Sergatskov wrote:

| On Thu, Jan 29, 2009 at 3:52 PM, David Ronis
| <ronis at ronispc.chem.mcgill.ca> wrote:
| > I just finished building octave-3.0.3 on a linux-i686 box using
| > gcc-4.3.3.  The build went without complaint, and as per the suggestion
| > at the end of the the build I ran ./run-octave.  What happened:
| >
| >
| >  ** On entry to octave parameter number 13 had an illegal value
| > Segmentation fault (core dumped)
| >
| >
| > Similarly, make check generated the same message (no suprise).
| >
| > Please CC me on any message as I don't subscribe to this list.
| >
| > Thanks in advance.
| >
| > David
| >
| 
| I would suspect the gcc -- way too new....
| Do you have your entire distribution built with this compiler?

This looks like it might be happening here, in octave.cc:

  if (octave_NaN == -1)
    F77_FUNC (xerbla, XERBLA) ("octave", 13, 6L);

You could verify this by starting octave with 

  ./run-octave -g

and seeing where the crash occurs.

If this is where the crash happens, then why is octave_NaN not
initialized properly?

If you want more help with debugging this problem, then I think you
should start by submitting a complete bug report.  Please read

  http://www.octave.orb/bugs.html

to see what kind of information is useful to include.

jwe


More information about the Bug-octave mailing list