bugGNU Octave - Bugs: bug #33060, Assigning to class structure...

 
 

bug #33060: Assigning to class structure member causes segfault.

Submitter:  None
Submitted:  Tue 12 Apr 2011 10:41:15 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Robert T. Short Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 13 Apr 2011 05:52:04 PM UTC, comment #3: 

OK.  It didn't LOOK like the same bug.

I will try the patches and let you know if there is still a problem.

Bob

Robert T. Short <rtshort>
Wed 13 Apr 2011 02:27:46 PM UTC, comment #2: 

Yes I believe it is the same bug. So I'm closing this bug as a duplicate.

I have another fix that I'll propose as a changeset in #33014

D.

David Bateman <dbateman>
Group Member
Tue 12 Apr 2011 11:21:27 PM UTC, comment #1: 

Is this different from bug #33014?  If yes, does the patch proposed there work for your case as well?

Rik <rik5>
Group administrator
Tue 12 Apr 2011 10:41:15 PM UTC, original submission:  

Attached is a script and associated class that duplicates this problem.

If xxx is any class found in directory @xxx on the load path.  Executing

x = xxx();

x.y = 3;

where x.y is not provided as a subsasgn method causes octave to crash (segfault).

Note that this is an error in any case, but crashes are kind of a bummer.

I am running the development version of octave on a debian system, 7d9dbe4c803b was the tip when I last compiled.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23230:  subsrefbug.tgz added by None (381B - application/x-compressed-tar)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rtshort (Posted a comment)
  • -email is unavailable- added by dbateman (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-13 dbateman StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #33014
    2011-04-12 None Attached File- Added subsrefbug.tgz, #23230

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code