[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55258] Recursion in a script file causes a se
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #55258] Recursion in a script file causes a segmentation fault |
Date: |
Fri, 21 Dec 2018 14:39:02 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Update of bug #55258 (project octave):
Category: None => Interpreter
Severity: 3 - Normal => 4 - Important
Status: None => Confirmed
Release: 4.4.1 => dev
Summary: Recursion causes a Segmentation Fault => Recursion
in a script file causes a segmentation fault
_______________________________________________________
Follow-up Comment #1:
Confirmed.
Noting that this is a script, not a function file. If I turn test2.m into a
function file (simply wrapping the entire contents with 'function test2()' and
'endfunction'), it works as expected. When max_recursion_depth is hit, an
error is raised and the whole thing returns.
Also noting that this is a regression from Octave 4.2. In Octave 4.2.2, script
recursion works equally well and errors when it reaches max_recursion_depth as
expected.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55258>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/