On Thu, Apr 14, 2022 at 5:01 PM Thiago Macieira <thiago.macie...@intel.com> wrote:
> On Thursday, 14 April 2022 06:24:29 PDT Rainer Wiesenfarth wrote: > > However, I am using QThread, and the crash happens > > in a slot connected (queued connection) to a signal emitted by the thread > > (m_pWorkerThread) > > Are you sure it was queued? > > Your backtrace stops in the QMessageBox::information, so we can't tell > what it > was called from.[...] > Hi, I finally found the root cause of the issue: I have an object created in one thread, and destroyed in another one (by delete, not using deleteLater()). This object happens to own a QFileSystemWatcher, and this probably causes the crash - unfortunately some time later when the main event loop is working on pending events... After making sure the object is created and deleted by the same thread, the problem vanishes. Cheers, Rainer -- Rainer Wiesenfarth Senior Software Engineer Geospatial Division Rotebühlstr. 81, 70178 Stuttgart Germany rainer_wiesenfa...@trimble.com geospatial.trimble.com/products-and-solutions/trimble-inpho Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim, Eingetragen beim Amtsgericht Darmstadt unter HRB 83893, Geschäftsführer: Rob Reeder, Jürgen Kesper
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest