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: 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 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 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 18 Nov 2014 05:47:21 AM UTCrik5StatusConfirmed=>Fixed
    Thu 04 Aug 2011 06:02:14 AM UTCrik5Carbon-CopyRemoved 72865=>-
    Thu 04 Aug 2011 06:02:01 AM UTCrik5StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1