bugGNU Octave - Bugs: bug #55322, Possible to create orphaned...

 
 

bug #55322: Possible to create orphaned figures when supplying two "parent" arguments to line()

Submitter:  Rik <rik5>
Submitted:  Sat 29 Dec 2018 06:25:16 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  rik5
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 30 Dec 2018 03:02:01 AM UTC, comment #1: 

Fixed in this changeset https://hg.savannah.gnu.org/hgweb/octave/rev/4764e9c0face.

Closing report.

Rik <rik5>
Group administrator
Sat 29 Dec 2018 06:25:16 AM UTC, original submission:  

When running the sample script below which uses two "parent" arguments the graphics subsystem becomes confused and an orphaned figure (not closed by final line) is created.


clf;
hf = figure ();
hax = gca ();
hg = hggroup ();
hl = line (hax, [0, 1], [1, 1], 'parent', hax, 'parent', hg);
close (hf);


Sample session:


octave:1> tst_2parent
error: graphics_handle::free: invalid object -53.6632
execution error in graphics callback function


The Octave interpreter should be able to cope with random coding style outside the norm.

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45767:  tst_2parent.m added by rik5 (127B - text/x-matlab)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-30 rik5 StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2018-12-29 rik5 SummaryPossible to create orphaned figures when suppling two &quot;parent&quot; arguments to line() Possible to create orphaned figures when supplying two "parent" arguments to line()
    2018-12-29 rik5 Attached File- Added tst_2parent.m, #45767

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code