Weird behavior with mislocked: oct-file is unloaded while checking lock state...

Michael Goffioul michael.goffioul at gmail.com
Thu Sep 4 09:40:35 CDT 2008


On Thu, Sep 4, 2008 at 4:16 PM, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
> The mislocked function calls symbol_table::find_function, which should
> eventually call symbol_table::fcn_info::fcn_info_rep::find.  Can you
> step through that function (and the functions it calls) and find out
> where it is that fltk_backend.oct is unmapped?

starting from symbol_table::fcn_info::fcn_info_rep::find, the
call sequence is the following:

find_autoload: symtab.cc: 624
out_of_date_check_internal: symtab.cc: 704
function = octave_value (): symtab.cc: 209

Note that this only happen with an autoloaded function
(in this case, __init_fltk__). If I do

mislocked ('fltk_backend')

the oct-file is not unmapped.

Michael.


More information about the Octave-maintainers mailing list