QGIS crashes when printing to console in separate thread #28378
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
High Priority
PyQGIS
Related to the PyQGIS API
Author Name: Matthew Jackson (Matthew Jackson)
Original Redmine Issue: 20558
Affected QGIS version: 3.4.1
Redmine category:python_bindings_/_sipify
If you run the following in the python console from QGIS 3.x in Windows 10, QGIS will crash every time. I believe this is a regression that began with 3.0, but I no longer have a 2.x version to compare with.
class PrintThread (QThread):
completed = pyqtSignal()
def init(self ):
QThread.init(self)
def run (self):
print("a message!")
t = PrintThread()
t.start()
The text was updated successfully, but these errors were encountered: