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

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

[Octave-bug-tracker] [bug #56952] segfault during compilation while proc


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #56952] segfault during compilation while processing doc/interpreter/genpropdoc.m
Date: Tue, 2 Feb 2021 22:10:48 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #52, bug #56952 (project octave):

Is it possible that a missing call to QThread::wait for the interpreter thread
could be causing this trouble?  It seems like we should have the following
change:


diff --git a/libgui/src/octave-qobject.cc b/libgui/src/octave-qobject.cc
--- a/libgui/src/octave-qobject.cc
+++ b/libgui/src/octave-qobject.cc
@@ -334,6 +334,7 @@ namespace octave
 #endif
 
     m_main_thread->quit ();
+    m_main_thread->wait ();
 
     qApp->exit (exit_status);
   }


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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