[bug #26085] infinite recursion in nested structure
Thorsten Meyer
INVALID.NOREPLY at gnu.org
Sat Apr 4 08:56:17 CDT 2009
URL:
<http://savannah.gnu.org/bugs/?26085>
Summary: infinite recursion in nested structure
Project: GNU Octave
Submitted by: tmeyier
Submitted on: Sat 04 Apr 2009 01:56:15 PM UTC
Category: Interpreter
Severity: 4 - Important
Item Group: Crash
Status: None
Assigned to: highegg
Originator Name: Thorsten Meyer
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
In todays tip (4218f9515258) I have found a bug reproducible by the example
below. Apparently, the lazy copying scheme produces an infinite recursion in
the assignment in line 12.
Also, I try the savannah bug tracker with this. I have added the maintainers
mailing list in the mail cc field. Is that the right way to do it as long as
we haven't switched to the bug tracker completely?
regards
Thorsten
-------------------------------------------
octave:6> clear
octave:7> a.a=1;
octave:8> a.b=2;
octave:9> a.c=a;
octave:10> a
a =
{
a = 1
b = 2
c =
{
a = 1
b = 2
}
}
octave:11> a.c.b=a;
octave:12> a
a =
{
a = 1
b = 2
c =
{
a = 1
b =
{
a = 1
b = 2
c =
{
a = 1
b =
{
a = 1
b = 2
c =
{
a = 1
b =
{
a = 1
b = 2
c =
{
a = 1
b =
{
a = 1
b = 2
c =
{
a = 1
b =
{
1x1 struct array containing the fields:
a: 1x1 scalar
b: 1x1 scalar
c: 1x1 struct
}
}
}
}
}
octave:13> whos
Segmentation fault
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26085>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the Bug-octave
mailing list