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

 
 

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

Submitted by:  None
Submitted on:  Wed 29 Jan 2014 01:39:25 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: University of Erlangen-NuremburgOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 29 Apr 2014 12:21:25 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 29 Jan 2014 01:39:25 PM UTCNoneAttached File-=>Added octave-bug-report.tar.gz, #30414

    Back to the top


    Powered by Savane 3.1-cleanup1