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

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

[Octave-bug-tracker] [bug #56097] unlink ("filename") hangs GUI


From: Rik
Subject: [Octave-bug-tracker] [bug #56097] unlink ("filename") hangs GUI
Date: Wed, 10 Apr 2019 12:46:55 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #56097 (project octave):

                  Status:          Patch Reviewed => Confirmed              

    _______________________________________________________

Follow-up Comment #30:

I used gdb to step through the code.  The hang is happening in
libgui/src/octave-qt-link.cc.  The code is below


void octave_qt_link::do_file_remove (const std::string& old_name,
                                     const std::string& new_name)
{
  // Lock the mutex before signaling
  lock ();

  // Emit the signal for the editor for closing the file if it is open
  emit file_remove_signal (QString::fromStdString (old_name),
                           QString::fromStdString (new_name));

  // Wait for the GUI and unlock when resumed
  wait ();
  unlock ();
}


The code executes up until the call to wait() and then hangs.  I don't know
enough about how signals operate in the GUI to say any more.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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