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

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

[Octave-bug-tracker] [bug #57439] handles to private functions may fail


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions"
Date: Tue, 28 Jan 2020 19:14:22 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #1, bug #57439 (project octave):

I think we have some fairly deep bugs related to the way functions and
function handles are managed in the interpreter and octave_value object
hierarchy.  I don't see an easy fix for them and so I think we will probably
have to wait until after the 6.1 release to fix them.

The problem with the publish/publish.tst test failure requires the following
to fail:

* execute imformats
* clear all (or clear functions) so that the handles to the private functions
that are defined in imformats are no longer valid
* attempt to use publish

If the call to mlock is removed in imformats, the above sequence will work,
but then clearing the imformats function will lose any new formats that have
been added by a user or a PKG_ADD file so that's probably not a good fix for
this problem and is obviously not a fix for the real problem (function handles
don't properly reload the functions they refer to if those functions are
cleared).


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57439>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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