octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53513] graphics.cc-tst FAIL


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #53513] graphics.cc-tst FAIL
Date: Tue, 10 Apr 2018 10:47:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #13, bug #53513 (project octave):

I think I identified the issue. Before the following cset, the test used to
pass 

http://hg.savannah.gnu.org/hgweb/octave/rev/b6aea95a7bf9

The problem is that we rely on ref counting for graphics_object deletion (and
further cleanup). Before the above cset, the toolkit Object, which lives in
the GUI thread, did not have a reference to its grapĥics_object counterpart
and gh_manager::free took care of deleting the last reference to the
graphics_object. Now the asynchronous nature of the
"graphics_toolkit::finalize" method makes the object eventually be deleted
*after* "delete" has returned, hence the cleanup (remove the uicontextmenu
from its dependent objects) not being already done when delete returns.

I don't have a solution at the moment but we now have an interpretation.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]