bugGNU Octave - Bugs: bug #26085, infinite recursion in nested...

 
 
Show feedback again

bug #26085: infinite recursion in nested structure

Submitted by:  Thorsten Meyer <tmeyier>
Submitted on:  Sat 04 Apr 2009 01:56:15 PM UTC  
 
Category: InterpreterSeverity: 4 - Important
Item Group: CrashStatus: Fixed
Assigned to: Jaroslav Hajek <highegg>Originator Name: Thorsten Meyer
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 04 Apr 2009 01:56:15 PM UTC, original submission:

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

Thorsten Meyer <tmeyier>
Project Member

 

(Note: upload size limit is set to 512 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by highegg (Updated the item)
  • -unavailable- added by tmeyier (Submitted the item)
  • -unavailable- added by tmeyier
  •  

    Please enter 421 here (basic anti-spam test):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Apr 2009 10:02:39 AM UTChigheggStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 04 Apr 2009 01:56:15 PM UTCtmeyierCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup