bugGNU Octave - Bugs: bug #48599, Segmentation fault with nested...

 
 

bug #48599: Segmentation fault with nested functions

Submitter:  Marco Caliari <caliari>
Submitted:  Sat 23 Jul 2016 08:06:46 AM UTC
   
 
Category:  Interpreter Severity:  4 - Important
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Nov 2017 07:41:14 AM UTC, comment #3: 

Both testnested.m and testnested2.m give now parse errors without segmentation. Closing as fixed.

Marco Caliari <caliari>
Group Member
Fri 10 Nov 2017 06:00:26 AM UTC, comment #2: 

@Marco: When I try your file testnested2.m in a recent version (hg id 629858e122f1) I get a parse error, but no segmentation fault.


testnested2
parse error near line 7 of file /home/rik/wip/Projects_Mine/octave-dev/testnested2.m

  duplicate subfunction or nested function name

>>>     function nested()


Can this report be closed now?

Rik <rik5>
Group administrator
Sat 23 Jul 2016 08:38:13 AM UTC, comment #1: 

A problem was ret in function ret = nested(). But still, segmentation and not working in Matlab (testnested2).

(file #37994)

Marco Caliari <caliari>
Group Member
Sat 23 Jul 2016 08:06:46 AM UTC, original submission:  

Hi,

if you try to do something with the attached function (even a simple help testnested) you get segmentation fault. In Matlab it does not work either (Function definition is misplaced or improperly nested.). This I do not understand, too.

Marco Caliari <caliari>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #37994:  testnested2.m added by caliari (169B - text/x-objcsrc)
file #37992:  testnested.m added by caliari (184B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by caliari (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-21 jwe Open/ClosedOpen Closed
    2017-11-10 caliari StatusWorks For Me Fixed
    2017-11-10 rik5 StatusNone Works For Me
    2016-07-23 caliari Attached File- Added testnested2.m, #37994
    2016-07-23 caliari Attached File- Added testnested.m, #37992

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code