bugGNU Octave - Bugs: bug #35321, invalid handle for legend after...

 
 

bug #35321: invalid handle for legend after using plotyy

Submitted by:  None
Submitted on:  Tue 17 Jan 2012 02:58:20 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Paul StansellOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.3
Operating 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 17 Oct 2013 08:20:18 PM UTC, comment #3:

Fixed on the development branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/c14e5af64de4). This will be a part of the 3.8 release due very soon.

Rik <rik5>
Project Administrator
Thu 26 Jan 2012 02:11:46 PM UTC, comment #2:

Debugging indicates the 1st axes is deleted during the call to gh_manager::lookup (val) below. This code snippet is from graphics.cc:__go_axes_init__().

I took a quick glance at gh_manager::lookup(val). My impression is that lookup calls do_lookup and the problem occurs later, but My lack of c++ experience limits my insight. I think I'm at a dead end.

Anyone else?

Ben Abbott <bpabbott>
Project Member
Thu 26 Jan 2012 02:04:58 AM UTC, comment #1:

I did some isolating. It appears that the 1st plotyy axes object is being deleted by a call to _go_axes_init_(ax(2)), which is a built-in function.

Running the script below,

Initializing ax(2) results in ax(1) being deleted.

I'll have to rebuild with optimization off to make it easier to debug what is happening. I'll report back later.

Ben Abbott <bpabbott>
Project Member
Tue 17 Jan 2012 02:58:20 PM UTC, original submission:

The following code gives and error in Octave-3.4.3 but works in Octave-3.2.3:

The error occurs after the last call to legend and no legend is drawn. The error is:

Anonymous

 

(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 bpabbott (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Oct 2013 08:20:18 PM UTCrik5Item GroupNone=>Regression
      StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 26 Jan 2012 02:04:58 AM UTCbpabbottStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1