bugGNU Octave - Bugs: bug #31254, recursion limit exceeded with...


bug #31254: recursion limit exceeded with defaultaxescreatefcn

Submitted by:  John W. Eaton <jwe>
Submitted on:  Tue 05 Oct 2010 04:52:48 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
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.


Tue 18 Nov 2014 05:47:21 AM UTC, comment #4:

Somewhere along the line this got fixed. Closing report.

Rik <rik5>
Project Administrator
Fri 14 Nov 2014 10:02:08 PM UTC, comment #3:

I'm unable to reproduce this on default and for me it looks like this issue was fixed in the meanwhile. Can we close it?

Andreas Weber <andy1978>
Project Member
Thu 17 Oct 2013 06:05:34 PM UTC, comment #2:

How does Matlab handle this? I don't think they use gca in a callback, but are they also monitoring for recursion limits and breaking out of them? If Matlab also has trouble with this code then maybe we can close this report as being more about the actual input code then Octave itself.

Rik <rik5>
Project Administrator
Wed 09 Oct 2013 01:52:34 AM UTC, comment #1:

Is it possible that the code is in error, rather than Octave? The problem appears to be that using 'gca' within the callback function for 'defaultaxescreatefcn' causes infinite recursion.

I was looking at a Matlab example of a callback function and they specifically use 'gcbo' to get the handle of the object currently executing the callback. If I make that substitution the code works properly.

Rik <rik5>
Project Administrator
Tue 05 Oct 2010 04:52:48 PM UTC, original submission:

The following

should set the default rotation and alignment for the y-axis label, but fails with

John W. Eaton <jwe>
Project Administrator


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

Attach Files:

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 andy1978 (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (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.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-18 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2011-08-04 rik5 Carbon-CopyRemoved 72865 => -
    2011-08-04 rik5 StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.3