<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><p style="margin: 5px 0px; font-size: 12px; font-family: 'Lucida Grande'; ">Package: x2goclient </p><p style="margin: 5px 0px; font-size: 12px; font-family: 'Lucida Grande'; ">Version: 4.0.1.0 </p></div><div><br></div><div>Note: I'm running a debug build from 4.0.1.0 sources, linked against Qt debug libs.</div><div><br></div><div>When shutting down a connection (e.g. by closing the x2goclient window), the debug build of Qt gives two diagnostics when two SshMasterConnection objects are destructed:</div><div><br></div><div><div>ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 27050c0. Receiver '' (of type 'SshMasterConnection') was created in thread 5d7500", file kernel\qcoreapplication.cpp, line 532</div><div>ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 27050c0. Receiver '' (of type 'SshMasterConnection') was created in thread 5d7500", file kernel\qcoreapplication.cpp, line 532</div><div><br></div><div>Thread 5d7500 is the main thread.</div><div><br></div><div>Ignoring the assert messagebox sometimes results in a GP fault. Most of the time the app exits cleanly. I'm not getting the fault at the moment, so I don't have a callstack for you.</div><div><br></div><div>The callstack from the diagnostic is as follows:</div><div><br></div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!qt_message_output</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!qt_message</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!qFatal</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!qt_assert_x</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QCoreApplicationPrivate::checkReceiverThread</div><div> <span class="Apple-tab-span" style="white-space: pre; "> </span>QtGuid4.dll!QApplication::notify Line 3845<span class="Apple-tab-span" style="white-space: pre; "> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QCoreApplication::notifyInternal Line 946 + 0x15 bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QCoreApplication::sendEvent Line 231 + 0x39 bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QObjectPrivate::setParent_helper Line 1933 + 0x10 bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QObject::~QObject() Line 939<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QThread::~QThread() Line 455 + 0xf bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div>><span class="Apple-tab-span" style="white-space:pre"> </span>x2goclient.exe!SshMasterConnection::~SshMasterConnection() Line 552 + 0x171 bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>x2goclient.exe!SshMasterConnection::`scalar deleting destructor'() + 0xf bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>x2goclient.exe!SshMasterConnection::channelLoop() Line 1004 + 0x47 bytes<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span> for ( int i=reverseTunnelConnections.size()-1; i>=0; --i)</div><div> {</div><div> *** delete reverseTunnelConnections[i];</div><div> }</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>x2goclient.exe!SshMasterConnection::run() Line 526<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>QtCored4.dll!QThreadPrivate::start(void * arg=0x01164d08) Line 348<span class="Apple-tab-span" style="white-space:pre"> </span>C++</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>msvcr100d.dll!__beginthreadex() + 0x243 bytes<span class="Apple-tab-span" style="white-space:pre"> </span></div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>msvcr100d.dll!__beginthreadex() + 0x1d4 bytes<span class="Apple-tab-span" style="white-space:pre"> </span></div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes<span class="Apple-tab-span" style="white-space:pre"> </span></div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes<span class="Apple-tab-span" style="white-space:pre"> </span></div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes<span class="Apple-tab-span" style="white-space:pre"> </span></div><div><br></div></div><div><br></div><div>Thank you,</div><div>Gary Kratkin</div><div><br></div></body></html>