bugGNU Octave - Bugs: bug #41387, Segmentation fault after...

 
 

bug #41387: Segmentation fault after overloading subsasgn operator with wrong signiture [small breakcase submitted]

Submitter:  None
Submitted:  Wed 29 Jan 2014 01:39:25 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  University of Erlangen-Nuremburg Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Apr 2014 12:21:25 AM UTC, comment #1: 

This has been fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/e3fca7930c1e).  It will be a part of the 3.8.2 bug fix release, or you can build from Mercurial sources to access the fix.

Rik <rik5>
Group administrator
Wed 29 Jan 2014 01:39:25 PM UTC, original submission:  

Dear octave developers,

with a wrong signature in an overloaded 'subsasgn' operator, octave stops with an segmentation fault.

In this case, I left away the return value. See appended tar.

I took the newest octave source and even here, the bug remains and it appears:

Program received signal SIGSEGV, Segmentation fault.
octave_user_function::subsasgn_optimization_ok (this=0xbc4c50) at octave-value/ov-usr-fcn.cc:658
658       && ret_list->length () == 1 && ! ret_list->takes_varargs ())


This bug appears also in my older 3.6 release.

Best regards
  Thorsten Gellermann

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30414:  octave-bug-report.tar.gz added by None (383B - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-29 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2014-01-29 None Attached File- Added octave-bug-report.tar.gz, #30414

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code