bugGNU Octave - Bugs: bug #33296, calling "keyboard"...

 
 

bug #33296: calling "keyboard" function through "builtin" function appears to enter in an infinite loop

Submitter:  Eduardo Cuesta <eacuesta>
Submitted:  Wed 11 May 2011 09:00:32 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  3 - Low Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 15 May 2014 03:18:41 PM UTC, comment #3: 

This has been fixed on the development branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/fc43c8017e9b).  It will be a part of the 4.2 release, or the reporter can build from Mercurial sources to see the fix sooner.

Rik <rik5>
Group administrator
Thu 12 May 2011 07:52:26 PM UTC, comment #2: 

| This shouldn't be a problem since coders can choose to use a
| function name other than 'keyboard' and thus avoid overloading
| the name and requiring the use of builtin().

In my case it is a problem because i need overload the 'keyboard' function using an user defined function with the same name.

Eduardo Cuesta <eacuesta>
Thu 12 May 2011 07:25:59 PM UTC, comment #1: 

This bug is confirmed, but I'm lowering the priority since there is an obvious workaround of not using builtin() with the keyboard() function.  This  shouldn't be a problem since coders can choose to use a function name other than 'keyboard' and thus avoid overloading the name and requiring the use of builtin().

Rik <rik5>
Group administrator
Wed 11 May 2011 09:00:32 PM UTC, original submission:  


octave:1> builtin ("keyboard");


The above code should show the "debug> " prompt, and is not the case

Eduardo Cuesta <eacuesta>

 

(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 (Posted a comment)
  • -email is unavailable- added by eacuesta (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-15 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2011-05-12 rik5 Priority5 - Normal 3 - Low
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code