Using findGtTask causes an assertion on debug builds.
Which software is probably the cause of the error?
Python Module
What is the current bug behavior?
It is caused by setting the python task as a parent of the newly created task copy, since both objects live in the GUI thread, but setParent is called from the thread pool.
What is the expected correct behavior?
No crash.
Steps to reproduce
Use a debug build of the python module
Create an empty task "test"
Create a python task with the following contents
task = findGtTask("test")
Run the python task
Relevant logs and/or screenshots
GTlab environment
(Add details to your GTlab environment. If the bug relates to a module, please also add the module and its version.)
Summary
Using findGtTask causes an assertion on debug builds.
Which software is probably the cause of the error?
Python Module
What is the current bug behavior?
It is caused by setting the python task as a parent of the newly created task copy, since both objects live in the GUI thread, but
setParent
is called from the thread pool.What is the expected correct behavior?
No crash.
Steps to reproduce
Relevant logs and/or screenshots
GTlab environment
(Add details to your GTlab environment. If the bug relates to a module, please also add the module and its version.)