octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37469] crash when making a large cell array


From: Rik
Subject: [Octave-bug-tracker] [bug #37469] crash when making a large cell array
Date: Sun, 30 Sep 2012 04:45:39 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

Update of bug #37469 (project octave):

                  Status:                    None => Confirmed              
                 Summary: crash when making a large struct array => crash when
making a large cell array

    _______________________________________________________

Follow-up Comment #1:

Confirmed on hg id 2fa06d83263a.  I changed the summary to reflect that this
happens with a cell array, not a struct array.  I've also uploaded a script to
demonstrate the problem (mk_lg_cell.m).

Note that the problem is with nesting, not with ordinary cell arrays that
contain a large number of elements.  I reduced the loop to just for i = 1:5 to
get an idea of what the variable 'a' would look like.  See the output below.


a = 
{
  [1,1] =  1
  [1,2] = 
  {
    [1,1] =  1
    [1,2] = 
    {
      [1,1] =  1
      [1,2] = 
      {
        [1,1] =  1
        [1,2] = 
        {
          [1,1] =  1
          [1,2] = {}(0x0)
        }
      }
    }
  }
}



(file #26666)
    _______________________________________________________

Additional Item Attachment:

File name: mk_lg_cell.m                   Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37469>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]