bugGNU Octave - Bugs: bug #32222, object array failure


bug #32222: object array failure

Submitted by:  None
Submitted on:  Mon Jan 24 10:25:07 2011  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
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.


Tue Jan 25 08:21:37 2011, comment #3:

I checked in the following change:


It fixes the problem for me, so I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Tue Jan 25 08:18:24 2011, comment #2:

Maybe an additional hint: When I run

where d does not exist before, I get a vector of cfg_dep objects. However, only d(2) gets properly initialised. The fields of d(1) are set to something, but not to their initial values.

Volkmar Glauche <glauche>
Mon Jan 24 23:21:31 2011, comment #1:

I have not yet found why the index out of bounds error is happening, but I discovered a segfault if I do

Jaroslav, do you see why this error and crash are happening?

John W. Eaton <jwe>
Project Administrator
Mon Jan 24 10:25:07 2011, original submission:

In the context of SPM, I try to create an array of custom objects. However, the following code fails:

Similar code works:

Unfortunately, I can't simply use the second version of the code, since the first version of code exists in many scripts that SPM users created on their own.





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

Attach File(s):

Attached Files
file #22502:  cfg_dep.tgz added by None (5kB - application/x-compressed-tar)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by glauche (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by jwe
  • -unavailable- added by glauche

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Jan 25 08:21:37 2011jweStatusNone=>Fixed
    Mon Jan 24 23:21:31 2011jweCarbon-Copy-=>Added highegg
    Mon Jan 24 15:10:25 2011glaucheCarbon-Copy-=>Added glauche
    Mon Jan 24 10:25:07 2011NoneAttached File-=>Added cfg_dep.tgz, #22502

    Back to the top

    Powered by Savane 3.1-cleanup1