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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Crash
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Jun 2013 12:25:26 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup