PySide2 Qthread crash
问题 I want to use PySide2 Qtcore.Qthread because of Qtcore.Signal, but I end up with this error: Process finished with exit code -1073740791 from PySide2.QtCore import QThread class Thread(QThread): def run(self): print('task started') k = 0 for i in range(10000): for j in range(5000): k += 1 print('task finished') Thread().start() expect to have those prints but I have this error: Process finished with exit code -1073740791 Update: so, why this code also throw the same error? class Thread