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

 
 

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

Submitted by:  Eduardo Cuesta <eacuesta>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project 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)
  •  

    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 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.5