<?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[What is the reason behind below crash of QT application ?]]></title><description><![CDATA[<p dir="auto">i have run my qt application. after  running it for 15 hours it get crash with below gdb log :</p>
<pre><code>ChargePercent: 100
                                        BattState: 4
                                                    MinutesLeft: 0

                                                                  Thread 1 "QTApp" received signal SIGSEGV, Segmentation fault.
StatusController::slotPollingRequested (this=0x555555ea8440) at ../../QTAppDir/QTAppDirComponents/controllers/statuscontroller.cpp:781
781	../../QTAppDir/QTAppDirComponents/controllers/statuscontroller.cpp: No such file or directory.
(gdb) bt
#0  StatusController::slotPollingRequested (this=0x555555ea8440)
at ../../QTAppDir/QTAppDirComponents/controllers/statuscontroller.cpp:781
#1  0x0000555555665b25 in QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;&gt;, QtPrivate::List&lt;&gt;, void, bool (StatusController::*)()&gt;::call(bool (StatusController::*)(), StatusController*, void**) (
f=(bool (StatusController::*)(StatusController * const)) 0x55555563f964 &lt;StatusController::slotPollingRequested()&gt;, o=0x555555ea8440, arg=0x7fffffffd5a0)
at /home/user/Qt5.15.8/5.15.8/gcc_64/include/QtCore/qobjectdefs_impl.h:152
#2  0x0000555555665692 in QtPrivate::FunctionPointer&lt;bool (StatusController::*)()&gt;::call&lt;QtPrivate::List&lt;&gt;, void&gt;(bool (StatusController::*)(), StatusController*, void**) (
f=(bool (StatusController::*)(StatusController * const)) 0x55555563f964 &lt;StatusController::slotPollingRequested()&gt;, o=0x555555ea8440, arg=0x7fffffffd5a0)
at /home/user/Qt5.15.8/5.15.8/gcc_64/include/QtCore/qobjectdefs_impl.h:185
#3  0x0000555555664b5a in QtPrivate::QSlotObject&lt;bool (StatusController::*)(), QtPrivate::List&lt;&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x555555fe5620, r=0x555555ea8440, a=0x7fffffffd5a0, 
ret=0x0)
at /home/user/Qt5.15.8/5.15.8/gcc_64/include/QtCore/qobjectdefs_impl.h:418
#4  0x00007ffff42d7860 in void doActivate&lt;false&gt;(QObject*, int, void**) ()
--Type &lt;RET&gt; for more, q to quit, c to continue without paging-
</code></pre>
<p dir="auto">can any body tell me what is the reson behind it ?</p>
<p dir="auto">i have found that it uses below memory after 15 hour</p>
<pre><code>top - 17:09:18 up 14:20,  1 user,  load average: 0.27, 0.13, 0.04
Tasks: 218 total,   2 running, 215 sleeping,   1 stopped,   0 zombie
%Cpu(s): 10.7 us,  4.5 sy,  0.0 ni, 83.1 id,  1.7 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3767.4 total,    124.6 free,   1924.4 used,   1718.4 buff/cache
MiB Swap:   3120.0 total,   3119.5 free,      0.5 used.   1329.3 avail Mem
</code></pre>
<p dir="auto">i am storing graph data continuously into ram because i have to show it live on qt application.</p>
]]></description><link>https://forum.qt.io/topic/144226/what-is-the-reason-behind-below-crash-of-qt-application</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 09:51:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/144226.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Apr 2023 16:52:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What is the reason behind below crash of QT application ? on Fri, 07 Apr 2023 17:35:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qt-embedded-developer">@<bdi>Qt-embedded-developer</bdi></a> said in <a href="/post/754021">What is the reason behind below crash of QT application ?</a>:</p>
<blockquote>
<p dir="auto">how to use downsampling into  qcustomplot  to reduce the datapoints ?</p>
</blockquote>
<p dir="auto">It's not a Qt thing. It's mathematical (data science/signal processing).<br />
There are many algorithms/approaches possible.</p>
<blockquote>
<p dir="auto">But from its crash strace i don't know which is the technical reson of crash of it ?</p>
</blockquote>
<p dir="auto">The technical reason is <code>"QTApp" received signal SIGSEGV, Segmentation fault.</code><br />
Why it happens, we can't tell.</p>
]]></description><link>https://forum.qt.io/post/754026</link><guid isPermaLink="true">https://forum.qt.io/post/754026</guid><dc:creator><![CDATA[Pl45m4]]></dc:creator><pubDate>Fri, 07 Apr 2023 17:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to What is the reason behind below crash of QT application ? on Fri, 07 Apr 2023 17:26:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pl45m4">@<bdi>Pl45m4</bdi></a></p>
<p dir="auto">how to use downsampling into  qcustomplot  to reduce the datapoints ?</p>
<p dir="auto">Dear to figure out crash i have started qt app with gdb.</p>
<p dir="auto">But from its crash strace i don't know which is the technical reson of crash of it ?</p>
<p dir="auto">my app is crash with random reason so i want know what mistake i done ?</p>
]]></description><link>https://forum.qt.io/post/754021</link><guid isPermaLink="true">https://forum.qt.io/post/754021</guid><dc:creator><![CDATA[Qt embedded developer]]></dc:creator><pubDate>Fri, 07 Apr 2023 17:26:02 GMT</pubDate></item><item><title><![CDATA[Reply to What is the reason behind below crash of QT application ? on Fri, 07 Apr 2023 17:13:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qt-embedded-developer">@<bdi>Qt-embedded-developer</bdi></a> said in <a href="/post/754015">What is the reason behind below crash of QT application ?</a>:</p>
<blockquote>
<p dir="auto">Thread 1 "QTApp" received signal SIGSEGV, Segmentation fault.</p>
</blockquote>
<p dir="auto">The reason :)</p>
<p dir="auto">Debug your application to see where it stops.</p>
<blockquote>
<p dir="auto">i am storing graph data continuously into ram because i have to show it live on qt application.</p>
</blockquote>
<p dir="auto">But there is no point to store all 15h of data at any time in your graph. Work with models and only show the visible area of your graph. Use downsampling to reduce the datapoints, when you show the whole timespan.</p>
]]></description><link>https://forum.qt.io/post/754019</link><guid isPermaLink="true">https://forum.qt.io/post/754019</guid><dc:creator><![CDATA[Pl45m4]]></dc:creator><pubDate>Fri, 07 Apr 2023 17:13:33 GMT</pubDate></item></channel></rss>