<?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[Gdb crashes before reaching main QT 5.1&#x2F;Creator 2.7.0]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">after several hours of frustration because of a wired behaviour of gdb I hope some one here can give me a hint.</p>
<p dir="auto">System: Win xp with latest service packs and updates installed.<br />
QT: 5.1 Creator 2.7.2 MingW 4.8<br />
Location: C:\Qt\Qt5.1.0</p>
<p dir="auto">setting up a new project -&gt; Applications -&gt;QT gui Application</p>
<p dir="auto">with designer adding Pushbutton to mainwindow and adding a slot to MainWindow.cpp</p>
<p dir="auto">compiling Debug version<br />
try to debug</p>
<p dir="auto">getting a SIGSEGV in ntdll!RtlpWaitForCriticalSection before the programm reaches Main.</p>
<p dir="auto">The wired thing is if I copy all needed dll to the build directory the programm runs as expected<br />
Also if I compile the release version it starts and run as expected.</p>
<p dir="auto">I have removed the installation and reinstall<br />
(Qt Online Installer for Windows 32-bit (13 MB)<br />
and after this does not work I tried<br />
Qt 5.1.0 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB)<br />
after removing the first one</p>
<p dir="auto">I searched the net but no usable hint for my problem</p>
<p dir="auto">I Hope someone here can help me.</p>
<p dir="auto">Best regards<br />
dexli</p>
]]></description><link>https://forum.qt.io/topic/29645/gdb-crashes-before-reaching-main-qt-5-1-creator-2-7-0</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Apr 2026 20:13:16 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/29645.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jul 2013 16:18:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Gdb crashes before reaching main QT 5.1&#x2F;Creator 2.7.0 on Tue, 08 Oct 2013 21:27:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jksh">@<bdi>JKSH</bdi></a><br />
Thanks, I think this was the problem.</p>
]]></description><link>https://forum.qt.io/post/198311</link><guid isPermaLink="true">https://forum.qt.io/post/198311</guid><dc:creator><![CDATA[dexli]]></dc:creator><pubDate>Tue, 08 Oct 2013 21:27:50 GMT</pubDate></item><item><title><![CDATA[Reply to Gdb crashes before reaching main QT 5.1&#x2F;Creator 2.7.0 on Fri, 04 Oct 2013 01:54:26 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="dexli" date="1374250685"]getting a SIGSEGV in ntdll!RtlpWaitForCriticalSection before the programm reaches Main.</p>
<p dir="auto">The wired thing is if I copy all needed dll to the build directory the programm runs as expected[/quote]Strange crashes can happen if your system loads the wrong version of DLLs.</p>
<p dir="auto">Do you have other versions of MinGW or Qt in your PATH? If so, remove them from your PATH.</p>
]]></description><link>https://forum.qt.io/post/197727</link><guid isPermaLink="true">https://forum.qt.io/post/197727</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Fri, 04 Oct 2013 01:54:26 GMT</pubDate></item><item><title><![CDATA[Reply to Gdb crashes before reaching main QT 5.1&#x2F;Creator 2.7.0 on Fri, 04 Oct 2013 01:36:10 GMT]]></title><description><![CDATA[<p dir="auto">Looks more like an issue related to GDB 7.5.1 on Windows XP, not related to Qt or Qt Creator.</p>
]]></description><link>https://forum.qt.io/post/197725</link><guid isPermaLink="true">https://forum.qt.io/post/197725</guid><dc:creator><![CDATA[andrep]]></dc:creator><pubDate>Fri, 04 Oct 2013 01:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to Gdb crashes before reaching main QT 5.1&#x2F;Creator 2.7.0 on Thu, 19 Sep 2013 14:47:22 GMT]]></title><description><![CDATA[<p dir="auto">+1<br />
Qt Creator 2.7.2 / Qt 5.1.0 (Win32) / MinGW 4.8</p>
<p dir="auto">Source code:</p>
<h1>#include &lt;QCoreApplication&gt;</h1>
<p dir="auto">int main(int argc, char *argv[])<br />
{<br />
QCoreApplication a(argc, argv);<br />
return a.exec();<br />
}</p>
<p dir="auto">No errors, no warnings.<br />
Then I try to debug bug.exe :<br />
*D:\pjx\Qt\build-bug-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug&gt;gdb.exe bug.exe<br />
GNU gdb (GDB) 7.5.1<br />
Copyright (C) 2012 Free Software Foundation, Inc.<br />
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://gnu.org/licenses/gpl.html</a><br />
This is free software: you are free to change and redistribute it.<br />
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br />
and "show warranty" for details.<br />
This GDB was configured as "i686-w64-mingw32".<br />
For bug reporting instructions, please see:<br />
<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.gnu.org/software/gdb/bugs/</a>...<br />
Reading symbols from D:\pjx\Qt\build-bug-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debu<br />
g\bug.exe...done.<br />
(gdb) run<br />
Starting program: D:\pjx\Qt\build-bug-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\b<br />
ug.exe<br />
[New Thread 2696.0xaa4]</p>
<p dir="auto">Program received signal SIGSEGV, Segmentation fault.<br />
0x7c91ac4a in ntdll!RtlpWaitForCriticalSection ()<br />
from C:\WINDOWS\system32\ntdll.dll<br />
(gdb)<br />
*<br />
Where is my mistake?</p>
]]></description><link>https://forum.qt.io/post/195940</link><guid isPermaLink="true">https://forum.qt.io/post/195940</guid><dc:creator><![CDATA[PinkPanther]]></dc:creator><pubDate>Thu, 19 Sep 2013 14:47:22 GMT</pubDate></item></channel></rss>