help-octave
[Top][All Lists]
Advanced

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

RE: Segmentation fault when compiling octave


From: Feuerbacher, Alan
Subject: RE: Segmentation fault when compiling octave
Date: Thu, 27 Sep 2012 20:42:41 +0000

Jordi wrote:

> > I don't know if this helps, but just running "./run-octave" in the
> > build directory (..../octave-3.6.3) gives the segmentation fault.
> 
> Yes, that. Does "./run-octave -g" not crash?

It does not. The debugger starts normally, and after "run" octave starts up 
with its normal prompt.

> Can you try doing this and
> running some tests? I mean, "./run-octave -g", then "run" inside gdb,
> then "demo surf" inside Octave?

"demo surf" outputs a bunch of stuff ending with:

gnuplot> if (exists("GPVAL_TERM")) print GPVAL_TERM; else print NaN
                    ^
         line 0: invalid expression 

Detaching after fork from child process 17126.
error: Invalid call to strcat.  Correct usage is:

 -- Function File:  strcat (S1, S2, ...)
 
error: called from:
error:   
/home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/help/print_usage.m at line 
87, column 5
error:   /home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/strings/strcat.m 
at line 92, column 5
error:   
/home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/plot/private/__gnuplot_get_var__.m
 at line 113, column 11
error:   
/home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/plot/private/__go_draw_axes__.m
 at line 40, column 18
error:   
/home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/plot/private/__go_draw_figure__.m
 at line 167, column 19
error:   
/home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/plot/__gnuplot_drawnow__.m 
at line 86, column 5
error: input: reading user-input failed!
error:   /home/afbacher/GCC/Octave/exp35/octave-3.6.3/scripts/testfun/demo.m at 
line 119, column 7

The octave prompt remains; "quit" exits to the debugger and another "quit" 
exits back to the shell prompt.

Alan


reply via email to

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