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

 
 

bug #32222: object array failure

Submitted by:  None
Submitted on:  Mon 24 Jan 2011 10:25:07 AM UTC  
 
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 25 Jan 2011 08:21:37 AM UTC, comment #3:

I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/7e856c31ffae

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

John W. Eaton <jwe>
Project Administrator
Tue 25 Jan 2011 08:18:24 AM UTC, 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 24 Jan 2011 11:21:31 PM UTC, 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 24 Jan 2011 10:25:07 AM UTC, 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.

Best,

Volkmar

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 25 Jan 2011 08:21:37 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 24 Jan 2011 11:21:31 PM UTCjweCarbon-Copy-=>Added highegg
    Mon 24 Jan 2011 03:10:25 PM UTCglaucheCarbon-Copy-=>Added glauche
    Mon 24 Jan 2011 10:25:07 AM UTCNoneAttached File-=>Added cfg_dep.tgz, #22502

    Back to the top


    Powered by Savane 3.1-cleanup