[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61841] rethrowing a "too many inputs" excepti
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #61841] rethrowing a "too many inputs" exception leads to an internal error |
Date: |
Mon, 17 Jan 2022 09:34:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0 |
URL:
<https://savannah.gnu.org/bugs/?61841>
Summary: rethrowing a "too many inputs" exception leads to an
internal error
Project: GNU Octave
Submitted by: svillemot
Submitted on: lun. 17 janv. 2022 14:34:23 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.0.90
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Hi,
When running the following snippet in 7.0.90:
f = @(x) x+1;
try
f(1, 2)
catch ME
rethrow(ME)
end
Octave fails with:
error: octave_base_value::int_value (): wrong type argument 'matrix'
error: called from
rethrow_err at line 6 column 3
Of course, one would have excepted the rethrow to show the initial exception.
Note that this is not the same as bug #61789, since the problem also manifests
with the current head of the stable branch (b20da6bed444).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61841>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61841] rethrowing a "too many inputs" exception leads to an internal error,
Sébastien Villemot <=
- [Octave-bug-tracker] [bug #61841] rethrowing a "too many inputs" exception leads to an internal error, Pantxo Diribarne, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Markus Mützel, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, anonymous, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, anonymous, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Pantxo Diribarne, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Pantxo Diribarne, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Pantxo Diribarne, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Rik, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Rik, 2022/01/17
- [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error, Pantxo Diribarne, 2022/01/17