Skip to content

WIP Test C++ operation running python operation

This MR demonstrates a problem running C++ operations that internally load and run a/any python operation. Using the qtOperationLauncher to run the C++ operation asynchronously (its default mode), the operation hangs the second time the C++ operation runs. Internally, the python operation is loaded successfully the second time but the code (in PyOperation.h) then hangs trying to acquire the python GIL before running.

As requested by Ben, here are the backtraces for all 17 threads when I interrupted the exe: thread-bts.txt

Edited by John Tourtellott

Merge request reports