[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45209] parser assertion failure and crash whe
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #45209] parser assertion failure and crash when "echo on all" is used |
Date: |
Fri, 29 May 2015 03:48:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1 |
URL:
<http://savannah.gnu.org/bugs/?45209>
Summary: parser assertion failure and crash when "echo on
all" is used
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Thu 28 May 2015 11:48:58 PM EDT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Octave's parser panics and crashes when "echo on all" is used to display the
contents of m-file functions as they are executed. Example with pack, which is
a trivial noop function:
octave:1> pack
octave:2> more off
octave:3> echo on all
octave:4> pack
+ ## Copyright (C) 1999-2015 John W. Eaton
+ ##
+ ## This file is part of Octave.
+ ##
+ ## Octave is free software; you can redistribute it and/or modify it
+ ## under the terms of the GNU General Public License as published by
+ ## the Free Software Foundation; either version 3 of the License, or (at
+ ## your option) any later version.
+ ##
+ ## Octave is distributed in the hope that it will be useful, but
+ ## WITHOUT ANY WARRANTY; without even the implied warranty of
+ ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ## General Public License for more details.
+ ##
+ ## You should have received a copy of the GNU General Public License
+ ## along with Octave; see the file COPYING. If not, see
+ ## <http://www.gnu.org/licenses/>.
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {} pack ()
+ ## Consolidate workspace memory in @sc{matlab}.
+ ##
+ ## This function is provided for compatibility, but does nothing in Octave.
+ ## @seealso{clear}
+ ## @end deftypefn
+
+ ## Author: jwe
+
+ function pack ()
r��: ../../libinterp/parse-tree/pt-pr-code.cc:1205: void
tree_print_code::indent(): Assertion `curr_print_indent_level >= 0' failed.
panic: Aborted -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Aborted
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45209>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45209] parser assertion failure and crash when "echo on all" is used,
Mike Miller <=