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: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
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.

 

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):
   
   
Comment:
   

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 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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    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-cleanup