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

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

[Octave-bug-tracker] [bug #50396] documentation tab in GUI empty


From: Rik
Subject: [Octave-bug-tracker] [bug #50396] documentation tab in GUI empty
Date: Sat, 25 Feb 2017 15:48:04 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #50396 (project octave):

I added some print statements and from what I can determine this is an order
of execution issue (race condition).  The GUI browser for the documentation
uses the global variable Vinfo_file which contains the full-path name of the
file to use.  The code for this is in libgui/src/qtinfo/webinfo.cc.  The
Octave interpreter sets this global variable in set_info_file_name() which in
turn is called by the general initialization function install_defaults().

The problem seems to be the multi-threaded nature of the GUI with one thread
for the actual GUI and another thread for the Octave interpreter.  When I run
the GUI the print statements reveal that the GUI is initializing itself and
grabbing the value of Vinfo_file before the Octave interpreter has called
install_defaults().  This is likely to be a generic problem because there are
other global variables that the GUI uses which reside in the Octave
interpreter.

I've added jwe to the CC list since he understands the start-up sequence,
including the fork and exec model, better than I do.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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