Thread related crash on failed dive computer download

Jan Mulder jlmulder at xs4all.nl
Tue Oct 31 04:43:47 PDT 2017


On 31-10-17 12:05, Jan Mulder wrote:

> But Dirk has to worry, as it suspiciously close to the new error 
> handling code that has just landed in master.

for Dirk:

from Qt 5.9.2 from build from source with debug:

failed to connect to the controller  00:80:25:4A:0F:C2 with error ""
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QLabel(0x5555562909c0), parent's thread is 
QThread(0x555555ea2cc0), current thread is DownloadThread(0x7fffffffcbc0)
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to 
objects owned by a different thread. Current thread 0x0x7fffffffcbc0. 
Receiver '' (of type 'QToolButton') was created in thread 
0x0x555555ea2cc0", file kernel/qcoreapplication.cpp, line 563

Sounds like a fundamental problem, with the new way of error reporting 
... but not sure ...

As compiled with debug it trips on the assert here.

--jan




More information about the subsurface mailing list