bugGNU Octave - Bugs: bug #36025, error in caching of class fuctions...

 
 

bug #36025: error in caching of class fuctions depending on header line

Submitted by:  jan pfaler <jan>
Submitted on:  Wed 28 Mar 2012 04:40:49 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: jan pfalerOpen/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 29 Mar 2012 03:28:25 AM UTC, comment #1:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/3f21c0c34b8f

John W. Eaton <jwe>
Project Administrator
Wed 28 Mar 2012 04:40:49 PM UTC, original submission:

In short:

Class member functions with errorneus header line are called differently depending on caching context. Caused error is at the worst hard to debug.

Description:

A class "testclass" having two public function "one" and "two"
and the creator. The function "two" contains errorneus header line containing reference to function "one" on it:

==> @testclass/two.m <==

As a result octave calls function "one" instead of function
"two" in following in an inconsistent way presumably depending
on caching, see below:

The code is attached.

System standard Ubuntu 11.4 installation:

Linux sym 2.6.38-13-generic-pae #57-Ubuntu SMP Mon Mar 5 20:00:10 UTC 2012 i686 i686 i386 GNU/Linux

GNU Octave, version 3.2.4

jan pfaler <jan>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25498:  testclass.tar added by jan (10KiB - application/x-tar - tar ball of the class definition files )
file #25496:  testclass.gz added by jan (10KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by jan (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
    Thu 29 Mar 2012 03:28:25 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 Mar 2012 08:16:59 PM UTCjanAttached File-=>Added testclass.tar, #25498
    Wed 28 Mar 2012 04:40:49 PM UTCjanAttached File-=>Added testclass.gz, #25496

    Back to the top


    Powered by Savane 3.1-cleanup1