bugGNU Octave - Bugs: bug #35118, incorrect builtin() behaviour in...


bug #35118: incorrect builtin() behaviour in object methods

Submitted by:  None
Submitted on:  Mon Dec 19 19:59:26 2011  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: J.J. GreenOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating 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.


Sat Nov 19 19:48:17 2016, comment #3:

This bug is still present in Octave 4.2.0.

Hartmut <hardy>
Thu Feb 21 15:52:10 2013, comment #2:

The problem still exists in a fresh development build.

Julien Bect <jbect>
Sun Jan 8 22:33:00 2012, comment #1:

This issue has been present since at least version 3.2.4 and I can reproduce it in 3.4.3 as well as with a development tip. Simpler code to reproduce the problem, once the @myobj directory is in place, is

Rik <rik5>
Project Administrator
Mon Dec 19 19:59:26 2011, original submission:

Consider the following trivial class

Now, lets make an array of these ...

It seems that the builtin array transpose is not "seen"
in the overloaded transpose method for the object, so it
calls itself again and again until some kind of recursion
depth is exceeded.

The same code runs fine on Matlab

Similar problems arise with other array methods (eg vertcat)



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

Attach File(s):

Attached Files
file #24630:  octave-builtin-bug.tar.gz added by None (515B - application/x-gzip - scripts exhibiting the described (mis)behavoiur)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by jbect (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (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
    Sun Jan 8 22:33:00 2012rik5StatusNone=>Confirmed
    Mon Dec 19 19:59:26 2011NoneAttached File-=>Added octave-builtin-bug.tar.gz, #24630

    Back to the top

    Powered by Savane 3.1-cleanup1