octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47346] after install octave seg faults during


From: Rik
Subject: [Octave-bug-tracker] [bug #47346] after install octave seg faults during startup with --debug option
Date: Tue, 08 Mar 2016 20:06:41 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #31, bug #47346 (project octave):

Michael:

Try this


/usr/local/bin/octave
dbstop __have_feature__
__have_feature__ ("FLTK")
# This will stop at the first executable line in __have_feature__.
# The full path to the file being executed will be displayed.
# Make sure it is the one from /usr/local/...
dblist
# Look at the code and make sure it matches the m-file in the development
directory.
dbnext
# Use dbnext to step through the code until you get an error.


When I ran this I got


octave:1> dbstop __have_feature__
ans =  25
octave:2> __have_feature__ ("FLTK")
stopped in /home/rik/local/share/octave/4.1.0+/m/testfun/__have_feature__.m at
line 25
25:   if (strncmp (feature, "ENABLE_", 7))
debug> dblist
20      ## @deftypefn {} {} __have_feature__ (feature)
21      ## Undocumented internal function.
22      ## @end deftypefn
23
24      function retval = __have_feature__ (feature)
25-->     if (strncmp (feature, "ENABLE_", 7))
26          features = octave_config_info ();
27        else
28          features = octave_config_info ("build_features");
29        endif
30        if (iscellstr (feature))





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47346>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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