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

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

[Octave-bug-tracker] [bug #53328] "test getframe" may fail when the CPU


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #53328] "test getframe" may fail when the CPU load is large
Date: Thu, 29 Mar 2018 15:07:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #5, bug #53328 (project octave):

I tracked the issue down to ObjectProxy.cc. We use the following contruct to
call a function in the GUI thread from the interpreter and retrieve a return
value:


QMetaObject::invokeMethod (m_object, "slotGetPixels", t,
                           Q_RETURN_ARG (uint8NDArray, retval));


Sometimes this function fails and the "slotGetPixels" in the GUI thread never
gets executed. QMetaObject::invokeMethod returns false if it fails, this could
be used to explicitly warn about the failure, but I didn't find a clue on the
actual reason for the failure. 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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