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 Oct 5 16:52:48 2010  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
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.


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

Somewhere along the line this got fixed. Closing report.

Rik <rik5>
Project Administrator
Fri Nov 14 22:02:08 2014, 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 Oct 17 18:05:34 2013, 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 Oct 9 01:52:34 2013, 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 Oct 5 16:52:48 2010, 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 File(s):

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Nov 18 05:47:21 2014rik5StatusConfirmed=>Fixed
    Thu Aug 4 06:02:14 2011rik5Carbon-CopyRemoved 72865=>-
    Thu Aug 4 06:02:01 2011rik5StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1