<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[qapplication hang]]></title><description><![CDATA[<p dir="auto">i develop a qt application, but it hang at one computer.</p>
<pre><code>int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    teststucks w;
    w.show();
    return a.exec();
}

</code></pre>
<p dir="auto">i create a dump and debug, the stack is like this:<br />
![alt text](<img src="https://ddgobkiprc33d.cloudfront.net/b70d7d3c-5feb-4fc6-8439-6d15c2269261.jpg" alt="9765be8c-42b0-48d7-906f-3ccb4bee18c8-Dingtalk_20220920144413.jpg" class=" img-fluid img-markdown" /> image url)</p>
]]></description><link>https://forum.qt.io/topic/139439/qapplication-hang</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 15:38:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139439.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Sep 2022 06:45:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qapplication hang on Wed, 21 Sep 2022 15:19:12 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://forum.qt.io/topic/125753/faulting-module-path-c-windows-system32-ntdll-dll/2">https://forum.qt.io/topic/125753/faulting-module-path-c-windows-system32-ntdll-dll/2</a><br />
<a href="https://bugreports.qt.io/browse/QTBUG-67969" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-67969</a><br />
<a href="https://stackoverflow.com/questions/25231873/release-does-not-run-this-application-failed-to-start" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/25231873/release-does-not-run-this-application-failed-to-start</a><br />
it could be ntdll.dll related bug.</p>
]]></description><link>https://forum.qt.io/post/729658</link><guid isPermaLink="true">https://forum.qt.io/post/729658</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Wed, 21 Sep 2022 15:19:12 GMT</pubDate></item><item><title><![CDATA[Reply to qapplication hang on Tue, 20 Sep 2022 08:35:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yanghang">@<bdi>yanghang</bdi></a><br />
I think you have some unknown "nasty behaviour" on that computer!  While it ought not "hang", I would be concerned that the stack trace shows <em>something</em> is trying to do a <code>QMessageLogger::warning()</code>.  It would be nice to see what that message is.  I don't know whether if you installed your own <a href="https://doc.qt.io/qt-5/qtglobal.html#qInstallMessageHandler" target="_blank" rel="noopener noreferrer nofollow ugc">qInstallMessageHandler()</a> first thing that would get called before the <code>QMessageLogger::warning()</code> causes hang.</p>
]]></description><link>https://forum.qt.io/post/729424</link><guid isPermaLink="true">https://forum.qt.io/post/729424</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:35:58 GMT</pubDate></item></channel></rss>