[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48665] calling continue in a function outside
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #48665] calling continue in a function outside of a conditional or loop silences stdout, may crash Octave |
Date: |
Mon, 1 Aug 2016 16:19:47 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Update of bug #48665 (project octave):
Category: Octave Function => Interpreter
Severity: 3 - Normal => 4 - Important
Item Group: Incorrect Result => Crash
Release: 4.0.2 => dev
Summary: After put dufault value, function does not work any
more. => calling continue in a function outside of a conditional or loop
silences stdout, may crash Octave
_______________________________________________________
Follow-up Comment #3:
Thank you for your bug report. You are asking for support with a problem on a
bug report, which is not a correct use of this medium. I was about to close
this and suggest that you should seek out support channels instead, but it
looks like you have hit an actual bug, so I'm repurposing this report for that
bug.
The following function causes all output in Octave to be suppressed after
calling the function:
function foo ()
continue;
endfunction
After calling `foo`, most standard output to the screen is suppressed, unless
calling a function like disp or printf directly.
In addition, calling a builtin function with invalid arguments triggers a
segfault:
>> all
error: Invalid call to all. Correct usage is:
-- all (X)
-- all (X, DIM)
Additional help for built-in functions and operators is
available in the online version of the manual. Use the command
'doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.
>> foo
>> all
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Segmentation fault
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48665>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/