bugGNU Octave - Bugs: bug #37360, Assertion and abort from CLI with...

 
 

bug #37360: Assertion and abort from CLI with cellfun and anonymous functions

Submitted by:  Rik <rik5>
Submitted on:  Sat 15 Sep 2012 08:17:14 PM UTC  
 
Category:  Interpreter Severity:  3 - Normal
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

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 20 Jun 2013 12:25:26 AM UTC, comment #1:

Fixed as of 6/19/13 in the development code.

Rik <rik5>
Project Administrator
Sat 15 Sep 2012 08:17:14 PM UTC, original submission:

This fragment of code typed on the command line causes and assertion and immediate ejection from Octave.

The first line needs to be typed and <RETURN> hit. Octave recognizes that the cellfun function call has not been closed so it prompts for extra input with '>'. Close the cellfun declaration with ')' and hit <RETURN>.

In terms of parsing, the call to sin() should have been closed immediately.

In fact a little testing shows that anonymous functions which cross newline boundaries are a general problem. The following code also aborts.

Rik <rik5>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-20 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.3